Skip to content

Releases: pipeline-tools/gusty

v0.8.0

19 Feb 22:48
8e4fe6f
Compare
Choose a tag to compare

external_dependencies blocks now accept dicts, where the keys are the external DAG names and the values are either:

  • tasks: A list of tasks out of which ExternalTaskSensors should be created
  • ExternalTaskSensor parameters, such as retries or execution_delta, so that users can override any wait_for_defaults set on the DAG-level.

external_dependencies dicts are available at the task, task group, and DAG level.

Additionally, a bug was fixed, so now multiple tasks from one external DAG can be listed in external_dependencies blocks. Note that list-style external_dependencies are permissible.

v0.7.2

02 Feb 21:33
Compare
Choose a tag to compare

Custom dag_constructors now supported on all file types.

v0.7.1

02 Feb 13:46
Compare
Choose a tag to compare

Supports passing a list of functions to the dag_constructors argument of create_dag.

v0.7.0

01 Feb 23:37
Compare
Choose a tag to compare

Adds support for custom YAML constructors in create_dag by passing a dict of constructor tags and functions (e.g. {"!custom_func": custom_func}) to the dag_constructors argument of create_dag.

Replaces GustyYAMLLoader class with generate_loader function.

v0.6.2

01 Feb 03:47
7a26257
Compare
Choose a tag to compare

Updated the GustyYAMLLoader

  • Uses SafeLoader
  • Updated and tested to work with all constructor functions (!days_ago, !timedelta, and !datetime)

v0.6.1

09 Dec 23:23
3e1202e
Compare
Choose a tag to compare

Added NonexistentDagDirError to give a clear error message when creating a DAG from a directory that does not exist.

sql and parse_hooks

12 May 23:33
baa43f2
Compare
Choose a tag to compare

gusty 0.6.0 brings two neat features to users:

  • .sql files are now supported by default, operating similarly to other file types supported by gusty.
  • A parse_hooks parameter is now available in create_dag which allows users to share their own file parsing functions for any file type.

See a .sql file in action at the gusty demo and take a look at gusty's default parsers to learn more about how to make your own.

parse_hooks accepts a dictionary similar to the one gusty uses for its default parsers, and accepts the overriding of these default parsers (e.g. .yml, .py).

Happy pipelining!

v0.5.5

26 Apr 19:59
e997153
Compare
Choose a tag to compare
  • python_callable available much more freely across any customer operator.
  • _gusty_parameters is available to override the inspecting of the __init__ signature of custom operators.

0.5.4

14 Apr 13:06
Compare
Choose a tag to compare

Fixed the nearly esoteric bug of - when a task group is generated as a task (e.g. a customer operator inherits the TaskGroup object, which creates a series of tasks, and is invoked in a .yml) - ensuring that root dependencies are set correctly in the event that the task group tasks only depends on other task group tasks / task groups.

0.5.3

14 Apr 03:02
Compare
Choose a tag to compare

Small bug fix - when considering tasks/task groups for setting root task dependencies, gusty now correctly omits task groups whose upstream dependencies are solely other task groups.