py3.9 compat

This commit is contained in:
Masen Furer 2024-10-15 16:36:10 -07:00
parent 43f19638d0
commit 6015d7e3cb
No known key found for this signature in database
GPG Key ID: B0008AD22B3B3A95

View File

@ -1042,7 +1042,7 @@ def resolve_annotation(annotations: dict[str, Any], arg_name: str):
removal_version="0.7.0",
)
# Allow arbitrary attribute access two levels deep until removed.
return dict[str, dict]
return Dict[str, dict]
return annotation