Skip to content

Simplify Main Entry Point#29

Merged
bh2smith merged 4 commits intomainfrom
dune_to_local
Oct 26, 2024
Merged

Simplify Main Entry Point#29
bh2smith merged 4 commits intomainfrom
dune_to_local

Conversation

@bh2smith
Copy link
Copy Markdown
Owner

@bh2smith bh2smith commented Oct 26, 2024

No logical changes have been made here.

Except now there is a new function def dune_to_postgres(env: Env, job: DuneToLocalJob) -> None:

which is called from the main entry point.

I am not terribly fond of the new file name dune_to_local/main.py - open to suggestions.

Comment thread src/dune_to_local/main.py
@bh2smith bh2smith requested a review from mooster531 October 26, 2024 18:28
@mooster531
Copy link
Copy Markdown
Collaborator

I'd call it dune_to_postgres/main.py and call it a day.

@bh2smith
Copy link
Copy Markdown
Owner Author

I think I will go with dune_to_local/postgres.py

@bh2smith
Copy link
Copy Markdown
Owner Author

All ready for your review.

Copy link
Copy Markdown
Collaborator

@mooster531 mooster531 left a comment

Choose a reason for hiding this comment

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

🚀 🌔

@bh2smith bh2smith merged commit 7075728 into main Oct 26, 2024
@bh2smith bh2smith deleted the dune_to_local branch October 26, 2024 19:53
bh2smith added a commit that referenced this pull request Oct 26, 2024
This is based on #29 

Adds tests to reach above 80% coverage and workflow that fails if its
below.
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.

2 participants