-
Notifications
You must be signed in to change notification settings - Fork 14
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
Update custom granularity spec #340
Conversation
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.
Is column_name
supposed to be part of the protocol as well? I imagine it is so we can construct the query.
@@ -28,7 +28,7 @@ def primary_column(self) -> TimeSpinePrimaryColumn: | |||
|
|||
@property | |||
@abstractmethod | |||
def custom_granularity_columns(self) -> Sequence[TimeSpineCustomGranularityColumn]: | |||
def custom_granularities(self) -> Sequence[TimeSpineCustomGranularityColumn]: |
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.
Don't we need to add column_name to the protocol defined on line 52?
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.
Oops you're right!
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.
Updated!
Description
Rename
custom_granularity_columns
->custom_granularities
and addcolumn_name
property. This matches the newly-approved spec that will be added to core.This would be a breaking change, but since this isn't used anywhere yet, nothing will break.
Checklist
changie new
to create a changelog entry