Skip to content

Commit

Permalink
2/n PSS2 migration - annotate all instances of date_range closed param
Browse files Browse the repository at this point in the history
Summary:
no-op diff
Just add TODOs to annotate a known migration requirement that is a breaking change.

Reviewed By: irumata

Differential Revision: D64331484

fbshipit-source-id: 058bc7a741dd5f5b71f0ba4fc13185610cabe018
  • Loading branch information
islijepcevic authored and facebook-github-bot committed Oct 16, 2024
1 parent 604a3a8 commit 6e0e1dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kats/detectors/distribution_distance_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ def fit_predict(

total_data_df_group0 = total_data_df.rolling(
window=str(self.window_size_sec) + "s",
# TODO(PythonSciMigration): migrate closed="both" -> inclusive="both"
closed="both",
).agg(
lambda rows: (
Expand Down

0 comments on commit 6e0e1dd

Please sign in to comment.