Skip to content

Global variable #69

@raulcf

Description

@raulcf

https://github.com/TheDataStation/DataStation/blob/aed41944e6ddef1878e5cccd2f3c9f62de87d2d3/server/fastapi_server.py#L53

I smell an anti pattern here.

If we really need a global variable, then let's declare it at the top, so readers see it.

why do we need it though? need to check out fastapi

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