Skip to content

Commit 0e2b815

Browse files
committed
import Literal from typing now that Python 3.8 is dropped
1 parent ad0ab58 commit 0e2b815

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test_main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
from typing import Optional
1+
from typing import Literal, Optional
22

33
import pytest
44
from sqlalchemy.exc import IntegrityError
55
from sqlalchemy.orm import RelationshipProperty
66
from sqlmodel import Field, Relationship, Session, SQLModel, create_engine, select
7-
from typing_extensions import Literal
87

98

109
def test_should_allow_duplicate_row_if_unique_constraint_is_not_passed(clear_sqlmodel):

0 commit comments

Comments
 (0)