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

refactoring database #28

Merged
merged 6 commits into from
Aug 21, 2024
Merged

refactoring database #28

merged 6 commits into from
Aug 21, 2024

Conversation

HighestAuto
Copy link
Collaborator

Gets rid of everything associated with cost and adds the new tables to the schema file

Copy link
Owner

@JoshuaMarden JoshuaMarden left a comment

Choose a reason for hiding this comment

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

Looks good, just a removal of code we don't need anymore.

@@ -46,17 +46,6 @@ def test_demand_transform_general(self, mock_demand_df):
assert isinstance(time, datetime.datetime) == True
assert isinstance(row[1], int) == True

def test_cost_transform_general(self, mock_cost_df):
Copy link
Owner

Choose a reason for hiding this comment

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

Nothing to test anymore, good to remove.

Copy link

codecov bot commented Aug 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Flag Coverage Δ
pytest 69.70% <ø> (+1.14%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
pipeline/transform.py 52.47% <ø> (+3.99%) ⬆️
tests/conftest.py 95.12% <ø> (-4.88%) ⬇️
tests/test_transform.py 100.00% <ø> (ø)

... and 1 file with indirect coverage changes

@HighestAuto HighestAuto merged commit a1d7193 into main Aug 21, 2024
4 checks passed
@HighestAuto HighestAuto deleted the database branch August 21, 2024 13:56
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