globus-sdk-python
globus-sdk-python copied to clipboard
Introduce GCS `ConnectorTable` as mapping-like
The ConnectorTable
supports the following:
- class attribute access:
ConnectorTable.POSIX
- classmethod lookup by name:
ConnectorTable.lookup("posix")
- classmethod lookup by ID:
ConnectorTable.lookup_by_id("...")
- classmethod iteration:
ConnectorTable.all_connectors()
The name-based lookups are normalized per some basic rules to make most intelligible strings match.
Autodoc is extended to cover the new ConnectorTable
as well as the
dataclass, GlobusConnectServerConnector
, which it uses to represent
connector information.
📚 Documentation preview 📚: https://globus-sdk-python--955.org.readthedocs.build/en/955/