Skip to content

Eliminate defaults in config.py #300

@theferrit32

Description

@theferrit32

We integrate with dotenv already, and automatically load from .dev.env. For some fields we have a default specified both in config.py and in .dev.env, and for some we don't.

All env defaults specified in config.py should be moved out into .dev.env

Also e.g. CLINVAR_INGEST_RELEASE_TAG should not have a default value. This changes relatively frequently and the application should be required to specify its own.

https://github.com/clingen-data-model/clinvar-ingest/blob/main/clinvar_ingest/config.py

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