Skip to content

Commit 4494a75

Browse files
asim-ceman-extVladX09
authored andcommitted
fix: aB#108112 fix linting
1 parent a478517 commit 4494a75

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

python_client_generator/templates/base_client.py.mustache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ from uuid import UUID
44

55
import httpx
66

7+
78
try:
89
from pydantic.v1 import BaseModel
910
except ImportError:

python_client_generator/templates/models.py.mustache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ from enum import Enum
33
from typing import Any, Dict, List, Literal, Optional, Union
44
from uuid import UUID
55

6+
67
try:
78
from pydantic.v1 import BaseModel, Field
89
except ImportError:

tests/expected/fastapi_app_client/base_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import httpx
66

7+
78
try:
89
from pydantic.v1 import BaseModel
910
except ImportError:

tests/expected/fastapi_app_client/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from typing import Any, Dict, List, Literal, Optional, Union
44
from uuid import UUID
55

6+
67
try:
78
from pydantic.v1 import BaseModel, Field
89
except ImportError:

tests/expected/swagger_petstore_client/base_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import httpx
66

7+
78
try:
89
from pydantic.v1 import BaseModel
910
except ImportError:

tests/expected/swagger_petstore_client/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from typing import Any, Dict, List, Literal, Optional, Union
44
from uuid import UUID
55

6+
67
try:
78
from pydantic.v1 import BaseModel, Field
89
except ImportError:

0 commit comments

Comments
 (0)