Merge pull request #1555 from raulsntos/fix-r1722784216

Avoid hardcoded type conversion for metadata
pull/1520/head
David Snopek 2024-08-22 16:30:17 -05:00 committed by GitHub
commit 62305943a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -2770,8 +2770,6 @@ def correct_type(type_name, meta=None, use_alias=True):
if meta is not None:
if "int" in meta:
return f"{meta}_t"
elif meta in type_conversion:
return type_conversion[type_name]
else:
return meta
if type_name in type_conversion: