mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 06:02:44 +00:00
Add @deprecated to methods in python-nextgen (#15380)
* add @deprecated to methods in python-nextgen * add deprecated as comment * add deprecation warnings * add warnings import * remove import
This commit is contained in:
@@ -49,7 +49,6 @@ Execute `pytest` to run the tests.
|
||||
Please follow the [installation procedure](#installation--usage) and then run the following:
|
||||
|
||||
```python
|
||||
from __future__ import print_function
|
||||
|
||||
import time
|
||||
import openapi_client
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
import re # noqa: F401
|
||||
import io
|
||||
import warnings
|
||||
|
||||
from pydantic import validate_arguments, ValidationError
|
||||
from typing_extensions import Annotated
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
import re # noqa: F401
|
||||
import io
|
||||
import warnings
|
||||
|
||||
from pydantic import validate_arguments, ValidationError
|
||||
from typing_extensions import Annotated
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
import re # noqa: F401
|
||||
import io
|
||||
import warnings
|
||||
|
||||
from pydantic import validate_arguments, ValidationError
|
||||
from typing_extensions import Annotated
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
import re # noqa: F401
|
||||
import io
|
||||
import warnings
|
||||
|
||||
from pydantic import validate_arguments, ValidationError
|
||||
from typing_extensions import Annotated
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
import re # noqa: F401
|
||||
import io
|
||||
import warnings
|
||||
|
||||
from pydantic import validate_arguments, ValidationError
|
||||
from typing_extensions import Annotated
|
||||
|
||||
Reference in New Issue
Block a user