pepkit / pepdbagent

Database for storing sample metadata
BSD 2-Clause "Simplified" License
2 stars 1 forks source link

Move constants to separate file #17

Closed nleroy917 closed 1 year ago

nleroy917 commented 1 year ago

I noticed that here you are defining a few constants. I think its convention for most of our lab projects to have a const.py file and store those there. Then we just import them into whatever file we need:


from .const import (
    DB_TABLE_NAME
    ID_COL
    PROJ_COL
    ANNO_COL
    NAMESPACE_COL
    NAME_COL
    DIGEST_COL
)