qrm2 icon indicating copy to clipboard operation
qrm2 copied to clipboard

We need a new config/secrets system

Open classabbyamp opened this issue 4 years ago • 2 comments

classabbyamp avatar Mar 22 '21 04:03 classabbyamp

possible idea: have some wrapper around options.py that ensures the values exist, and if not, automatically falls back to the template/default, but it's invisible to the code (i.e. not .get())

classabbyamp avatar Mar 22 '21 04:03 classabbyamp

did some research on this, looks like there is no library out there now that fits our needs. I'd recommend we build something that's pydantic/yaml/json-based. maybe make it a library or something @0x5c

lincolnloop/goodconf might be a good inspiration for some parts (pydantic, generating default config files, etc)

classabbyamp avatar Apr 24 '21 23:04 classabbyamp