Skip to content

Added models and database#12

Merged
einfachMel merged 8 commits intomainfrom
feature/addingModels
Nov 20, 2021
Merged

Added models and database#12
einfachMel merged 8 commits intomainfrom
feature/addingModels

Conversation

@V3lop5
Copy link
Copy Markdown
Collaborator

@V3lop5 V3lop5 commented Nov 20, 2021

Fixes #2

This PR ...


Checklist

Checklist for Contributors

  • Unit tests provided?
    Unit tests are needed for new features or to reproduce the bug solved by this PR.
  • Documentation updated?
  • Unit tests successfull
  • Code smells (flake8) checked

Checklist for Reviewers

  • Read PR description
  • Check linked issue
  • Check CI/CD (build, automated tests, linting, preview build)
  • Check documentation changes
  • Add labels to PR

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Merging #12 (f0d31cc) into main (85074ba) will increase coverage by 6.48%.
The diff coverage is 89.40%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
+ Coverage   78.94%   85.43%   +6.48%     
==========================================
  Files          29       55      +26     
  Lines         304      666     +362     
==========================================
+ Hits          240      569     +329     
- Misses         64       97      +33     
Flag Coverage Δ
pytest 85.43% <89.40%> (+6.48%) ⬆️

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

Impacted Files Coverage Δ
ensysmod/crud/consumption.py 36.36% <36.36%> (ø)
ensysmod/crud/capacity.py 42.10% <42.10%> (ø)
ensysmod/crud/generation.py 42.10% <42.10%> (ø)
ensysmod/crud/energy_sink.py 88.88% <88.88%> (ø)
ensysmod/crud/energy_source.py 88.88% <88.88%> (ø)
ensysmod/crud/region.py 88.88% <88.88%> (ø)
ensysmod/api/endpoints/authentication.py 79.16% <100.00%> (ø)
ensysmod/crud/__init__.py 100.00% <100.00%> (ø)
ensysmod/crud/energy_conversion.py 100.00% <100.00%> (ø)
ensysmod/crud/energy_storage.py 100.00% <100.00%> (ø)
... and 24 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 85074ba...f0d31cc. Read the comment docs.

@github-actions
Copy link
Copy Markdown
Contributor

Unit Test Results

  1 files  ±0    1 suites  ±0   3s ⏱️ ±0s
15 tests +9  15 ✔️ +9  0 💤 ±0  0 ±0 

Results for commit f0d31cc. ± Comparison against base commit 579f1f6.

@einfachMel einfachMel self-requested a review November 20, 2021 18:54
@einfachMel einfachMel merged commit fe7bc8e into main Nov 20, 2021
@einfachMel einfachMel deleted the feature/addingModels branch November 20, 2021 18:55
@V3lop5 V3lop5 added the enhancement New feature or request label Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create database models for IEA data

3 participants