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

Add optional model and version to DataSource #215

Merged
merged 6 commits into from Oct 20, 2021
Merged

Conversation

Flix6x
Copy link
Contributor

@Flix6x Flix6x commented Oct 17, 2021

No description provided.

@Flix6x Flix6x requested a review from nhoening Oct 17, 2021
@Flix6x Flix6x self-assigned this Oct 17, 2021
) -> DataSource:
"""Make sure we have a data source. Create one if it doesn't exist, and add to session.
Meant for scripts that may run for the first time.
It should probably not be used in the middle of a transaction, because we commit to the session."""
Copy link
Contributor Author

@Flix6x Flix6x Oct 17, 2021

Choose a reason for hiding this comment

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

There was no commit, just a flush.

@Flix6x Flix6x linked an issue Oct 18, 2021 that may be closed by this pull request
flexmeasures/data/models/data_sources.py Show resolved Hide resolved
flexmeasures/data/utils.py Outdated Show resolved Hide resolved
@Flix6x Flix6x merged commit c0554f4 into main Oct 20, 2021
2 checks passed
@Flix6x Flix6x deleted the versioned-data-source-models branch Oct 20, 2021
@Flix6x Flix6x added this to the 0.7.0 milestone Jan 20, 2022
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