mirror of
https://github.com/PaiGramTeam/sqlmodel.git
synced 2024-11-22 07:08:06 +00:00
black/isort for test_nullable.py
This commit is contained in:
parent
045f9bcc8a
commit
6e89ad374b
@ -1,11 +1,14 @@
|
||||
from typing import Optional
|
||||
|
||||
import pytest
|
||||
from pydantic import AnyUrl, UrlConstraints
|
||||
from sqlalchemy.exc import IntegrityError
|
||||
from sqlmodel import Field, Session, SQLModel, create_engine
|
||||
from typing_extensions import Annotated
|
||||
from pydantic import AnyUrl, UrlConstraints
|
||||
MoveSharedUrl = Annotated[AnyUrl, UrlConstraints(max_length=512, allowed_schemes=['smb', 'ftp','file'])]
|
||||
|
||||
MoveSharedUrl = Annotated[
|
||||
AnyUrl, UrlConstraints(max_length=512, allowed_schemes=["smb", "ftp", "file"])
|
||||
]
|
||||
|
||||
|
||||
def test_nullable_fields(clear_sqlmodel, caplog):
|
||||
|
Loading…
Reference in New Issue
Block a user