From 13188da114107c67929a11a32fd688ed512076ec Mon Sep 17 00:00:00 2001 From: Jonathan Shi Date: Wed, 4 Sep 2024 11:34:56 -0700 Subject: [PATCH] add comment for telemetry attrs --- src/snowflake/snowpark/modin/pandas/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/snowflake/snowpark/modin/pandas/__init__.py b/src/snowflake/snowpark/modin/pandas/__init__.py index f666ee09daa..7afd9f57218 100644 --- a/src/snowflake/snowpark/modin/pandas/__init__.py +++ b/src/snowflake/snowpark/modin/pandas/__init__.py @@ -166,7 +166,9 @@ TimedeltaIndex, ) -# this must occur before overrides are applied +# Record which attributes are defined on an upstream object, and which are defined on a vendored +# object (currently just dataframe.py), and determine when adding telemetry is necessary. +# This must be checked before overrides are applied. _attrs_defined_on_modin_series = set() for attr_name, attr_value in Series.__dict__.items(): base_value = BasePandasDataset.__dict__.get(attr_name, None)