We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0c5fa6 commit f5efc91Copy full SHA for f5efc91
1 file changed
open_alchemy/types.py
@@ -420,7 +420,7 @@ def to_dict(self) -> OpenApiJsonPropertyTypedDict:
420
return_dict: OpenApiJsonPropertyTypedDict = {}
421
422
opt_keys: typing.List[Literal["nullable", "read_only", "write_only"]] = [
423
- OpenApiProperties.NULLABLE.value,
+ "nullable",
424
"read_only",
425
"write_only",
426
]
@@ -688,7 +688,7 @@ def to_dict(self) -> XToOneRelationshipPropertyTypedDict:
688
"kwargs",
689
690
"description",
691
692
693
for opt_key in opt_keys:
694
value = getattr(self, opt_key)
0 commit comments