Skip to content

Commit

Permalink
Add type annotation for mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
vickenty committed Dec 14, 2023
1 parent e4e15bf commit b536a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datadog/dogstatsd/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
SUPPORTS_FORKING = hasattr(os, "register_at_fork") and not os.environ.get("DD_DOGSTATSD_DISABLE_FORK_SUPPORT", None)
TRACK_INSTANCES = not os.environ.get("DD_DOGSTATSD_DISABLE_INSTANCE_TRACKING", None)

_instances = weakref.WeakSet()
_instances = weakref.WeakSet() # type: weakref.WeakSet

def pre_fork():
"""Prepare all client instances for a process fork.
Expand Down

0 comments on commit b536a1c

Please sign in to comment.