Skip to content

Loading time is high and returns unnecessary warnings when rendering pydantic models at startup in docker #15

Open
@TejasAmbhore

Description

@TejasAmbhore

I am using vapi sdk to import some pydantic models - AssistantOverrides, CreateSquadDto, CreateCustomerDto, ImportTwilioPhoneNumberDto, SquadMemberDto
It works fine when i do a normal uvicorn main.py, but when using docker-compose we get the following warnings and it takes around 7 seconds to load the library at startup

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions