mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
Merge pull request #27 from joaomper-TE/CP-1897-1
CP-1897 Fix versioning issue.
This commit is contained in:
commit
1ab10818bf
@ -1,6 +0,0 @@
|
||||
[bumpversion]
|
||||
current_version = 1.0.0
|
||||
commit = False
|
||||
tag = False
|
||||
|
||||
[bumpversion:file:thousandeyes-sdk-core/src/thousandeyes_sdk/core/__init__.py]
|
||||
@ -1,4 +1,3 @@
|
||||
.openapi-generator-ignore
|
||||
README.md
|
||||
docs/AccountGroup.md
|
||||
docs/AccountGroupDetail.md
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
.openapi-generator-ignore
|
||||
README.md
|
||||
docs/AccountGroup.md
|
||||
docs/Agent.md
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
.openapi-generator-ignore
|
||||
README.md
|
||||
docs/Alert.md
|
||||
docs/AlertDetail.md
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
.openapi-generator-ignore
|
||||
README.md
|
||||
docs/Error.md
|
||||
docs/Link.md
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
3
thousandeyes-sdk-core/README.md
Normal file
3
thousandeyes-sdk-core/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# thousandeyes-sdk-core
|
||||
|
||||
This package provides core functionality for interacting with the ThousandEyes API and should be installed before using any of the published SDKs.
|
||||
@ -1,11 +1,13 @@
|
||||
[project]
|
||||
name = "thousandeyes-sdk-core"
|
||||
readme = "README.md"
|
||||
dynamic = ["version"]
|
||||
authors = [
|
||||
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
|
||||
]
|
||||
description = "ThousandEyes SDK Core"
|
||||
license = { text = "../LICENSE" }
|
||||
license = { file = "LICENSE" }
|
||||
requires-python = ">= 3.8"
|
||||
dependencies = [
|
||||
"urllib3 >= 1.25.3",
|
||||
"python-dateutil >=2.8.2",
|
||||
@ -18,7 +20,7 @@ where = ["src/"]
|
||||
include = ["thousandeyes_sdk.core"]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "thousandeyes_sdk.core.__version__"}
|
||||
version = {file = ".version"}
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = [
|
||||
|
||||
@ -18,8 +18,5 @@ from . import exceptions
|
||||
from .api_client import ApiClient
|
||||
from .api_response import ApiResponse
|
||||
from .configuration import Configuration
|
||||
from .version import Version
|
||||
|
||||
import os.path
|
||||
|
||||
__version__ = "1.0.0"
|
||||
|
||||
@ -1,22 +0,0 @@
|
||||
# Copyright 2024 Cisco Systems, Inc. and its affiliates
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import thousandeyes_sdk.core
|
||||
|
||||
class Version:
|
||||
@staticmethod
|
||||
def get() -> str:
|
||||
return thousandeyes_sdk.core.__version__
|
||||
@ -1,4 +1,3 @@
|
||||
.openapi-generator-ignore
|
||||
README.md
|
||||
docs/Credential.md
|
||||
docs/CredentialRequest.md
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
.openapi-generator-ignore
|
||||
README.md
|
||||
docs/ActiveWithin.md
|
||||
docs/AgentStatusDatasource.md
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
.openapi-generator-ignore
|
||||
README.md
|
||||
docs/AddressProfile.md
|
||||
docs/AddressType.md
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
.openapi-generator-ignore
|
||||
README.md
|
||||
docs/AgentToServerInstantScheduledTestApi.md
|
||||
docs/AlertDirection.md
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
.openapi-generator-ignore
|
||||
README.md
|
||||
docs/Error.md
|
||||
docs/Expand.md
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
.openapi-generator-ignore
|
||||
README.md
|
||||
docs/AlertDirection.md
|
||||
docs/AlertRoundsViolationMode.md
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
.openapi-generator-ignore
|
||||
README.md
|
||||
docs/AlertDirection.md
|
||||
docs/AlertRoundsViolationMode.md
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
.openapi-generator-ignore
|
||||
README.md
|
||||
docs/APIApi.md
|
||||
docs/Agent.md
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
.openapi-generator-ignore
|
||||
README.md
|
||||
docs/ApiAffectedAgent.md
|
||||
docs/ApiAffectedTest.md
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
.openapi-generator-ignore
|
||||
README.md
|
||||
docs/AgentApi.md
|
||||
docs/AllLabelsApi.md
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user