uranusjr commented on code in PR #70517:
URL: https://github.com/apache/airflow/pull/70517#discussion_r3774374019
##########
shared/observability/src/airflow_shared/observability/metrics/statsd_logger.py:
##########
@@ -158,9 +159,10 @@ def timer(
def get_statsd_logger(
*,
- stats_class: type[StatsClient],
+ stats_class: type[StatsClient] | type[UnixSocketStatsClient] | None = None,
Review Comment:
I wonder if this should also accept `Callable` instead since non-type inputs
is explicitly allowed (there are checks against this).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]