more tests for excluding parent fields, finished docs

This commit is contained in:
collerek
2021-06-02 10:16:47 +02:00
parent af394de483
commit f52797fb06
9 changed files with 244 additions and 15 deletions

View File

@ -119,7 +119,7 @@ def get_potential_fields(attrs: Dict) -> Dict:
}
def remove_excluded_parent_fields(model: Type["Model"]):
def remove_excluded_parent_fields(model: Type["Model"]) -> None:
"""
Removes pydantic fields that should be excluded from parent models