Name Description Size
__init__.py 591
_compat.py 2422
_types.py 1080
api.py 5528
client.py The client is internally responsible for capturing the events and forwarding them to sentry through the configured transport. It takes the client options as keyword arguments and optionally the DSN as first argument. 13157
consts.py 3487
debug.py 1132
envelope.py 8221
hub.py Initializes the SDK and optionally integrations. This takes the same arguments as the client constructor. 19459
integrations
py.typed 0
scope.py The scope holds extra information that should be sent with all events that belong to it. 12509
serializer.py By default non-serializable objects are going through safe_repr(). For certain places in the event (local vars) we want to repr() even things that are JSON-serializable to make their type more apparent. For example, it's useful to see the difference between a unicode-string and a bytestring when viewing a stacktrace. For container-types we still don't do anything different. Generally we just try to make the Sentry UI present exactly what a pretty-printed repr would look like. :returns: `True` if we are somewhere in frame variables, and `False` if we are in a position where we will never encounter frame variables when recursing (for example, we're in `event.extra`). `None` if we are not (yet) in frame variables, but might encounter them when recursing (e.g. we're in `event.exception`) 10507
sessions.py Utility function to find out if session tracking is enabled. 7732
tracing.py 15210
transport.py Baseclass for all transports. A transport is used to send an event to sentry. 11002
utils.py Creates a hint with the exc info filled in. 22953
worker.py Kill worker thread. Returns immediately. Not useful for waiting on shutdown for events, use `flush` for that. 4560