Skip to content

Commit

Permalink
self code refview
Browse files Browse the repository at this point in the history
  • Loading branch information
schrockn committed Mar 12, 2024
1 parent 2cc13a9 commit e23ea96
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,9 @@ def compute_intersection_with_partition_keys(

@property
def time_windows(self) -> Sequence[TimeWindow]:
# <<<<<<< HEAD
# tw_partitions_def = _required_tw_partitions_def(self._partitions_def)
# =======
tw_partitions_def = self._time_window_partitions_def_in_context()
check.inst(tw_partitions_def, TimeWindowPartitionsDefinition, "Must be time windowed.")
assert isinstance(tw_partitions_def, TimeWindowPartitionsDefinition) # appease type checker
# >>>>>>> f5ae87e2d8 (Support multi-partitioning in AssetSlice)

if isinstance(self._compatible_subset.subset_value, TimeWindowPartitionsSubset):
return self._compatible_subset.subset_value.included_time_windows
Expand Down

0 comments on commit e23ea96

Please sign in to comment.