fermitools / declad

BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

create clients from environment #36

Closed rlcee closed 1 month ago

rlcee commented 1 month ago

Please allow for the creation of clients from environmentals. This way, Mu2e can one point of maintenance for the url's. making client

marcmengel commented 1 month ago

You would then of course have to ensure that the environment variable was set whenever you start the service... I believe if you put an empty string in the config, which will then be passed at the line referenced above, it will use the environment variable: https://github.com/fermitools/metacat/blob/main/metacat/webapi/webapi.py#L269 If that doesn't work, let me know and we'll pursue this issue.

rlcee commented 1 month ago

the empty string worked, so you can close this issue, thanks