Skip to content

Commit

Permalink
SNOW-1440313: Add telemetry for Index APIs (#2000)
Browse files Browse the repository at this point in the history
Signed-off-by: Naren Krishna <[email protected]>
  • Loading branch information
sfc-gh-nkrishna authored Jul 31, 2024
1 parent 5823c08 commit 91a86f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/snowflake/snowpark/modin/plugin/extensions/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

from snowflake.snowpark.modin.pandas import DataFrame, Series
from snowflake.snowpark.modin.pandas.utils import try_convert_index_to_native
from snowflake.snowpark.modin.plugin._internal.telemetry import TelemetryMeta
from snowflake.snowpark.modin.plugin.compiler.snowflake_query_compiler import (
SnowflakeQueryCompiler,
)
Expand Down Expand Up @@ -104,7 +105,7 @@ def check_lazy(*args: Any, **kwargs: Any) -> Any:
return check_lazy


class Index:
class Index(metaclass=TelemetryMeta):
def __init__(
self,
data: ArrayLike | SnowflakeQueryCompiler | None = None,
Expand Down

0 comments on commit 91a86f4

Please sign in to comment.