API: extensions & tests #1699

Merged
clan-bot merged 6 commits from hsjobeki/clan-core:hsjobeki-main into main 2024-07-06 16:01:28 +00:00
Showing only changes of commit cb13ddb464 - Show all commits

View File

@ -76,6 +76,7 @@ def type_to_dict(t: Any, scope: str = "", type_map: dict[TypeVar, type] = {}) ->
properties = {
f.name: type_to_dict(f.type, f"{scope} {t.__name__}.{f.name}", type_map)
for f in fields
if not f.name.startswith("_")
}
required = set()