Skip to content

Commit 3794656

Browse files
committed
remove unused code
1 parent fcc3386 commit 3794656

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

fastapi_code_generator/parser.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,14 @@
88
import stringcase
99
import yaml
1010
from datamodel_code_generator import DataModelField, snooper_to_methods
11-
from datamodel_code_generator.imports import IMPORT_LIST, Import, Imports
12-
from datamodel_code_generator.model.pydantic.types import type_map
11+
from datamodel_code_generator.imports import Import, Imports
1312
from datamodel_code_generator.parser.jsonschema import (
1413
JsonSchemaObject,
1514
get_model_by_path,
16-
json_schema_data_formats,
1715
)
1816
from datamodel_code_generator.parser.openapi import OpenAPIParser as OpenAPIModelParser
1917
from datamodel_code_generator.types import DataType
20-
from pydantic import BaseModel, Field, root_validator
18+
from pydantic import BaseModel, root_validator
2119

2220
MODEL_PATH = ".models"
2321

0 commit comments

Comments
 (0)