Skip to content

Adding confirmation step for copying files#79

Merged
davezuckerman merged 3 commits into
mainfrom
AP-723-DAG-confirm-copy
Jun 30, 2026
Merged

Adding confirmation step for copying files#79
davezuckerman merged 3 commits into
mainfrom
AP-723-DAG-confirm-copy

Conversation

@davezuckerman

Copy link
Copy Markdown
Contributor

No description provided.

@steve-sullivan steve-sullivan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@awilfox awilfox left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+wc tiny nit regarding subject vs body otherwise this looks good to me!

Comment thread mokelumne/dags/copy_files.py Outdated
Comment on lines +10 to +12
DAG_DIR = Path(__file__).resolve().parent.parent.parent / "mokelumne" / "dags"
_DAG_BAG = DagBag(dag_folder=DAG_DIR.resolve(), include_examples=False)
DAG = _DAG_BAG.get_dag("copy_files")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am good with this right now, but as we add more DAGs, this is going to be duplicated everywhere. We should think about making a test utility method for retrieving a DAG out of the DagBag so that it's a single call.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we make a ticket for that?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That sounds good. I think I can create that and add it as a child to AP-549

@anarchivist anarchivist left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+; the suggestion is only a suggestion and not a formal change request.

Comment thread mokelumne/dags/copy_files.py Outdated
Comment on lines +10 to +12
DAG_DIR = Path(__file__).resolve().parent.parent.parent / "mokelumne" / "dags"
_DAG_BAG = DagBag(dag_folder=DAG_DIR.resolve(), include_examples=False)
DAG = _DAG_BAG.get_dag("copy_files")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we make a ticket for that?

@davezuckerman davezuckerman merged commit 5b0323b into main Jun 30, 2026
5 checks passed
@davezuckerman davezuckerman deleted the AP-723-DAG-confirm-copy branch June 30, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants