File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4945,17 +4945,6 @@ where optional fields have defaults but cannot accept `None` values.
49454945 - type: string
49464946 - type: number
49474947 nullable: true
4948- maybeValue:
4949- description: A value that can be string or integer, not nullable
4950- oneOf:
4951- - type: string
4952- - type: integer
4953- nullableUnion:
4954- description: A nullable union of string or integer
4955- oneOf:
4956- - type: string
4957- - type: integer
4958- nullable: true
49594948 simpleUnion:
49604949 oneOf:
49614950 - type: string
@@ -5049,12 +5038,6 @@ where optional fields have defaults but cannot accept `None` values.
50495038 class Options(BaseModel):
50505039 comments: list[str | None]
50515040 oneOfComments: list[str | float | None]
5052- maybeValue: str | int | None = Field(
5053- None, description='A value that can be string or integer, not nullable'
5054- )
5055- nullableUnion: str | int | None = Field(
5056- None, description='A nullable union of string or integer'
5057- )
50585041 simpleUnion: str | float | None = None
50595042 ```
50605043
You can’t perform that action at this time.
0 commit comments