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:
William Cheng
2023-05-04 18:17:24 +08:00
committed by GitHub
parent 854afc9be1
commit 6fa089adee
24 changed files with 34 additions and 10 deletions

View File

@@ -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

View File

@@ -15,6 +15,7 @@
import re # noqa: F401
import io
import warnings
from pydantic import validate_arguments, ValidationError
from typing_extensions import Annotated

View File

@@ -15,6 +15,7 @@
import re # noqa: F401
import io
import warnings
from pydantic import validate_arguments, ValidationError
from typing_extensions import Annotated

View File

@@ -15,6 +15,7 @@
import re # noqa: F401
import io
import warnings
from pydantic import validate_arguments, ValidationError
from typing_extensions import Annotated

View File

@@ -15,6 +15,7 @@
import re # noqa: F401
import io
import warnings
from pydantic import validate_arguments, ValidationError
from typing_extensions import Annotated

View File

@@ -15,6 +15,7 @@
import re # noqa: F401
import io
import warnings
from pydantic import validate_arguments, ValidationError
from typing_extensions import Annotated