Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce GCS ConnectorTable as mapping-like #955

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sirosen
Copy link
Member

@sirosen sirosen commented Feb 23, 2024

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/

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant