update dataclass for backward-compat

This commit is contained in:
Yasin Tatar 2023-11-10 12:19:18 +01:00
parent f507a77a43
commit 217bf8f2b9
1 changed files with 1 additions and 0 deletions

View File

@ -347,6 +347,7 @@ else:
@dataclass
class GenerateJsonSchema: # type: ignore[no-redef]
ref_template: str
by_alias: bool = True
class PydanticSchemaGenerationError(Exception): # type: ignore[no-redef]
pass