Skip to content

Commit

Permalink
[8271]fix: fix member type
Browse files Browse the repository at this point in the history
  • Loading branch information
StrawHatDrag0n committed Jan 20, 2024
1 parent ffb5306 commit 0874edc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_discriminated_union.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import sys
from enum import Enum, IntEnum
from types import SimpleNamespace
from typing import Any, Callable, Generic, Optional, Sequence, TypeVar, Union
from typing import Any, Callable, Generic, List, Optional, Sequence, TypeVar, Union

import pytest
from dirty_equals import HasRepr, IsStr
Expand Down Expand Up @@ -1715,7 +1715,7 @@ class CreateItem2(BaseModel):

class CreateObjectDto(BaseModel):
id: int
items: list[
items: List[
Annotated[
Union[
CreateItem1,
Expand Down

0 comments on commit 0874edc

Please sign in to comment.