Fix compat with older versions of python
This commit is contained in:
parent
0265f7e0b7
commit
4a3b14313c
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ def _convert_with_error_handling(
|
|||
data_class: Type,
|
||||
field_name: str,
|
||||
field_type: Type,
|
||||
field_value: str | None
|
||||
field_value: Optional[str]
|
||||
):
|
||||
try:
|
||||
return _convert(field_type, field_value)
|
||||
|
|
Loading…
Reference in a new issue