We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deeef43 commit 451fed0Copy full SHA for 451fed0
sentry_sdk/consts.py
@@ -546,12 +546,7 @@ def _get_default_options():
546
# type: () -> dict[str, Any]
547
import inspect
548
549
- if hasattr(inspect, "getfullargspec"):
550
- getargspec = inspect.getfullargspec
551
- else:
552
- getargspec = inspect.getargspec # type: ignore
553
-
554
- a = getargspec(ClientConstructor.__init__)
+ a = inspect.getfullargspec(ClientConstructor.__init__)
555
defaults = a.defaults or ()
556
kwonlydefaults = a.kwonlydefaults or {}
557
0 commit comments