xli2522 / gracedb_public

Non-member access to The Gravitational-Wave Candidate Event Database via GraceDB REST API
Other
1 stars 0 forks source link

[IMP] save shared config settings in json #3

Closed xli2522 closed 1 year ago

xli2522 commented 1 year ago

Issue:

should not need to initialize shared_config in dynamic.logging.

Solution:

save _log_address and other shared configuration settings in a json file.

xli2522 commented 1 year ago

b27c2c03f22c302348fde441cacb61e7f6f45e31

Proposed solution:

save _log_address and other shared configuration settings in a JSON file.

Implemented solution:

changed shared_configurations from a class to a .py file with a Config dictionary containing cache, logging, and temp file paths.