diff --git a/changelog.d/20251219_112556_kurtmckee_tunnel_type_annotations.rst b/changelog.d/20251219_112556_kurtmckee_tunnel_type_annotations.rst new file mode 100644 index 000000000..b706d97ce --- /dev/null +++ b/changelog.d/20251219_112556_kurtmckee_tunnel_type_annotations.rst @@ -0,0 +1,4 @@ +Development +----------- + +- Update the Streams-related type annotations to accept UUIDs. (:pr:`NUMBER`) diff --git a/src/globus_sdk/services/transfer/client.py b/src/globus_sdk/services/transfer/client.py index 1de209b78..92194678d 100644 --- a/src/globus_sdk/services/transfer/client.py +++ b/src/globus_sdk/services/transfer/client.py @@ -2746,7 +2746,7 @@ def create_tunnel( def update_tunnel( self, - tunnel_id: str, + tunnel_id: str | uuid.UUID, update_doc: dict[str, t.Any], ) -> response.GlobusHTTPResponse: r""" @@ -2778,7 +2778,7 @@ def update_tunnel( def get_tunnel( self, - tunnel_id: str, + tunnel_id: str | uuid.UUID, *, query_params: dict[str, t.Any] | None = None, ) -> response.GlobusHTTPResponse: @@ -2807,7 +2807,7 @@ def get_tunnel( def delete_tunnel( self, - tunnel_id: str, + tunnel_id: str | uuid.UUID, ) -> response.GlobusHTTPResponse: """ :param tunnel_id: The ID of the Tunnel to be deleted. @@ -2862,7 +2862,7 @@ def list_tunnels( def get_stream_access_point( self, - stream_ap_id: str, + stream_ap_id: str | uuid.UUID, *, query_params: dict[str, t.Any] | None = None, ) -> response.GlobusHTTPResponse: