Globus-sdk

Latest version: v3.41.0

Safety actively analyzes 629788 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 15

3.14.0

--------------------

Python Support
~~~~~~~~~~~~~~

* Python 3.11 is now officially supported (:pr:`628`)

Added
~~~~~

* Add support for ``FlowsClient.get_flow`` and ``FlowsClient.delete_flow``
(:pr:`631`, :pr:`626`)

* Add a ``close()`` method to ``SQLiteAdapter`` which closes the underlying
connection (:pr:`628`)

.. _changelog-3.13.0:

3.13.0

--------------------

Added
~~~~~

* Add ``connect_params`` to ``SQLiteAdapter``, enabling customization of the
sqlite connection (:pr:`613`)

* Add ``FlowsClient.create_flow(...)`` (:pr:`614`)

* Add ``globus_sdk.SpecificFlowClient`` to manage interactions performed against
a specific flow (:pr:`616`)

* Add support to ``FlowsClient.list_flows`` for pagination and the ``orderby``
parameter (:pr:`621`, :pr:`622`)

Documentation
~~~~~~~~~~~~~

* Fix rst formatting for a few nested bullet points in existing changelog (:pr:`619`)

.. _changelog-3.12.0:

3.12.0

--------------------

Added
~~~~~

* Add Mapped Collection policy helper types for constructing ``policies`` data. (:pr:`607`)
The following new types are introduced:

* ``CollectionPolicies`` (the base class for these types)
* ``POSIXCollectionPolicies``
* ``POSIXStagingCollectionPolicies``
* ``GoogleCloudStorageCollectionPolicies``

Fixed
~~~~~

* Fix bug where ``UserCredential`` policies were being converted to a string (:pr:`608`)

* Corrected the Flows service ``resource_server`` string to ``flows.globus.org`` (:pr:`612`)

.. _changelog-3.11.0:

3.11.0

--------------------

Added
~~~~~

* Implement ``__dir__`` for the lazy importer in ``globus_sdk``. This
enables tab completion in the interpreter and other features with
rely upon ``dir(globus_sdk)`` (:pr:`603`)

* Add an initial Globus Flows client class, ``globus_sdk.FlowsClient`` (:pr:`604`)

* ``globus_sdk.FlowsAPIError`` is the error class for this client
* ``FlowsClient.list_flows`` is implemented as a method for listing deployed
flows, with some of the filtering parameters of this API supported as
keyword arguments
* The scopes for the Globus Flows API can be accessed via
``globus_sdk.scopes.FlowsScopes`` or ``globus_sdk.FlowsClient.scopes``

Changed
~~~~~~~

* Adjust behaviors of ``TransferData`` and ``TimerJob`` to make
``TimerJob.from_transfer_data`` work and to defer requesting the
``submission_id`` until the task submission call (:pr:`602`)

* ``TransferData`` avoids passing ``null`` for several values when they are
omitted, ranging from optional parameters to ``add_item`` to
``skip_activation_check``

* ``TransferData`` and ``DeleteData`` now support usage in which the
``transfer_client`` parameters is ``None``. In these cases, if
``submission_id`` is omitted, it will be omitted from the document,
allowing the creation of a partial task submsision document with no
``submission_id``

* ``TimerJob.from_transfer_data`` will now raise a ``ValueError`` if the input
document contains ``submission_id`` or ``skip_activation_check``

* ``TransferClient.submit_transfer`` and ``TransferClient.submit_delete`` now
check to see if the data being sent contains a ``submission_id``. If it does
not, ``get_submission_id`` is called automatically and set as the
``submission_id`` on the payload. The new ``submission_id`` is set on the
object passed to these methods, meaning that these methods are now
side-effecting.

The newly recommended usage for ``TransferData`` and ``DeleteData`` is to pass
the endpoints as named parameters:

.. code-block:: python

-- for TransferData --
old usage
transfer_client = TransferClient()
transfer_data = TransferData(transfer_client, ep1, ep2)
new (recommended) usage
transfer_data = TransferData(source_endpoint=ep1, destination_endpoint=ep2)

-- for DeleteData --
old usage
transfer_client = TransferClient()
delete_data = TransferData(transfer_client, ep)
new (recommended) usage
delete_data = DeleteData(endpoint=ep)

.. _changelog-3.10.1:

3.10.1

--------------------

Changed
~~~~~~~

* Use ``setattr`` in the lazy-importer. This makes attribute access after
imports faster by several orders of magnitude. (:pr:`591`)

Documentation
~~~~~~~~~~~~~

* Add guest collection example script to docs (:pr:`590`)

.. _changelog-3.10.0:

3.10.0

--------------------

Removed
~~~~~~~

* Remove nonexistent ``monitor_ongoing`` scope from ``TransferScopes`` (:pr:`583`)

Added
~~~~~

* Add User Credential methods to ``GCSClient`` (:pr:`582`)

* ``get_user_credential_list``
* ``get_user_credential``
* ``create_user_credential``
* ``update_user_credential``
* ``delete_user_credential``

* Add ``connector_id_to_name`` helper to ``GCSClient`` to resolve GCS Connector
UUIDs to human readable Connector display names (:pr:`582`)

.. _changelog-3.9.0:

Page 6 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.