alexferl/vyper

`bind_env` is not respected when retrieving a nested key's parent.

jperkelens opened this issue · 1 comments

Ex.

config.yml

   db:
      host: localhost
      port: 5432

app.py

print(os.getenv('PSQL_ENDPOINT')) # prints dev-server
v.read_in_config()
v.automatic_env()
v.bind_env('db.host', 'PSQL_ENDPOINT')
print(v.get('db.host')) # prints dev-server
print(v.get('db')) #prints {host: localhost, port: 5432}

merged