Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify Main Entry Point #29

Merged
merged 4 commits into from
Oct 26, 2024
Merged

Simplify Main Entry Point #29

merged 4 commits into from
Oct 26, 2024

Conversation

bh2smith
Copy link
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.

src/dune_to_local/main.py Outdated Show resolved Hide resolved
@bh2smith bh2smith requested a review from mooster531 October 26, 2024 18:28
@mooster531
Copy link
Collaborator

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

@bh2smith
Copy link
Owner Author

I think I will go with dune_to_local/postgres.py

@bh2smith
Copy link
Owner Author

All ready for your review.

Copy link
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
3 checks passed
@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