File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
packages/models-library/tests Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ def test_create_batch_ids_validator(
6565 original_first_positions = {
6666 item : input_ids .index (item ) for item in set (input_ids )
6767 }
68- result_positions = {item : result .index (item ) for item in result }
6968 # Items should appear in the same relative order as their first occurrence
7069 sorted_by_original = sorted (
7170 result , key = lambda x : original_first_positions [x ]
@@ -74,11 +73,13 @@ def test_create_batch_ids_validator(
7473
7574
7675def test_composing_schemas_for_batch_operations (faker : Faker ):
77- from models_library .api_schemas_webserver ._base import (
76+ from models_library .api_schemas_webserver ._base import ( # noqa: PLC0415
7877 OutputSchema as WebServerOutputSchema ,
7978 )
80- from models_library .api_schemas_webserver .projects import ProjectGet
81- from models_library .projects import ProjectID
79+ from models_library .api_schemas_webserver .projects import ( # noqa: PLC0415
80+ ProjectGet ,
81+ )
82+ from models_library .projects import ProjectID # noqa: PLC0415
8283
8384 # inner schema model
8485 class WebServerProjectBatchGetSchema (
You can’t perform that action at this time.
0 commit comments