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 ad07cee commit 623f714Copy full SHA for 623f714
aredis_om/model/model.py
@@ -1203,7 +1203,7 @@ class PrimaryKey:
1203
1204
1205
class RedisOmConfig(ConfigDict):
1206
- index: bool | None
+ index: Optional[bool]
1207
1208
1209
class BaseMeta(Protocol):
@@ -1935,7 +1935,7 @@ def schema_for_type(
1935
json_path: str,
1936
name: str,
1937
name_prefix: str,
1938
- typ: type[RedisModel] | Any,
+ typ: Union[type[RedisModel], Any],
1939
field_info: PydanticFieldInfo,
1940
parent_type: Optional[Any] = None,
1941
) -> str:
0 commit comments