We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e562654 commit fcabf3fCopy full SHA for fcabf3f
tests/test_main.py
@@ -1,4 +1,4 @@
1
-from typing import List, Optional, Literal
+from typing import List, Literal, Optional
2
3
import pytest
4
from sqlalchemy.exc import IntegrityError
@@ -135,7 +135,6 @@ class Hero(SQLModel, table=True):
135
name: str = Field(unique=True)
136
weakness: Literal["Kryptonite", "Dehydration", "Munchies"]
137
138
-
139
superman = Hero(name="Superman", weakness="Kryptonite")
140
141
engine = create_engine("sqlite://", echo=True)
0 commit comments