Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b478927 commit c27518eCopy full SHA for c27518e
composer/tools/composer_dags.py
@@ -58,11 +58,12 @@ def get_list_of_dags(
58
command_output_parsed.index("DAGS") + 2 : len(command_output_parsed) - 1
59
]
60
else:
61
+ # Collecting names of DAGs for output
62
list_of_dags = []
63
for line in command_output.split("\n"):
- if re.compile("[a-z_]+|[a-z]+|[a-z]+|[a-z_]+").findall(line):
64
+ if re.compile("^[a-zA-Z].*").findall(line):
65
list_of_dags.append(line.split()[0])
- return list_of_dags[1:-1]
66
+ return list_of_dags
67
68
@staticmethod
69
def _run_shell_command_locally_once(
0 commit comments