Skip to content

FastAPI CRUD name 'uuid' is not defined #106

@Diwas2055

Description

@Diwas2055

File "/home/user/Desktop/edgeb_fastapiCrud/app/main.py", line 9, in
from app import events, users
File "/home/user/Desktop/edgeb_fastapiCrud/app/events.py", line 33, in
@router.get("/events")

raise PydanticUndefinedAnnotation.from_name_error(e) from e
pydantic.errors.PydanticUndefinedAnnotation: name 'uuid' is not defined

For further information visit https://errors.pydantic.dev/2.0.3/u/undefined-annotation

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