Dbtc

Latest version: v0.11.5

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

Scan your dependencies

Page 2 of 6

0.10.0

Added

- Semantic layer client. This can be accessed with the `sl` property on the `dbtCloudClient` class (e.g. `client.sl.query`)

0.9.0

Removed

- All of the methods in the `_MetadataClient` except for `query`. The Discovery API no longer allows a user to specify every single field recursively, which is what the `sgqlc` package would do.

Added

- An optional keyword argument `use_beta_endpoint` to the `dbtCloudClient` class. This will default to `True`, which means that the Discovery API will use the beta endpoint at https://metadata.<host>/beta/graphql instead of https://metadata.<host>/graphql. This contains both the stable API resources (environment, models, tests, etc.) but also contains things for performance, recommendations, and lineage.
- Ability to automatically paginate requests for the Discovery API. If pagination is required/desired, ensure that your query is properly created with an `$after` variable and all of the fields within the `pageInfo` field.

Updated

- Loosen restrictions on Pydantic - ">=2.0,<3.0"

0.8.0

Added

- `retries` argument to the `trigger_job` method. This will allow you to retry a job `retries` amount of times until completion, which is defined as `success` or `cancelled`.

Updated

- `trigger_job_from_failure` method to point at the new `rerun` endpoint. Logic is no longer necessary internally.

0.7.0

Added

- `output` flag can now be used to pipe output into files instead of stdout

Removed

- The `-o` flag is no longer used for order-by when using that argument via the CLI; it is now used as an alternative for output (`--output` or `-o`)

0.6.0

Updated

- Typer version to `0.9.0`

0.5.3

- Remove read-only field `job_type` from job payload before cloning job

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.