Replies: 2 comments 2 replies
-
Can you try config.set("environment_abbr", environment_mapping[ENVIRONMENT][1]) |
Beta Was this translation helpful? Give feedback.
1 reply
-
Looks like this bug got fixed on 3.2.0 713fc7d we need to confirm |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi again,
another point I faced is a problem with dynamic variables.
This is the code (actually pretty well the one from my previous question):
According to my understanding from the docs the string in
tls_ca_file
is being generated whenever accessed. In this case I would have expected thattls_ca_file
will look likedatabase_t0_CA_bundle.pem
, but I get an error instead:AttributeError: 'Settings' object has no attribute 'environment_abbr'
In this case it even does not matter, if using
ENVIRONMENT_ABBR
as attribute in__init__.py
and insettings.toml
ot use a mixed case in any way.What am I doing wrong here? Again, Dynaconf is 3.1.5 and Python is in 3.6 (sigh)
Regards, Thomas
Beta Was this translation helpful? Give feedback.
All reactions