Skip to content
View nkhitrov's full-sized avatar
🏠
Elixir/Python Backend Developer
🏠
Elixir/Python Backend Developer

Organizations

@mirumon

Block or report nkhitrov

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. arch-blueprint arch-blueprint Public

    Render your project components automatically in plantuml

    Python 19 5

  2. structlog-asgi structlog-asgi Public

    Eazy structlog configuration for asgi applications

    Python 22

  3. FastAPI generic request, response sc... FastAPI generic request, response schemas
    1
    from typing import Any, Generic, Type, TypeAlias, TypeVar
    2
    
                  
    3
    from fastapi import status as http_status_code
    4
    from pydantic import Field
    5
    from pydantic.generics import GenericModel
  4. Configure uvicorn logs with loguru f... Configure uvicorn logs with loguru for FastAPI
    1
    """
    2
    WARNING: dont use loguru, use structlog
    3
    https://gist.github.com/nkhitrov/38adbb314f0d35371eba4ffb8f27078f
    4
    5
  5. Structlog FastAPI example Structlog FastAPI example
    1
    """
    2
    Structlog example configuration with FastAPI.
    3
    Features:
    4
    - async bound logger
    5
    - contextvars to log request-id and other meta data