We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1aa2cb commit 033acbcCopy full SHA for 033acbc
dapr/conf/__init__.py
@@ -26,6 +26,8 @@ def __init__(self):
26
setattr(self, setting, env_variable or default_value)
27
28
def __getattr__(self, name):
29
+ if name not in dir(global_settings):
30
+ raise AttributeError(f"'{self.__class__.__name__}' object has no attribute '{name}'")
31
return getattr(self, name)
32
33
0 commit comments