Skip to content

Feat: lookback windows closes #728#736

Merged
tobymao merged 2 commits intomainfrom
toby/looback
Apr 21, 2023
Merged

Feat: lookback windows closes #728#736
tobymao merged 2 commits intomainfrom
toby/looback

Conversation

@tobymao
Copy link
Contributor

@tobymao tobymao commented Apr 21, 2023

No description provided.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can add field as a parameter to a validator and get the field's name via field.name. This would be useful here to distinguish which field.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks


assert snapshot.missing_intervals("2023-01-30", "2023-01-30", "2023-01-30") == [
(to_timestamp("2023-01-30"), to_timestamp("2023-01-31")),
]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add test case for end > latest

@tobymao tobymao merged commit 2f22d2e into main Apr 21, 2023
@tobymao tobymao deleted the toby/looback branch April 21, 2023 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants