Skip to content

Commit 43295a0

Browse files
committed
@GitHK review: imports
1 parent 3cbbad2 commit 43295a0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/models-library/tests/test_batch_operations.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
import pytest
22
from faker import Faker
3+
from models_library.api_schemas_webserver._base import (
4+
OutputSchema as WebServerOutputSchema,
5+
)
6+
from models_library.api_schemas_webserver.projects import (
7+
ProjectGet,
8+
)
39
from models_library.batch_operations import BatchGetEnvelope, create_batch_ids_validator
410
from models_library.generics import Envelope
11+
from models_library.projects import ProjectID
512
from pydantic import TypeAdapter, ValidationError
613

714

@@ -73,13 +80,6 @@ def test_create_batch_ids_validator(
7380

7481

7582
def test_composing_schemas_for_batch_operations(faker: Faker):
76-
from models_library.api_schemas_webserver._base import ( # noqa: PLC0415
77-
OutputSchema as WebServerOutputSchema,
78-
)
79-
from models_library.api_schemas_webserver.projects import ( # noqa: PLC0415
80-
ProjectGet,
81-
)
82-
from models_library.projects import ProjectID # noqa: PLC0415
8383

8484
# inner schema model
8585
class WebServerProjectBatchGetSchema(

0 commit comments

Comments
 (0)