v3.23.0
Added
-
Add
AuthClient
methods to support the Projects APIs for listing, creating, updating, and deleting projects. -
globus_sdk._testing
now exposes a method,construct_error
which makes it simpler to explicitly construct and return a Globus SDK error object for testing. This is used in the SDK's own testsuite and is available for_testing
users. (#770) -
AuthClient.oauth2_get_authorize_url
now supports the following parameters for session management:session_required_identities
,session_required_single_domain
, andsession_required_policies
. Each of these accept list inputs, as returned byErrorInfo.authorization_parameters
. (#773)
Changed
-
AuthClient
,NativeAppAuthClient
, andConfidentialAppAuthClient
have had their init signatures updated to explicitly list available parameters. (#764)-
Type annotations for these classes are now more accurate
-
The
NativeAppAuthClient
andConfidentialAppAuthClient
classes do not acceptauthorizer
in their init signatures. Previously this was accepted but raised aGlobusSDKUsageError
. Attempting to pass anauthorizer
will now result in aTypeError
.
-
session_required_policies
parsing inAuthorizationParameterInfo
now supports the policies being returned as alist[str]
in addition to supportingstr
(#769)
Fixed
-
AuthorizationParameterInfo
is now more type-safe, and will not return parsed data from a response without checking that the data has correct types (#769) -
Adjust the
FlowsClient.get_run()
include_flow_description
parameter so it is submitted only when it has a value. (#778)
Documentation
- The
_testing
documentation has been expanded with a dropdown view of the response contents for each method. In support of this, client method testing docs have been reorganized into a page per service. (#767)