We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad0ab58 commit 0e2b815Copy full SHA for 0e2b815
1 file changed
tests/test_main.py
@@ -1,10 +1,9 @@
1
-from typing import Optional
+from typing import Literal, Optional
2
3
import pytest
4
from sqlalchemy.exc import IntegrityError
5
from sqlalchemy.orm import RelationshipProperty
6
from sqlmodel import Field, Relationship, Session, SQLModel, create_engine, select
7
-from typing_extensions import Literal
8
9
10
def test_should_allow_duplicate_row_if_unique_constraint_is_not_passed(clear_sqlmodel):
0 commit comments