Gapipy

Latest version: v2.36.0

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

Scan your dependencies

Page 4 of 27

2.25.0

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

* Failing to fetch inlined Resource (from Stubs) will raise the underlying
requests.HTTPError instead of AttributeError resulting from a ``None``.
* Adds ``httperrors_mapped_to_none`` kwarg to ``gapipy.query.Query.get``
with default value ``gapipy.query.HTTPERRORS_MAPPED_TO_NONE``
* Modifies ``gapipy.resources.base.Resource.fetch`` to
pass ``httperrors_mapped_to_none=None`` to ``Query.get``
* This ensures that any underlying ``requests.HTTPError`` from ``Query.get``
is bubbled up to the caller. It is most prevalent when reference Resource stubs
fail to be retrieved from the G API. Prior to this change ``Resource.fetch``
would return a ``None`` value resulting in an ``AttributeError``. Now, if the
stub fails to fetch due to an HTTPError, that will be raised instead

2.24.3

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

* Exclude the ``tests`` package from the package distribution

2.24.2

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

* Adds the ``compute_request_signature`` and ``compute_webhook_validation_key``
utility methods. See `PR 122`_.

.. _`PR 122`: https://github.com/gadventures/gapipy/pull/122

2.24.1

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

* Add ``slug`` field to ``TourDossier`` resource. See `PR 120`_.

.. _`PR 120`: https://github.com/gadventures/gapipy/pull/120

2.24.0

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

* Add missing/new fields to the following resources. See `PR 117`_.

* AccommodationDossier: ``categories``, ``suggested_dossiers``, ``visited_countries``, ``visited_cities``
* ActivityDossier: ``suggested_dossiers``, ``visited_countries``, ``visited_cities``
* Departure: ``local_payments``
* Itinerary: ``publish_state``

* Add ``continent`` and ``place`` references to the ``Countries`` resource. See
`PR 115`_.
* Accept ``additional_headers`` optional kwarg on ``create``. See `PR 114`_.

.. _`PR 114`: https://github.com/gadventures/gapipy/pull/114
.. _`PR 115`: https://github.com/gadventures/gapipy/pull/115
.. _`PR 117`: https://github.com/gadventures/gapipy/pull/117

2.23.0

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

* Remove deprecated ``tour_dossiers.itineraries`` field and related code

Page 4 of 27

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.