seeing a potential bug in `TimeWindow` . I'm build...
# ask-community
c
seeing a potential bug in
TimeWindow
. I'm building a sensor for hourly-partitioned assets, and I'm seeing the
end
property of the
included_time_windows
is an hour and a day later than the start time. Is that expected?
here's my code (it's based on
build_asset_reconciliation_sensor
) : https://github.com/TEAMSchools/teamster/blob/main/src/teamster/core/powerschool/db/sensors.py
c
Hi Charlie! The time windows partition subset will attempt to merge each included partition's time window with neighboring partition time windows that are also included. So this time window means that all partitions between the start and end time have been materialized
c
thanks! helped me realize that a time windows partition subset isn't the same thing as partition keys