Skip to content

Commit

Permalink
add latest_time_window_test
Browse files Browse the repository at this point in the history
  • Loading branch information
schrockn committed Mar 8, 2024
1 parent 7aecf35 commit 0593594
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,3 +302,11 @@ def dynamic_multi_dimensional() -> None: ...
assert asset_graph_view.get_asset_slice(
dynamic_multi_dimensional.key
).latest_time_window_slice.compute_partition_keys() == set(jan_2_keys)

assert asset_graph_view.get_asset_slice(
dynamic_multi_dimensional.key
).latest_time_window.start == pendulum.datetime(2020, 1, 2)

assert asset_graph_view.get_asset_slice(
dynamic_multi_dimensional.key
).latest_time_window.end == pendulum.datetime(2020, 1, 3)

0 comments on commit 0593594

Please sign in to comment.