You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#582
This makes the attributes of the configuration object case sensitive in order to match better the environment variables that are too.
This makes the attributes of the configuration object accept any legal Python variable name (Configuration().some_2_attribute) is valid now.
This makes non-defined attributes return None when queried instead of raising an AttributeError. This makes it easier to use the configuration object because the user won't have to check for the existence of the attribute beforehand:
if Configuration().some_attribute == "value":
# do stuff
instead of
if hasattr(Configuration(), "some_attribute") and Configuration().some_attribute == "value":
# do stuff
srikanthccv
pushed a commit
to srikanthccv/opentelemetry-python
that referenced
this issue
Nov 1, 2020
Fix the pending issues in #563 as pointed out by @mauriciovasquezbernal.
The text was updated successfully, but these errors were encountered: