Python package to make getting yaml easier and cleaner
To install with pip
$ pip install Yaml8
y = Yaml(f"{os.path.dirname(os.path.realpath(__file__))}/app.yaml")
env = os.getenv('env')
@y.value(f"project-{env}.session-id")
def sessionId(): pass
print(sessionId)
Jeyavishnu |
Distributed under the MIT License. See LICENSE
for more information.