Skip to content

Uvicorn is imported in common backend module #999

Closed
@rmorshea

Description

@rmorshea

Current Situation

Currently Uvicorn gets imported in reactpy.backend._common. This is a problem because not all backends require uvicorn (e.g. Flask). Thus you can get an import error.

Proposed Actions

Make uvicorn a common dependency or import it in a try block.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority-2-moderateShould be resolved on a reasonable timeline.release-patchWarrents a patch release

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions