Skip to content

Latest commit

 

History

History
57 lines (48 loc) · 4.32 KB

DAG.md

File metadata and controls

57 lines (48 loc) · 4.32 KB

DAG

DAG

Properties

Name Type Description Notes
dag_id str The ID of the DAG. [optional] [readonly]
dag_display_name str Human centric display text for the DAG. New in version 2.9.0 [optional] [readonly]
root_dag_id str If the DAG is SubDAG then it is the top level DAG identifier. Otherwise, null. [optional] [readonly]
is_paused bool Whether the DAG is paused. [optional]
is_active bool Whether the DAG is currently seen by the scheduler(s). New in version 2.1.1 Changed in version 2.2.0: Field is read-only. [optional] [readonly]
is_subdag bool Whether the DAG is SubDAG. [optional] [readonly]
last_parsed_time datetime The last time the DAG was parsed. New in version 2.3.0 [optional] [readonly]
last_pickled datetime The last time the DAG was pickled. New in version 2.3.0 [optional] [readonly]
last_expired datetime Time when the DAG last received a refresh signal (e.g. the DAG's "refresh" button was clicked in the web UI) New in version 2.3.0 [optional] [readonly]
scheduler_lock bool Whether (one of) the scheduler is scheduling this DAG at the moment New in version 2.3.0 [optional] [readonly]
pickle_id str Foreign key to the latest pickle_id New in version 2.3.0 [optional] [readonly]
default_view str Default view of the DAG inside the webserver New in version 2.3.0 [optional] [readonly]
fileloc str The absolute path to the file. [optional] [readonly]
file_token str The key containing the encrypted path to the file. Encryption and decryption take place only on the server. This prevents the client from reading an non-DAG file. This also ensures API extensibility, because the format of encrypted data may change. [optional] [readonly]
owners List[str] [optional] [readonly]
description str User-provided DAG description, which can consist of several sentences or paragraphs that describe DAG contents. [optional] [readonly]
schedule_interval ScheduleInterval [optional]
timetable_description str Timetable/Schedule Interval description. New in version 2.3.0 [optional] [readonly]
tags List[Tag] List of tags. [optional] [readonly]
max_active_tasks int Maximum number of active tasks that can be run on the DAG New in version 2.3.0 [optional] [readonly]
max_active_runs int Maximum number of active DAG runs for the DAG New in version 2.3.0 [optional] [readonly]
has_task_concurrency_limits bool Whether the DAG has task concurrency limits New in version 2.3.0 [optional] [readonly]
has_import_errors bool Whether the DAG has import errors New in version 2.3.0 [optional] [readonly]
next_dagrun datetime The logical date of the next dag run. New in version 2.3.0 [optional] [readonly]
next_dagrun_data_interval_start datetime The start of the interval of the next dag run. New in version 2.3.0 [optional] [readonly]
next_dagrun_data_interval_end datetime The end of the interval of the next dag run. New in version 2.3.0 [optional] [readonly]
next_dagrun_create_after datetime Earliest time at which this ``next_dagrun`` can be created. New in version 2.3.0 [optional] [readonly]
max_consecutive_failed_dag_runs int (experimental) The maximum number of consecutive DAG failures before DAG is automatically paused. New in version 2.9.0 [optional] [readonly]

Example

from titanium_airflow_client.models.dag import DAG

# TODO update the JSON string below
json = "{}"
# create an instance of DAG from a JSON string
dag_instance = DAG.from_json(json)
# print the JSON string representation of the object
print(DAG.to_json())

# convert the object into a dict
dag_dict = dag_instance.to_dict()
# create an instance of DAG from a dict
dag_from_dict = DAG.from_dict(dag_dict)

[Back to Model list] [Back to API list] [Back to README]