Skip to content

Commit

Permalink
Add typehint
Browse files Browse the repository at this point in the history
  • Loading branch information
tlento committed Sep 18, 2024
1 parent 42c064e commit d393d02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def spec_pattern(self, input_str: str, semantic_manifest_lookup: SemanticManifes
ParameterSetField.DATE_PART,
]

time_granularity = None
time_granularity: Optional[ExpandedTimeGranularity] = None
if time_dimension_call_parameter_set.time_granularity is not None:
fields_to_compare.append(ParameterSetField.TIME_GRANULARITY)
time_granularity = ExpandedTimeGranularity.from_time_granularity(
Expand Down

0 comments on commit d393d02

Please sign in to comment.