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

Diff production model #116

Merged
merged 17 commits into from
Aug 7, 2023
Merged

Diff production model #116

merged 17 commits into from
Aug 7, 2023

Conversation

katrilh
Copy link
Contributor

@katrilh katrilh commented Aug 1, 2023

Description

Please describe the change you have made.

Checklist:

@katrilh katrilh marked this pull request as ready for review August 4, 2023 10:26
Comment on lines +33 to +43
# @classmethod
# # i teorien, løftes til AssetType... kanskje
# def from_cdf(
# cls,
# client,
# external_id: str,
# fetch_relationships: bool = False,
# fetch_content: bool = False,
# ) -> DayAheadProcess:
# raise NotImplementedError()

Copy link
Contributor Author

@katrilh katrilh Aug 4, 2023

Choose a reason for hiding this comment

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

The idea behind keeping this (for now) is to be able to check the same functionality on the market models , so far the only testing has been on production models

@katrilh katrilh requested a review from Juliamg August 4, 2023 10:41
@Juliamg
Copy link
Contributor

Juliamg commented Aug 4, 2023

Great work! Readable and easy to follow 😄

Seems like this resolved the weird diff we were getting with resync plan as well

Copy link
Contributor

@haukb haukb left a comment

Choose a reason for hiding this comment

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

Perfect! Superb work Katie, one minor comment, you can do it if you think it makes sense and you have time

cognite/powerops/resync/models/helpers.py Show resolved Hide resolved
@katrilh katrilh merged commit 992ebda into main Aug 7, 2023
5 checks passed
@katrilh katrilh deleted the diff-production-model branch August 7, 2023 10:43
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.

3 participants