$69 GRAYBYTE WORDPRESS FILE MANAGER $35

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python37/lib/python3.7/site-packages/sentry_sdk/

HOME
Current File : /opt/alt/python37/lib/python3.7/site-packages/sentry_sdk//consts.py
from sentry_sdk._types import MYPY

if MYPY:
    import sentry_sdk

    from typing import Optional
    from typing import Callable
    from typing import Union
    from typing import List
    from typing import Type
    from typing import Dict
    from typing import Any
    from typing import Sequence
    from typing_extensions import TypedDict

    from sentry_sdk.integrations import Integration

    from sentry_sdk._types import (
        BreadcrumbProcessor,
        Event,
        EventProcessor,
        TracesSampler,
    )

    # Experiments are feature flags to enable and disable certain unstable SDK
    # functionality. Changing them from the defaults (`None`) in production
    # code is highly discouraged. They are not subject to any stability
    # guarantees such as the ones from semantic versioning.
    Experiments = TypedDict(
        "Experiments",
        {
            "max_spans": Optional[int],
            "record_sql_params": Optional[bool],
            "smart_transaction_trimming": Optional[bool],
        },
        total=False,
    )

DEFAULT_QUEUE_SIZE = 100
DEFAULT_MAX_BREADCRUMBS = 100


# This type exists to trick mypy and PyCharm into thinking `init` and `Client`
# take these arguments (even though they take opaque **kwargs)
class ClientConstructor(object):
    def __init__(
        self,
        dsn=None,  # type: Optional[str]
        with_locals=True,  # type: bool
        max_breadcrumbs=DEFAULT_MAX_BREADCRUMBS,  # type: int
        release=None,  # type: Optional[str]
        environment=None,  # type: Optional[str]
        server_name=None,  # type: Optional[str]
        shutdown_timeout=2,  # type: int
        integrations=[],  # type: Sequence[Integration]  # noqa: B006
        in_app_include=[],  # type: List[str]  # noqa: B006
        in_app_exclude=[],  # type: List[str]  # noqa: B006
        default_integrations=True,  # type: bool
        dist=None,  # type: Optional[str]
        transport=None,  # type: Optional[Union[sentry_sdk.transport.Transport, Type[sentry_sdk.transport.Transport], Callable[[Event], None]]]
        transport_queue_size=DEFAULT_QUEUE_SIZE,  # type: int
        sample_rate=1.0,  # type: float
        send_default_pii=False,  # type: bool
        http_proxy=None,  # type: Optional[str]
        https_proxy=None,  # type: Optional[str]
        ignore_errors=[],  # type: List[Union[type, str]]  # noqa: B006
        request_bodies="medium",  # type: str
        before_send=None,  # type: Optional[EventProcessor]
        before_breadcrumb=None,  # type: Optional[BreadcrumbProcessor]
        debug=False,  # type: bool
        attach_stacktrace=False,  # type: bool
        ca_certs=None,  # type: Optional[str]
        propagate_traces=True,  # type: bool
        traces_sample_rate=None,  # type: Optional[float]
        traces_sampler=None,  # type: Optional[TracesSampler]
        auto_enabling_integrations=True,  # type: bool
        auto_session_tracking=True,  # type: bool
        _experiments={},  # type: Experiments  # noqa: B006
    ):
        # type: (...) -> None
        pass


def _get_default_options():
    # type: () -> Dict[str, Any]
    import inspect

    if hasattr(inspect, "getfullargspec"):
        getargspec = inspect.getfullargspec
    else:
        getargspec = inspect.getargspec  # type: ignore

    a = getargspec(ClientConstructor.__init__)
    defaults = a.defaults or ()
    return dict(zip(a.args[-len(defaults) :], defaults))


DEFAULT_OPTIONS = _get_default_options()
del _get_default_options


VERSION = "1.3.1"
SDK_INFO = {
    "name": "sentry.python",
    "version": VERSION,
    "packages": [{"name": "pypi:sentry-sdk", "version": VERSION}],
}

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
18 Apr 2024 12.35 AM
root / 996
0755
__pycache__
--
31 Aug 2024 6.48 AM
root / 996
0755
integrations
--
31 Aug 2024 6.48 AM
root / 996
0755
__init__.py
0.834 KB
27 Jul 2021 9.04 PM
root / 996
0644
_compat.py
2.304 KB
27 Jul 2021 9.04 PM
root / 996
0644
_functools.py
2.223 KB
27 Jul 2021 9.04 PM
root / 996
0644
_queue.py
8.206 KB
27 Jul 2021 9.04 PM
root / 996
0644
_types.py
1.239 KB
27 Jul 2021 9.04 PM
root / 996
0644
api.py
4.662 KB
27 Jul 2021 9.04 PM
root / 996
0644
attachments.py
1.751 KB
27 Jul 2021 9.04 PM
root / 996
0644
client.py
13.637 KB
27 Jul 2021 9.04 PM
root / 996
0644
consts.py
3.599 KB
27 Jul 2021 9.04 PM
root / 996
0644
debug.py
1.105 KB
27 Jul 2021 9.04 PM
root / 996
0644
envelope.py
8.346 KB
27 Jul 2021 9.04 PM
root / 996
0644
hub.py
21.621 KB
27 Jul 2021 9.04 PM
root / 996
0644
py.typed
0 KB
27 Jul 2021 9.04 PM
root / 996
0644
scope.py
15.615 KB
27 Jul 2021 9.04 PM
root / 996
0644
serializer.py
15.925 KB
27 Jul 2021 9.04 PM
root / 996
0644
session.py
5.413 KB
27 Jul 2021 9.04 PM
root / 996
0644
sessions.py
5.687 KB
27 Jul 2021 9.04 PM
root / 996
0644
tracing.py
25.223 KB
27 Jul 2021 9.04 PM
root / 996
0644
transport.py
12.125 KB
27 Jul 2021 9.04 PM
root / 996
0644
utils.py
26.789 KB
27 Jul 2021 9.04 PM
root / 996
0644
worker.py
4.042 KB
27 Jul 2021 9.04 PM
root / 996
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF