feat: Remove global configuration , enable configuration support for business isolation.

This commit is contained in:
莘权 马 2023-08-20 17:33:13 +08:00
parent d764b8e6fa
commit f45a8e5284
50 changed files with 437 additions and 278 deletions

View file

@ -118,8 +118,8 @@ class Config:
return value
@property
def options(self):
"""Return key-value configuration parameters."""
def runtime_options(self):
"""Runtime key-value configuration parameters."""
opts = {}
for k, v in self._configs.items():
opts[k] = v