3 ms·
Yeah, I'd love to have a decorator at the top of a file - @env to provide access to env variables or @secrets for some kind of secrets access, nothing else gets
by Pv9KKy3 4y ago
Yeah, I'd love to have a decorator at the top of a file - @env to provide access to env variables or @secrets for some kind of secrets access, nothing else gets this.
Python is tough though, a very dynamic language so probably kind of hard to lock it down.
- Beltiras 4y agoYou would normally be able to solve things like this via file permissions in the OS but currently we are running everything as root inside a container.
- Pv9KKy3 4y agoNot really, because the dependencies to your python code often have access to all global variables and/or run at same permission level as all your code etc.