globus-sdk-python icon indicating copy to clipboard operation
globus-sdk-python copied to clipboard

Introduce GCS `ConnectorTable` as mapping-like

Open sirosen opened this issue 4 months ago • 0 comments

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/

sirosen avatar Feb 23 '24 22:02 sirosen