globus-sdk-python
globus-sdk-python copied to clipboard
Add ConnectorTable.extend() method
This method allows ConnectorTable consumers to extend the class with an additional connector (or, if they chain calls, multiple connectors). The new connector is written into the new subclass as a part of its _connectors tuple and as an attribute.
The base ConnectorTable class is left unmodified, meaning that callers who extend the table cannot conflict.
This draft PR is opened for discussion. The main target use-case in question is the GCS CLI.
📚 Documentation preview 📚: https://globus-sdk-python--1021.org.readthedocs.build/en/1021/