Skip to content

Releases: dpguthrie/dbtc

v0.2.1

31 Aug 17:31
59b79b6
Compare
Choose a tag to compare

[0.2.1] - 2022-08-31

Fixed

  • Checking for an invalid result "skip" instead of "skipped" when identifying nodes that need to be reran.

v0.2.0

31 Aug 03:37
2c25adf
Compare
Choose a tag to compare

[0.2.0] - 2022-08-30

Added

  • The ability to restart a job from failure. The trigger_job method now accepts an argument restart_from_failure (default False) that will determine whether or not the last run attempt for a job was unsuccessful - in the event it was, it will parse the steps within that job and find the nodes that it needs to rerun as well as any steps that were skipped entirely.
  • Additional commands to the trigger_job method:
    • should_poll - Indicate whether or not the method should poll for completion (default True)
    • poll_interval - How long in between polling requests (default 10 seconds)
    • restart_from_failure - Described above
    • trigger_on_failure_only - Only relevant when setting restart_from_failure to True. This has the effect, when set to True, of only triggering the job when the prior invocation was not successful. Otherwise, the function will exit prior to triggering the job (default False)
  • Logging to stderr when using the trigger_job method (internally using the rich package that comes when installing Typer)
  • Multiple tests for the restart_from_failure functionality

Removed

  • The trigger_job_and_poll method within the cloud property of the dbtCloudClient class. The polling functionality is now rolled up into the single trigger_job method with the argument should_poll (default is True)

v0.1.4

11 Jul 21:47
a4aa136
Compare
Choose a tag to compare

Added

  • get_model_by_environment to the metadata property
  • meta field is now available when you query columns

v0.1.3

09 Jul 04:19
8cd49fe
Compare
Choose a tag to compare

[0.1.3] - 2022-07-08

Added

  • The metadata methods are now available via the CLI
  • A status arg can now be used in the list_runs method on the cloud property

v0.1.2

30 Jun 19:48
e66bdec
Compare
Choose a tag to compare

Fixed

  • The _dbt_cloud_request private method, which is used in the CLI, now only uses typer.echo to return data from a request.

Changed

  • The trigger_job_and_poll method now returns the Run, represented as a dict. It will no longer raise an exception if the result of the run is cancelled or error.

v0.1.1

16 May 21:27
2fed464
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.1.0...0.1.1

v0.1.0

13 May 21:13
b896d1d
Compare
Choose a tag to compare

Initial dbtc release

Functionality:

  • V2 API endpoints
  • Metadata API endpoints