Merge remote-tracking branch 'origin/main' into feature/dr-sdk

# Conflicts:
#	Difficult_Rocket/__init__.py
This commit is contained in:
shenjack 2023-05-02 11:37:59 +08:00
commit a7f93b7652
3 changed files with 3 additions and 1 deletions

View File

@ -58,6 +58,8 @@ class Options:
如果存在 init 方法 会在设置完 kwargs 之后运行子类的 init 方法
:param kwargs:
"""
if TYPE_CHECKING:
self.options: Dict[str, Union[Callable, object]] = {}
self.flush_option()
for option, value in kwargs.items():
if option not in self.cached_options:

View File

@ -6,7 +6,7 @@
- [Semver++](./version.md)
- [update logs](./update_logs.md)
- [contributors](./contributors.md)
- [Contributing](./contributing.md)
- [rua! 奇怪的东西~](./rua!.md)
- [nuitka](./nuitka/readme.md)