Appearance
module hub.connector_filter
class ConnectorFilter
A filter to target a particular instance of a Connector that is joined to Cegal Hub Server. If a target_connector_id is provided this ensures that a connector with given id will be addressed. Alternatively a dictionary of labels may be provided. This dictionary of strings are key - value pairs for labels that a Connector has. Any specified labels must be satisfied by the Connector for that Connector to be targeted. A target_connector_id is always used in preference to any labels that are defined.
method __init__
python
__init__(target_connector_id: str = None, labels_dict=None)Creates a ConnectionFilter from the given parameters
Args:
target_connector_id(str, optional): the unique guid representing a particular connector instance. Defaults to None.labels_dict([type], optional): key-value pairs for labels that must be satisfied to target a particular Connector instance. Defaults to None.
property labels
The current labels dictionary key values
Returns:
[type]: The current key-values labels dictionary
property labels_dict
The current labels dictionary key values
Returns:
[type]: The current key-values labels dictionary
property target_connector_id
Gets the target connector id that the ConnectorFilter will use to target a specific Connector instance
Returns:
[str]: The identifier representing the target connector for the ConnectorFilter
This file was automatically generated via lazydocs.