-
Notifications
You must be signed in to change notification settings - Fork 6
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
refactor: merge functionality for results #193
refactor: merge functionality for results #193
Conversation
24cf571
to
222f93f
Compare
class TabularTimeSeries(Protocol): | ||
timesteps: List[datetime] | ||
|
||
def copy(self) -> Self: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
docstring?
return merged_object | ||
|
||
@classmethod | ||
def merge(cls, *tabular_time_series_list: TabularTimeSeries): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add some tests
""" | ||
|
||
@classmethod | ||
def _merge_helper(cls, *objects_with_timeseries: ObjectWithTimeSeries) -> ObjectWithTimeSeries: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing docs and tests, otherwise ok :)
a1e7740
to
c22c718
Compare
Make the merge functionality easier to reuse and extend.
c22c718
to
da6ae59
Compare
Make the merge functionality easier to reuse and extend.