fix typo in profiler metric (#17784)

This commit is contained in:
harshsoni2024 2024-09-10 22:31:23 +05:30 committed by GitHub
parent 37d35e8dda
commit 3922f45a3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -286,7 +286,7 @@ def _(
) )
metric_results.extend(get_metric_result(updates, table.__tablename__)) # type: ignore metric_results.extend(get_metric_result(updates, table.__tablename__)) # type: ignore
return TypeAdapter(List[SystemProfile]).validate_python(metric_results).d return TypeAdapter(List[SystemProfile]).validate_python(metric_results)
@get_system_metrics_for_dialect.register(Dialects.Snowflake) @get_system_metrics_for_dialect.register(Dialects.Snowflake)