Backend Adapter

class connector.unit.backend_adapter.BackendAdapter(environment)[source]

Bases: connector.connector.ConnectorUnit

Base Backend Adapter for the connectors

class connector.unit.backend_adapter.CRUDAdapter(environment)[source]

Bases: connector.unit.backend_adapter.BackendAdapter

Base External Adapter specialized in the handling of records on external systems.

Subclasses can implement their own implementation for the methods.

create(*args, **kwargs)[source]

Create a record on the external system

delete(*args, **kwargs)[source]

Delete a record on the external system

read(*args, **kwargs)[source]

Returns the information of a record

search(*args, **kwargs)[source]

Search records according to some criterias and returns a list of ids

search_read(*args, **kwargs)[source]

Search records according to some criterias and returns their information

write(*args, **kwargs)[source]

Update records on the external system