Skip to main content

Interceptors for grpc

Project description

agi-med-grpc-interceptors

Стандартные middlewares для grpc

Ответственный разработчик

@zhelvakov

Общая информация

  • LoggingInterceptor - работает на loguru. Принимает metadata, забирает все хедеры и пытается использовать как контекст, по-умолчанию дополнительно прописывает uuid в контекст. Обработка ошибок может быть переопределена с помощью метода exception_handler

Линтеры

pip install black flake8-pyproject mypy
black .
flake8
mypy .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agi_med_grpc_interceptors-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agi_med_grpc_interceptors-1.0.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file agi_med_grpc_interceptors-1.0.0.tar.gz.

File metadata

File hashes

Hashes for agi_med_grpc_interceptors-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a0ff5903fb7addde2b9273b18672bc4f12cc9d94f909d61eda8478449c9e373a
MD5 e12a1fa44b60806903c5fefd24c68af9
BLAKE2b-256 6e7c623eda87918eef62db8bc74fe642ea35d6d187ce72aaa602dbe0853e9cb9

See more details on using hashes here.

File details

Details for the file agi_med_grpc_interceptors-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agi_med_grpc_interceptors-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd3f9d200234e36febafd9b07e2158ceaa1abc23aecb25f47185ef4b5b7388b2
MD5 6e8e67c05f22d559e9942d6500e5a904
BLAKE2b-256 7bbfd222b79254263ce3a979c4896c8ab9d3232f18363ced49792147882be4e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page