Buckets:

download
raw
808 Bytes
from __future__ import annotations
from collections.abc import Callable
from typing import TYPE_CHECKING, TypedDict
from opentelemetry.trace import Span
if TYPE_CHECKING:
from wsgiref.types import WSGIEnvironment
RequestHook = Callable[[Span, 'WSGIEnvironment'], None]
"""A hook that is called before a request is processed."""
ResponseHook = Callable[[Span, str, 'list[tuple[str, str]]'], None]
"""A hook that is called after a response is processed."""
class CommenterOptions(TypedDict, total=False):
"""The `commenter_options` parameter for `instrument_flask`."""
framework: bool
"""Include the framework name and version in the comment."""
route: bool
"""Include the route name in the comment."""
controller: bool
"""Include the controller name in the comment."""

Xet Storage Details

Size:
808 Bytes
·
Xet hash:
281fb5b63b4285f4f4fc4a7de8366cc1c290fdb530cd24fa6bdb9a443244bef5

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.