mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-14 08:16:54 +08:00
formatting
This commit is contained in:
@@ -29,7 +29,7 @@ class Config:
|
|||||||
def __getattr__(self, attr):
|
def __getattr__(self, attr):
|
||||||
if attr in self.__dict__["_config"]:
|
if attr in self.__dict__["_config"]:
|
||||||
return self.__dict__["_config"][attr]
|
return self.__dict__["_config"][attr]
|
||||||
|
|
||||||
raise AttributeError(f"No such {attr} in self._config")
|
raise AttributeError(f"No such {attr} in self._config")
|
||||||
|
|
||||||
def __setitem__(self, key, value):
|
def __setitem__(self, key, value):
|
||||||
|
|||||||
Reference in New Issue
Block a user