syncano.models.custom_sockets¶
- class CustomSocket(*args, **kwargs)[source]¶
Bases: syncano.models.custom_sockets_utils.EndpointMetadataMixin, syncano.models.custom_sockets_utils.DependencyMetadataMixin, syncano.models.archetypes.Model
OO wrapper around instance custom sockets. Look at the custom socket documentation for more details.
Variables: - name – StringField
- endpoints – JSONField
- dependencies – JSONField
- metadata – JSONField
- status – StringField
- status_info – StringField
- links – LinksField
- name = None¶
- description = None¶
- endpoints = None¶
- dependencies = None¶
- metadata = None¶
- config = None¶
- status = None¶
- status_info = None¶
- created_at = None¶
- updated_at = None¶
- links = None¶
- DoesNotExist¶
alias of CustomSocketDoesNotExist
- instance_name = None¶
- pk = None¶
- please¶
- class SocketEndpoint(**kwargs)[source]¶
Bases: syncano.models.archetypes.Model
OO wrapper around endpoints defined in CustomSocket instance. Look at the custom socket documentation for more details.
Variables: - name – StringField
- calls – JSONField
- links – LinksField
- name = None¶
- allowed_methods = None¶
- links = None¶
- DoesNotExist¶
alias of SocketEndpointDoesNotExist
- custom_socket_name = None¶
- instance_name = None¶
- pk = None¶
- please¶