Skip to content

Conversation

@sirosen
Copy link
Member

@sirosen sirosen commented Dec 3, 2025

Python Support

Added

  • GlobusApp and SDK client classes now support usage as context managers, and
    feature a new close() method to close internal resources.
    close() is automatically called on exit. (Support context manager usage of clients and apps to implicitly close token storage and transports #1326)

    • In support of this, token storages now all feature a close() method,
      which does nothing in the default implementation.
      Previously, only storages with underlying resources to manage featured a
      close() method.

    • GlobusApp will close any token storage via close() if the token storage
      was created by the app on init. Explicitly created storages will not be closed
      and must be explicitly closed via their close() method.

    • Any class inheriting from BaseClient features close(), which will
      close any transport object created during client construction.

    • Transports which are created explicitly will not be closed by their clients,
      and must be explicitly closed.

  • Add TimersClient.add_app_flow_user_scope for TimersClient
    instances which are integrated with GlobusApp. This method registers the
    specific flow user scope dependency needed for a flow timer. (Add a TimersClient app scope helper for specific flow user #1333)

  • Added automatic Globus Auth Requirements Error (GARE) redriving to GlobusApp
    (Auto-retry gares in a GlobusApp #1339).

    • More details available at :ref:globus_app_gare_integration
    • This feature is disabled by default but can be turned on by setting
      auto_retry_gares=True in a GlobusAppConfig.

Fixed

Development

  • Added a new make install recipe.

@sirosen sirosen merged commit 69a6d82 into globus:main Dec 3, 2025
7 checks passed
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.

2 participants