mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
[GitHub Bot] Generated python SDK
This commit is contained in:
parent
7d7bdeae04
commit
4935facfbd
@ -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
|
||||
|
||||
@ -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",
|
||||
@ -15,7 +17,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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
|
||||
|
||||
@ -30,7 +31,6 @@ from thousandeyes_sdk.administrative.models.expand import Expand
|
||||
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:
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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
|
||||
|
||||
@ -26,7 +27,6 @@ from thousandeyes_sdk.administrative.models.permissions import Permissions
|
||||
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:
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.administrative.models.roles import Roles
|
||||
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:
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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
|
||||
|
||||
@ -27,7 +28,6 @@ from thousandeyes_sdk.administrative.models.audit_user_events import AuditUserEv
|
||||
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:
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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
|
||||
|
||||
@ -29,7 +30,6 @@ from thousandeyes_sdk.administrative.models.users import Users
|
||||
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:
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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",
|
||||
@ -15,7 +17,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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
|
||||
|
||||
@ -27,7 +28,6 @@ from thousandeyes_sdk.agents.models.notification_rule_detail import Notification
|
||||
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:
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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
|
||||
|
||||
@ -31,7 +32,6 @@ from thousandeyes_sdk.agents.models.cloud_enterprise_agents import CloudEnterpri
|
||||
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:
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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
|
||||
|
||||
@ -30,7 +31,6 @@ from thousandeyes_sdk.agents.models.cloud_enterprise_agents import CloudEnterpri
|
||||
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:
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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
|
||||
|
||||
@ -26,7 +27,6 @@ from thousandeyes_sdk.agents.models.agent_proxies import AgentProxies
|
||||
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:
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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",
|
||||
@ -15,7 +17,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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
|
||||
|
||||
@ -29,7 +30,6 @@ from thousandeyes_sdk.alerts.models.rules import Rules
|
||||
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:
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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
|
||||
|
||||
@ -29,7 +30,6 @@ from thousandeyes_sdk.alerts.models.expand import Expand
|
||||
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:
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.alerts.models.alerts import Alerts
|
||||
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 AlertsApi:
|
||||
@ -41,7 +41,7 @@ class AlertsApi:
|
||||
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
|
||||
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
|
||||
|
||||
## Requirements.
|
||||
|
||||
Python 3.7+
|
||||
Python 3.8+
|
||||
|
||||
## Installation & Usage
|
||||
### pip install
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
[project]
|
||||
name = "thousandeyes-sdk-bgp-monitors"
|
||||
dynamic = ["version"]
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
|
||||
]
|
||||
description = "BGP Monitors API"
|
||||
license = { text = "../LICENSE" }
|
||||
description = "ThousandEyes SDK BGP Monitors API"
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">= 3.8"
|
||||
dependencies = [
|
||||
"urllib3 >= 1.25.3",
|
||||
"python-dateutil >=2.8.2",
|
||||
@ -15,7 +17,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.bgp_monitors.models
|
||||
|
||||
@ -26,7 +27,6 @@ from thousandeyes_sdk.bgp_monitors.models.monitors import Monitors
|
||||
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 ListBGPMonitorsApi:
|
||||
@ -39,7 +39,7 @@ class ListBGPMonitorsApi:
|
||||
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-bgp-monitors"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
|
||||
|
||||
## Requirements.
|
||||
|
||||
Python 3.7+
|
||||
Python 3.8+
|
||||
|
||||
## Installation & Usage
|
||||
### pip install
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
[project]
|
||||
name = "thousandeyes-sdk-credentials"
|
||||
dynamic = ["version"]
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
|
||||
]
|
||||
description = "Credentials API"
|
||||
license = { text = "../LICENSE" }
|
||||
description = "ThousandEyes SDK Credentials API"
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">= 3.8"
|
||||
dependencies = [
|
||||
"urllib3 >= 1.25.3",
|
||||
"python-dateutil >=2.8.2",
|
||||
@ -15,7 +17,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.credentials.models
|
||||
|
||||
@ -29,7 +30,6 @@ from thousandeyes_sdk.credentials.models.credentials import Credentials
|
||||
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 CredentialsApi:
|
||||
@ -42,7 +42,7 @@ class CredentialsApi:
|
||||
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-credentials"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
|
||||
|
||||
## Requirements.
|
||||
|
||||
Python 3.7+
|
||||
Python 3.8+
|
||||
|
||||
## Installation & Usage
|
||||
### pip install
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
[project]
|
||||
name = "thousandeyes-sdk-dashboards"
|
||||
dynamic = ["version"]
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
|
||||
]
|
||||
description = "Dashboards API"
|
||||
license = { text = "../LICENSE" }
|
||||
description = "ThousandEyes SDK Dashboards API"
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">= 3.8"
|
||||
dependencies = [
|
||||
"urllib3 >= 1.25.3",
|
||||
"python-dateutil >=2.8.2",
|
||||
@ -15,7 +17,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.dashboards.models
|
||||
|
||||
@ -31,7 +32,6 @@ from thousandeyes_sdk.dashboards.models.update_snapshot_expiration_date_api_requ
|
||||
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 DashboardSnapshotsApi:
|
||||
@ -44,7 +44,7 @@ class DashboardSnapshotsApi:
|
||||
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-dashboards"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.dashboards.models
|
||||
|
||||
@ -30,7 +31,6 @@ from thousandeyes_sdk.dashboards.models.dashboard_order import DashboardOrder
|
||||
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 DashboardsApi:
|
||||
@ -43,7 +43,7 @@ class DashboardsApi:
|
||||
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-dashboards"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.dashboards.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.dashboards.models.api_context_filters_response import ApiC
|
||||
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 DashboardsFiltersApi:
|
||||
@ -41,7 +41,7 @@ class DashboardsFiltersApi:
|
||||
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-dashboards"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
[project]
|
||||
name = "thousandeyes-sdk-endpoint-agents"
|
||||
dynamic = ["version"]
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
|
||||
]
|
||||
description = "Endpoint Agents API"
|
||||
license = { text = "../LICENSE" }
|
||||
description = "ThousandEyes SDK Endpoint Agents API"
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">= 3.8"
|
||||
dependencies = [
|
||||
"urllib3 >= 1.25.3",
|
||||
"python-dateutil >=2.8.2",
|
||||
@ -15,7 +17,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.endpoint_agents.models
|
||||
|
||||
@ -26,7 +27,6 @@ from thousandeyes_sdk.endpoint_agents.models.connection_string import Connection
|
||||
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 AdministrativeEndpointsApi:
|
||||
@ -39,7 +39,7 @@ class AdministrativeEndpointsApi:
|
||||
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-endpoint-agents"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.endpoint_agents.models
|
||||
|
||||
@ -31,7 +32,6 @@ from thousandeyes_sdk.endpoint_agents.models.list_endpoint_agents_response impor
|
||||
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 ManageAgentsApi:
|
||||
@ -44,7 +44,7 @@ class ManageAgentsApi:
|
||||
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-endpoint-agents"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.endpoint_agents.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.endpoint_agents.models.bulk_agent_transfer_response import
|
||||
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 TransferApi:
|
||||
@ -41,7 +41,7 @@ class TransferApi:
|
||||
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-endpoint-agents"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
|
||||
|
||||
## Requirements.
|
||||
|
||||
Python 3.7+
|
||||
Python 3.8+
|
||||
|
||||
## Installation & Usage
|
||||
### pip install
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
[project]
|
||||
name = "thousandeyes-sdk-endpoint-instant-tests"
|
||||
dynamic = ["version"]
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
|
||||
]
|
||||
description = "Endpoint Instant Scheduled Tests API"
|
||||
license = { text = "../LICENSE" }
|
||||
description = "ThousandEyes SDK Endpoint Instant Scheduled Tests API"
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">= 3.8"
|
||||
dependencies = [
|
||||
"urllib3 >= 1.25.3",
|
||||
"python-dateutil >=2.8.2",
|
||||
@ -15,7 +17,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.endpoint_instant_tests.models
|
||||
|
||||
@ -27,7 +28,6 @@ from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_agent_to_server_tes
|
||||
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 AgentToServerInstantScheduledTestApi:
|
||||
@ -40,7 +40,7 @@ class AgentToServerInstantScheduledTestApi:
|
||||
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-endpoint-instant-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.endpoint_instant_tests.models
|
||||
|
||||
@ -27,7 +28,6 @@ from thousandeyes_sdk.endpoint_instant_tests.models.endpoint_http_server_test im
|
||||
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 HttpServerInstantScheduledTestApi:
|
||||
@ -40,7 +40,7 @@ class HttpServerInstantScheduledTestApi:
|
||||
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-endpoint-instant-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.endpoint_instant_tests.models
|
||||
|
||||
@ -25,7 +26,6 @@ from typing_extensions import Annotated
|
||||
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 RunExistingTestApi:
|
||||
@ -38,7 +38,7 @@ class RunExistingTestApi:
|
||||
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-endpoint-instant-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
|
||||
|
||||
## Requirements.
|
||||
|
||||
Python 3.7+
|
||||
Python 3.8+
|
||||
|
||||
## Installation & Usage
|
||||
### pip install
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
[project]
|
||||
name = "thousandeyes-sdk-endpoint-labels"
|
||||
dynamic = ["version"]
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
|
||||
]
|
||||
description = "Endpoint Agent Labels API"
|
||||
license = { text = "../LICENSE" }
|
||||
description = "ThousandEyes SDK Endpoint Agent Labels API"
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">= 3.8"
|
||||
dependencies = [
|
||||
"urllib3 >= 1.25.3",
|
||||
"python-dateutil >=2.8.2",
|
||||
@ -15,7 +17,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.endpoint_labels.models
|
||||
|
||||
@ -30,7 +31,6 @@ from thousandeyes_sdk.endpoint_labels.models.labels import Labels
|
||||
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 ManageLabelsApi:
|
||||
@ -43,7 +43,7 @@ class ManageLabelsApi:
|
||||
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-endpoint-labels"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
|
||||
|
||||
## Requirements.
|
||||
|
||||
Python 3.7+
|
||||
Python 3.8+
|
||||
|
||||
## Installation & Usage
|
||||
### pip install
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
[project]
|
||||
name = "thousandeyes-sdk-endpoint-test-results"
|
||||
dynamic = ["version"]
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
|
||||
]
|
||||
description = "Endpoint Test Results API"
|
||||
license = { text = "../LICENSE" }
|
||||
description = "ThousandEyes SDK Endpoint Test Results API"
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">= 3.8"
|
||||
dependencies = [
|
||||
"urllib3 >= 1.25.3",
|
||||
"python-dateutil >=2.8.2",
|
||||
@ -15,7 +17,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.endpoint_test_results.models
|
||||
|
||||
@ -30,7 +31,6 @@ from thousandeyes_sdk.endpoint_test_results.models.local_network_topology_result
|
||||
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 LocalNetworkTestsResultsApi:
|
||||
@ -43,7 +43,7 @@ class LocalNetworkTestsResultsApi:
|
||||
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-endpoint-test-results"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.endpoint_test_results.models
|
||||
|
||||
@ -30,7 +31,6 @@ from thousandeyes_sdk.endpoint_test_results.models.path_vis_dynamic_test_results
|
||||
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 NetworkDynamicTestsResultsApi:
|
||||
@ -43,7 +43,7 @@ class NetworkDynamicTestsResultsApi:
|
||||
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-endpoint-test-results"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.endpoint_test_results.models
|
||||
|
||||
@ -32,7 +33,6 @@ from thousandeyes_sdk.endpoint_test_results.models.tests_data_rounds_search impo
|
||||
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 NetworkScheduledTestsResultsApi:
|
||||
@ -45,7 +45,7 @@ class NetworkScheduledTestsResultsApi:
|
||||
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-endpoint-test-results"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.endpoint_test_results.models
|
||||
|
||||
@ -33,7 +34,6 @@ from thousandeyes_sdk.endpoint_test_results.models.real_user_test_page_results i
|
||||
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 RealUserTestsResultsApi:
|
||||
@ -46,7 +46,7 @@ class RealUserTestsResultsApi:
|
||||
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-endpoint-test-results"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.endpoint_test_results.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.endpoint_test_results.models.http_test_results import Http
|
||||
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 WebHTTPServerScheduledTestResultsApi:
|
||||
@ -41,7 +41,7 @@ class WebHTTPServerScheduledTestResultsApi:
|
||||
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-endpoint-test-results"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
[project]
|
||||
name = "thousandeyes-sdk-endpoint-tests"
|
||||
dynamic = ["version"]
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
|
||||
]
|
||||
description = "Endpoint Tests API"
|
||||
license = { text = "../LICENSE" }
|
||||
description = "ThousandEyes SDK Endpoint Tests API"
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">= 3.8"
|
||||
dependencies = [
|
||||
"urllib3 >= 1.25.3",
|
||||
"python-dateutil >=2.8.2",
|
||||
@ -15,7 +17,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.endpoint_tests.models
|
||||
|
||||
@ -29,7 +30,6 @@ from thousandeyes_sdk.endpoint_tests.models.endpoint_dynamic_test_update import
|
||||
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 DynamicTestsAgentToServerApi:
|
||||
@ -42,7 +42,7 @@ class DynamicTestsAgentToServerApi:
|
||||
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-endpoint-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.endpoint_tests.models
|
||||
|
||||
@ -26,7 +27,6 @@ from thousandeyes_sdk.endpoint_tests.models.endpoint_tests import EndpointTests
|
||||
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 ListEndpointScheduledTestsApi:
|
||||
@ -39,7 +39,7 @@ class ListEndpointScheduledTestsApi:
|
||||
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-endpoint-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.endpoint_tests.models
|
||||
|
||||
@ -29,7 +30,6 @@ from thousandeyes_sdk.endpoint_tests.models.endpoint_network_test_update import
|
||||
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 ScheduledTestsAgentToServerApi:
|
||||
@ -42,7 +42,7 @@ class ScheduledTestsAgentToServerApi:
|
||||
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-endpoint-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.endpoint_tests.models
|
||||
|
||||
@ -29,7 +30,6 @@ from thousandeyes_sdk.endpoint_tests.models.endpoint_http_test_update import End
|
||||
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 ScheduledTestsHTTPServerApi:
|
||||
@ -42,7 +42,7 @@ class ScheduledTestsHTTPServerApi:
|
||||
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-endpoint-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
|
||||
|
||||
## Requirements.
|
||||
|
||||
Python 3.7+
|
||||
Python 3.8+
|
||||
|
||||
## Installation & Usage
|
||||
### pip install
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
[project]
|
||||
name = "thousandeyes-sdk-instant-tests"
|
||||
dynamic = ["version"]
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
|
||||
]
|
||||
description = "Instant Tests API"
|
||||
license = { text = "../LICENSE" }
|
||||
description = "ThousandEyes SDK Instant Tests API"
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">= 3.8"
|
||||
dependencies = [
|
||||
"urllib3 >= 1.25.3",
|
||||
"python-dateutil >=2.8.2",
|
||||
@ -15,7 +17,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.instant_tests.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.instant_tests.models.expand import Expand
|
||||
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 AgentToAgentApi:
|
||||
@ -41,7 +41,7 @@ class AgentToAgentApi:
|
||||
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-instant-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.instant_tests.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.instant_tests.models.expand import Expand
|
||||
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 AgentToServerApi:
|
||||
@ -41,7 +41,7 @@ class AgentToServerApi:
|
||||
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-instant-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.instant_tests.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.instant_tests.models.expand import Expand
|
||||
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 APIApi:
|
||||
@ -41,7 +41,7 @@ class APIApi:
|
||||
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-instant-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.instant_tests.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.instant_tests.models.expand import Expand
|
||||
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 DNSSecurityApi:
|
||||
@ -41,7 +41,7 @@ class DNSSecurityApi:
|
||||
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-instant-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.instant_tests.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.instant_tests.models.expand import Expand
|
||||
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 DNSServerApi:
|
||||
@ -41,7 +41,7 @@ class DNSServerApi:
|
||||
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-instant-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.instant_tests.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.instant_tests.models.expand import Expand
|
||||
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 DNSTraceApi:
|
||||
@ -41,7 +41,7 @@ class DNSTraceApi:
|
||||
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-instant-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.instant_tests.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.instant_tests.models.server_instant_test_request import Se
|
||||
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 FTPServerApi:
|
||||
@ -41,7 +41,7 @@ class FTPServerApi:
|
||||
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-instant-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.instant_tests.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.instant_tests.models.page_load_instant_test_request import
|
||||
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 HTTPPageLoadApi:
|
||||
@ -41,7 +41,7 @@ class HTTPPageLoadApi:
|
||||
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-instant-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.instant_tests.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.instant_tests.models.http_server_instant_test_request impo
|
||||
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 HTTPServerApi:
|
||||
@ -41,7 +41,7 @@ class HTTPServerApi:
|
||||
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-instant-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.instant_tests.models
|
||||
|
||||
@ -25,7 +26,6 @@ from typing_extensions import Annotated
|
||||
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 RunApi:
|
||||
@ -38,7 +38,7 @@ class RunApi:
|
||||
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-instant-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.instant_tests.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.instant_tests.models.sip_server_instant_test_response impo
|
||||
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 SIPServerApi:
|
||||
@ -41,7 +41,7 @@ class SIPServerApi:
|
||||
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-instant-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.instant_tests.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.instant_tests.models.voice_instant_test_request import Voi
|
||||
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 VoiceApi:
|
||||
@ -41,7 +41,7 @@ class VoiceApi:
|
||||
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-instant-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.instant_tests.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.instant_tests.models.web_transaction_instant_test_request
|
||||
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 WebTransactionApi:
|
||||
@ -41,7 +41,7 @@ class WebTransactionApi:
|
||||
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-instant-tests"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
|
||||
|
||||
## Requirements.
|
||||
|
||||
Python 3.7+
|
||||
Python 3.8+
|
||||
|
||||
## Installation & Usage
|
||||
### pip install
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
[project]
|
||||
name = "thousandeyes-sdk-internet-insights"
|
||||
dynamic = ["version"]
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
|
||||
]
|
||||
description = "Internet Insights API"
|
||||
license = { text = "../LICENSE" }
|
||||
description = "ThousandEyes SDK Internet Insights API"
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">= 3.8"
|
||||
dependencies = [
|
||||
"urllib3 >= 1.25.3",
|
||||
"python-dateutil >=2.8.2",
|
||||
@ -15,7 +17,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.internet_insights.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.internet_insights.models.api_catalog_provider_response imp
|
||||
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 CatalogProvidersApi:
|
||||
@ -41,7 +41,7 @@ class CatalogProvidersApi:
|
||||
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-internet-insights"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.internet_insights.models
|
||||
|
||||
@ -29,7 +30,6 @@ from thousandeyes_sdk.internet_insights.models.api_outages_response import ApiOu
|
||||
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 OutagesAPIPublicApi:
|
||||
@ -42,7 +42,7 @@ class OutagesAPIPublicApi:
|
||||
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-internet-insights"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
|
||||
|
||||
## Requirements.
|
||||
|
||||
Python 3.7+
|
||||
Python 3.8+
|
||||
|
||||
## Installation & Usage
|
||||
### pip install
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
[project]
|
||||
name = "thousandeyes-sdk-labels"
|
||||
dynamic = ["version"]
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
|
||||
]
|
||||
description = "Labels API"
|
||||
license = { text = "../LICENSE" }
|
||||
description = "ThousandEyes SDK Labels API"
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">= 3.8"
|
||||
dependencies = [
|
||||
"urllib3 >= 1.25.3",
|
||||
"python-dateutil >=2.8.2",
|
||||
@ -15,7 +17,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.labels.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.labels.models.labels import Labels
|
||||
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 AgentApi:
|
||||
@ -41,7 +41,7 @@ class AgentApi:
|
||||
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-labels"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.labels.models
|
||||
|
||||
@ -26,7 +27,6 @@ from thousandeyes_sdk.labels.models.labels import Labels
|
||||
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 AllLabelsApi:
|
||||
@ -39,7 +39,7 @@ class AllLabelsApi:
|
||||
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-labels"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.labels.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.labels.models.labels import Labels
|
||||
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 DashboardApi:
|
||||
@ -41,7 +41,7 @@ class DashboardApi:
|
||||
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-labels"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.labels.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.labels.models.labels import Labels
|
||||
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 EndpointTestApi:
|
||||
@ -41,7 +41,7 @@ class EndpointTestApi:
|
||||
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-labels"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.labels.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.labels.models.labels import Labels
|
||||
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 TestApi:
|
||||
@ -41,7 +41,7 @@ class TestApi:
|
||||
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-labels"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
|
||||
|
||||
## Requirements.
|
||||
|
||||
Python 3.7+
|
||||
Python 3.8+
|
||||
|
||||
## Installation & Usage
|
||||
### pip install
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
[project]
|
||||
name = "thousandeyes-sdk-snapshots"
|
||||
dynamic = ["version"]
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
|
||||
]
|
||||
description = "Test Snapshots API"
|
||||
license = { text = "../LICENSE" }
|
||||
description = "ThousandEyes SDK Test Snapshots API"
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">= 3.8"
|
||||
dependencies = [
|
||||
"urllib3 >= 1.25.3",
|
||||
"python-dateutil >=2.8.2",
|
||||
@ -15,7 +17,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.snapshots.models
|
||||
|
||||
@ -27,7 +28,6 @@ from thousandeyes_sdk.snapshots.models.snapshot_response import SnapshotResponse
|
||||
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 CreateTestSnapshotApi:
|
||||
@ -40,7 +40,7 @@ class CreateTestSnapshotApi:
|
||||
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-snapshots"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
|
||||
|
||||
## Requirements.
|
||||
|
||||
Python 3.7+
|
||||
Python 3.8+
|
||||
|
||||
## Installation & Usage
|
||||
### pip install
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
[project]
|
||||
name = "thousandeyes-sdk-streaming"
|
||||
dynamic = ["version"]
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
|
||||
]
|
||||
description = "ThousandEyes for OpenTelemetry API"
|
||||
license = { text = "../LICENSE" }
|
||||
description = "ThousandEyes SDK ThousandEyes for OpenTelemetry API"
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">= 3.8"
|
||||
dependencies = [
|
||||
"urllib3 >= 1.25.3",
|
||||
"python-dateutil >=2.8.2",
|
||||
@ -15,7 +17,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.streaming.models
|
||||
|
||||
@ -30,7 +31,6 @@ from thousandeyes_sdk.streaming.models.stream_type import StreamType
|
||||
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 StreamingApi:
|
||||
@ -43,7 +43,7 @@ class StreamingApi:
|
||||
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-streaming"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -22,7 +22,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
|
||||
|
||||
## Requirements.
|
||||
|
||||
Python 3.7+
|
||||
Python 3.8+
|
||||
|
||||
## Installation & Usage
|
||||
### pip install
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
[project]
|
||||
name = "thousandeyes-sdk-tags"
|
||||
dynamic = ["version"]
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
|
||||
]
|
||||
description = "Tags API"
|
||||
license = { text = "../LICENSE" }
|
||||
description = "ThousandEyes SDK Tags API"
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">= 3.8"
|
||||
dependencies = [
|
||||
"urllib3 >= 1.25.3",
|
||||
"python-dateutil >=2.8.2",
|
||||
@ -15,7 +17,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.tags.models
|
||||
|
||||
@ -27,7 +28,6 @@ from thousandeyes_sdk.tags.models.tag_assignment import TagAssignment
|
||||
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 TagAssignmentApi:
|
||||
@ -40,7 +40,7 @@ class TagAssignmentApi:
|
||||
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-tags"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.tags.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.tags.models.tag_info import TagInfo
|
||||
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 TagsApi:
|
||||
@ -41,7 +41,7 @@ class TagsApi:
|
||||
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-tags"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
|
||||
|
||||
## Requirements.
|
||||
|
||||
Python 3.7+
|
||||
Python 3.8+
|
||||
|
||||
## Installation & Usage
|
||||
### pip install
|
||||
|
||||
@ -1,11 +1,13 @@
|
||||
[project]
|
||||
name = "thousandeyes-sdk-test-results"
|
||||
dynamic = ["version"]
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
|
||||
]
|
||||
description = "Test Results API"
|
||||
license = { text = "../LICENSE" }
|
||||
description = "ThousandEyes SDK Test Results API"
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">= 3.8"
|
||||
dependencies = [
|
||||
"urllib3 >= 1.25.3",
|
||||
"python-dateutil >=2.8.2",
|
||||
@ -15,7 +17,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.test_results.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.test_results.models.api_test_results import ApiTestResults
|
||||
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 APITestMetricsApi:
|
||||
@ -41,7 +41,7 @@ class APITestMetricsApi:
|
||||
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-test-results"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.test_results.models
|
||||
|
||||
@ -27,7 +28,6 @@ from thousandeyes_sdk.test_results.models.dns_server_test_results import DnsServ
|
||||
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 DNSServerTestMetricsApi:
|
||||
@ -40,7 +40,7 @@ class DNSServerTestMetricsApi:
|
||||
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-test-results"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.test_results.models
|
||||
|
||||
@ -27,7 +28,6 @@ from thousandeyes_sdk.test_results.models.dns_trace_test_results import DnsTrace
|
||||
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 DNSTraceTestMetricsApi:
|
||||
@ -40,7 +40,7 @@ class DNSTraceTestMetricsApi:
|
||||
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-test-results"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.test_results.models
|
||||
|
||||
@ -27,7 +28,6 @@ from thousandeyes_sdk.test_results.models.dnssec_test_results import DnssecTestR
|
||||
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 DNSSECTestMetricsApi:
|
||||
@ -40,7 +40,7 @@ class DNSSECTestMetricsApi:
|
||||
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-test-results"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.test_results.models
|
||||
|
||||
@ -28,7 +29,6 @@ from thousandeyes_sdk.test_results.models.bgp_test_route_information_results imp
|
||||
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 NetworkBGPTestMetricsApi:
|
||||
@ -41,7 +41,7 @@ class NetworkBGPTestMetricsApi:
|
||||
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-test-results"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.test_results.models
|
||||
|
||||
@ -31,7 +32,6 @@ from thousandeyes_sdk.test_results.models.test_direction import TestDirection
|
||||
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 NetworkTestMetricsApi:
|
||||
@ -44,7 +44,7 @@ class NetworkTestMetricsApi:
|
||||
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-test-results"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ import warnings
|
||||
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.test_results.models
|
||||
|
||||
@ -27,7 +28,6 @@ from thousandeyes_sdk.test_results.models.rtp_stream_test_results import RtpStre
|
||||
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 VoiceRTPServerTestMetricsApi:
|
||||
@ -40,7 +40,7 @@ class VoiceRTPServerTestMetricsApi:
|
||||
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-test-results"))
|
||||
self.api_client = api_client
|
||||
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user