Skip to content

[bug] Cannot merge using env var with dict that has empty string as its key #747

@bmbouter

Description

@bmbouter

SOLUTION IN https://github.com/pulp/pulpcore/pull/3146/files

Describe the bug
I tried to use an env_var to merge a dictionary, but it has the key '' which is not able to work, although I expected it to work.

To Reproduce
I tried to set this variable:

PULP_LOGGING={'dynaconf_merge': True, 'loggers': {'': {'handlers': ['console'], 'level': 'DEBUG'}}}

Expected behavior
I expected it to merge, but it does not. When showing the effective config with dynaconf list I see it is not merged as expected.

Metadata

Metadata

Assignees

Labels

Not a BugNot a Problem, expected behaviorbug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions