Threedi-api-client

Latest version: v4.1.8

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

Scan your dependencies

Page 3 of 17

4.0.1

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

- Support personal api tokens authentication.

- Added OAuth2 token and OAuth2 token refresh capability (for both public
and private clients).

- Make server-side MD5 check optional to account for the fact that S3 presigned
urls cannot be used with custom headers (like Content-MD5) unless they are included
in the signing procedure.

- Allow usage of the API client without supplying a refresh token.

- Added automatic refresh for OAuth2 tokens obtained through the client credentials grant.

4.0.0

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

- First stable release with new `ThreediApi` client included

- Show warning when data fetched from API cannot be succesfully valided by the client-side validation.

4.0.0b4

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

- Renamed `simulation_templates` to `simulation-templates`

4.0.0b3

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

- Added Threedimodel `is_valid` field as alias for `inp_success`

- Added Simulation `threedicore_version` field and `cloned_from` field

- Added `status` endpoints and `version` endpoints

4.0.0b2

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

- Fix distribution.

4.0.0b1

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

- Added support for `periodic` (`daily` only for now) lateral file

- Support for 1D initial waterlevels from file.

- Show warnings in cases of unknown enum values instead of raising errors.

- Added callback support for async/sync download/upload functions

- Added structure controls file upload

- Added support for `THREEDI_API_ACCESS_TOKEN` and `THREEDI_API_REFRESH_TOKEN` configuration variables

- Added a new, versioned, API in threedi_api_client.openapi / threedi_api_client.api.openapi.
A warning will be emitted if the old one is used (openapi_client).

- The API version should now be omitted from the API_HOST setting (e.g.
https://api.3di.live instead of https://api.3di.live/v3.0). A warning will be emitted if
a version is included.

- Make V3AlphaApi a subclass of V3BetaApi, and V3BetaApi a superset of V3Api.

- Added a ``retries`` to the ``ThreediApi`` which enables setting a retry policy.
For the async client, ``aiohttp_retry`` is included.

- Changed the default ``timeout`` of asynchronous file down/upload from 5 minutes total to
only socket timeouts of 5 seconds. This allows upload of larger files.

- Changed the default socket read ``timeout`` of uploads from 5 seconds to 10 minutes
to accomodate large file uploads.

Page 3 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.