Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Removed
-------

- Removed ``TransferClient.operation_symlink``. This method was deprecated in
``globus-sdk`` version 3. (:pr:`NUMBER`)
38 changes: 0 additions & 38 deletions src/globus_sdk/services/transfer/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1336,44 +1336,6 @@ def operation_stat(
f"/v0.10/operation/endpoint/{endpoint_id}/stat", query_params=query_params
)

def operation_symlink(
self,
endpoint_id: uuid.UUID | str,
symlink_target: str,
path: str,
*,
query_params: dict[str, t.Any] | None = None,
) -> response.GlobusHTTPResponse:
"""
:param endpoint_id: The ID of the endpoint on which to create a symlink
:param symlink_target: The path referenced by the new symlink
:param path: The name of (path to) the new symlink
:param query_params: Additional passthrough query parameters

.. warning::

This method is not currently supported by any collections.
""" # noqa: E501
exc.warn_deprecated(
"operation_symlink is not currently supported by any collections. "
"To reduce confusion, this method will be removed."
)
log.debug(
"TransferClient.operation_symlink({}, {}, {}, {})".format(
endpoint_id, symlink_target, path, query_params
)
)
data = {
"DATA_TYPE": "symlink",
"symlink_target": symlink_target,
"path": path,
}
return self.post(
f"/v0.10/operation/endpoint/{endpoint_id}/symlink",
data=data,
query_params=query_params,
)

#
# Task Submission
#
Expand Down
29 changes: 0 additions & 29 deletions tests/functional/services/transfer/test_operation_symlink.py

This file was deleted.

Loading