Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GitHub Bot] Generated python SDK #30

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion thousandeyes-sdk-administrative/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:

## Requirements.

Python 3.7+
Python 3.8+

## Installation & Usage
### pip install
Expand Down
8 changes: 5 additions & 3 deletions thousandeyes-sdk-administrative/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
[project]
name = "thousandeyes-sdk-administrative"
dynamic = ["version"]
readme = "README.md"
authors = [
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
]
description = "Administrative API"
license = { text = "../LICENSE" }
description = "ThousandEyes SDK Administrative API"
license = { file = "LICENSE" }
requires-python = ">= 3.8"
dependencies = [
"urllib3 >= 1.25.3",
"python-dateutil >=2.8.2",
Expand All @@ -15,7 +17,7 @@ dependencies = [
]

[tool.setuptools.dynamic]
version = {attr = "thousandeyes_sdk.core.__version__"}
version = {file = ".version"}

[project.optional-dependencies]
test = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated
from importlib.metadata import version

import thousandeyes_sdk.administrative.models

Expand All @@ -30,7 +31,6 @@
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version


class AccountGroupsApi:
Expand All @@ -43,7 +43,7 @@ class AccountGroupsApi:
def __init__(self, api_client=None) -> None:
if api_client is None:
api_client = ApiClient.get_default()
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(Version.get())
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(version("thousandeyes-sdk-administrative"))
self.api_client = api_client


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated
from importlib.metadata import version

import thousandeyes_sdk.administrative.models

Expand All @@ -26,7 +27,6 @@
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version


class PermissionsApi:
Expand All @@ -39,7 +39,7 @@ class PermissionsApi:
def __init__(self, api_client=None) -> None:
if api_client is None:
api_client = ApiClient.get_default()
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(Version.get())
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(version("thousandeyes-sdk-administrative"))
self.api_client = api_client


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated
from importlib.metadata import version

import thousandeyes_sdk.administrative.models

Expand All @@ -28,7 +29,6 @@
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version


class RolesApi:
Expand All @@ -41,7 +41,7 @@ class RolesApi:
def __init__(self, api_client=None) -> None:
if api_client is None:
api_client = ApiClient.get_default()
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(Version.get())
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(version("thousandeyes-sdk-administrative"))
self.api_client = api_client


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated
from importlib.metadata import version

import thousandeyes_sdk.administrative.models

Expand All @@ -27,7 +28,6 @@
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version


class UserEventsApi:
Expand All @@ -40,7 +40,7 @@ class UserEventsApi:
def __init__(self, api_client=None) -> None:
if api_client is None:
api_client = ApiClient.get_default()
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(Version.get())
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(version("thousandeyes-sdk-administrative"))
self.api_client = api_client


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated
from importlib.metadata import version

import thousandeyes_sdk.administrative.models

Expand All @@ -29,7 +30,6 @@
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version


class UsersApi:
Expand All @@ -42,7 +42,7 @@ class UsersApi:
def __init__(self, api_client=None) -> None:
if api_client is None:
api_client = ApiClient.get_default()
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(Version.get())
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(version("thousandeyes-sdk-administrative"))
self.api_client = api_client


Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:

## Requirements.

Python 3.7+
Python 3.8+

## Installation & Usage
### pip install
Expand Down
8 changes: 5 additions & 3 deletions thousandeyes-sdk-agents/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
[project]
name = "thousandeyes-sdk-agents"
dynamic = ["version"]
readme = "README.md"
authors = [
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
]
description = "Agents API"
license = { text = "../LICENSE" }
description = "ThousandEyes SDK Agents API"
license = { file = "LICENSE" }
requires-python = ">= 3.8"
dependencies = [
"urllib3 >= 1.25.3",
"python-dateutil >=2.8.2",
Expand All @@ -15,7 +17,7 @@ dependencies = [
]

[tool.setuptools.dynamic]
version = {attr = "thousandeyes_sdk.core.__version__"}
version = {file = ".version"}

[project.optional-dependencies]
test = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated
from importlib.metadata import version

import thousandeyes_sdk.agents.models

Expand All @@ -27,7 +28,6 @@
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version


class CloudAndEnterpriseAgentNotificationRulesApi:
Expand All @@ -40,7 +40,7 @@ class CloudAndEnterpriseAgentNotificationRulesApi:
def __init__(self, api_client=None) -> None:
if api_client is None:
api_client = ApiClient.get_default()
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(Version.get())
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(version("thousandeyes-sdk-agents"))
self.api_client = api_client


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated
from importlib.metadata import version

import thousandeyes_sdk.agents.models

Expand All @@ -31,7 +32,6 @@
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version


class CloudAndEnterpriseAgentsApi:
Expand All @@ -44,7 +44,7 @@ class CloudAndEnterpriseAgentsApi:
def __init__(self, api_client=None) -> None:
if api_client is None:
api_client = ApiClient.get_default()
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(Version.get())
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(version("thousandeyes-sdk-agents"))
self.api_client = api_client


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated
from importlib.metadata import version

import thousandeyes_sdk.agents.models

Expand All @@ -30,7 +31,6 @@
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version


class EnterpriseAgentClusterApi:
Expand All @@ -43,7 +43,7 @@ class EnterpriseAgentClusterApi:
def __init__(self, api_client=None) -> None:
if api_client is None:
api_client = ApiClient.get_default()
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(Version.get())
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(version("thousandeyes-sdk-agents"))
self.api_client = api_client


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated
from importlib.metadata import version

import thousandeyes_sdk.agents.models

Expand All @@ -26,7 +27,6 @@
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version


class ProxiesApi:
Expand All @@ -39,7 +39,7 @@ class ProxiesApi:
def __init__(self, api_client=None) -> None:
if api_client is None:
api_client = ApiClient.get_default()
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(Version.get())
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(version("thousandeyes-sdk-agents"))
self.api_client = api_client


Expand Down
2 changes: 1 addition & 1 deletion thousandeyes-sdk-alerts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:

## Requirements.

Python 3.7+
Python 3.8+

## Installation & Usage
### pip install
Expand Down
8 changes: 5 additions & 3 deletions thousandeyes-sdk-alerts/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
[project]
name = "thousandeyes-sdk-alerts"
dynamic = ["version"]
readme = "README.md"
authors = [
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
]
description = "Alerts API"
license = { text = "../LICENSE" }
description = "ThousandEyes SDK Alerts API"
license = { file = "LICENSE" }
requires-python = ">= 3.8"
dependencies = [
"urllib3 >= 1.25.3",
"python-dateutil >=2.8.2",
Expand All @@ -15,7 +17,7 @@ dependencies = [
]

[tool.setuptools.dynamic]
version = {attr = "thousandeyes_sdk.core.__version__"}
version = {file = ".version"}

[project.optional-dependencies]
test = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated
from importlib.metadata import version

import thousandeyes_sdk.alerts.models

Expand All @@ -29,7 +30,6 @@
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version


class AlertRulesApi:
Expand All @@ -42,7 +42,7 @@ class AlertRulesApi:
def __init__(self, api_client=None) -> None:
if api_client is None:
api_client = ApiClient.get_default()
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(Version.get())
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(version("thousandeyes-sdk-alerts"))
self.api_client = api_client


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated
from importlib.metadata import version

import thousandeyes_sdk.alerts.models

Expand All @@ -29,7 +30,6 @@
from thousandeyes_sdk.core.api_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version


class AlertSuppressionWindowsApi:
Expand All @@ -42,7 +42,7 @@ class AlertSuppressionWindowsApi:
def __init__(self, api_client=None) -> None:
if api_client is None:
api_client = ApiClient.get_default()
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(Version.get())
api_client.user_agent = "ThousandEyesSDK-Python/{0}".format(version("thousandeyes-sdk-alerts"))
self.api_client = api_client


Expand Down
Loading