mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
committed by
Samuel Colvin
parent
27887c6e99
commit
233aa9b9d3
+1
-1
@@ -27,7 +27,7 @@ class BaseConfig:
|
||||
validate_assignment = False
|
||||
|
||||
|
||||
def inherit_config(self_config, parent_config) -> BaseConfig:
|
||||
def inherit_config(self_config, parent_config) -> Type[BaseConfig]:
|
||||
if not self_config:
|
||||
return parent_config
|
||||
for k, v in parent_config.__dict__.items():
|
||||
|
||||
Reference in New Issue
Block a user