Skip to content

Commit

Permalink
Update test_pydantic.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisguidry authored Feb 19, 2023
1 parent db8a2ba commit d2085c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_pydantic.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import json
from typing import AsyncGenerator, Generator, Optional
from typing import AsyncGenerator, Generator, List, Optional

import pytest
from fastapi import FastAPI
Expand Down Expand Up @@ -34,7 +34,7 @@ class ExampleModel(BaseModel):
class ParentModel(BaseModel):
one_example: ExampleModel

some_examples: list[ExampleModel]
some_examples: List[ExampleModel]


def test_dimension_field() -> None:
Expand Down

0 comments on commit d2085c5

Please sign in to comment.