Skip to content

Commit b57c4a2

Browse files
committed
fix email typing
1 parent 9c2c7c2 commit b57c4a2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/processing/test_core_base_model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from pydantic import Field
2-
import pytest
2+
from typing import Optional
33

44
from somesy.core.models import SomesyBaseModel
55

@@ -9,7 +9,7 @@ class TestModel(SomesyBaseModel):
99

1010
name: str = Field(alias="full_name")
1111
age: int
12-
email: str | None = None
12+
email: Optional[str] = None
1313

1414

1515
def test_key_order():

0 commit comments

Comments
 (0)