From 75b4a1c84cbb274e72f29b9a02fdfbbf519d0d40 Mon Sep 17 00:00:00 2001 From: Pedro Castro Date: Tue, 5 Nov 2024 17:24:01 -0300 Subject: [PATCH] inspect --- .github/workflows/scripts/register_flows.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/scripts/register_flows.py b/.github/workflows/scripts/register_flows.py index 3aa2d0404..b3c7e7ba3 100644 --- a/.github/workflows/scripts/register_flows.py +++ b/.github/workflows/scripts/register_flows.py @@ -455,7 +455,10 @@ def get_affected_flows(fpath: str = None): fpath = "dependent_files.txt" with open(fpath, "r") as f: fnames = f.read().splitlines() + + print(f"{fnames=}") fnames = [fname for fname in fnames if fname.endswith(".py")] + print(f"{fnames=}") flow_files = set() for fname in fnames: flow_file = Path(fname).parent / "flows.py" @@ -510,6 +513,7 @@ def main( if filter_affected_flows: # Filter out flows that are not affected by the change affected_flows = get_affected_flows("dependent_files.txt") + print(f"{affected_flows=}") for key in source_to_flows.keys(): filtered_flows = [] for flow in source_to_flows[key]: