Skip to content

Commit

Permalink
fix: fixes multi line descriptions for the pydantic preset in python
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethaasan committed Nov 2, 2023
1 parent 3e1d290 commit 59c11a8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
exports[`Should be able to render python models and should log expected output to console: class-model 1`] = `
Array [
"class Root(BaseModel):
optionalField: Optional[str] = Field(alias='this field is optional')
requiredField: str = Field(alias='this field is required')
optionalField: Optional[str] = Field(alias='''this field is optional''')
requiredField: str = Field(alias='''this field is required''')
noDescription: Optional[str] = Field()
options: Optional[Options] = Field()
",
Expand Down

0 comments on commit 59c11a8

Please sign in to comment.