Merge pull request #27 from joaomper-TE/CP-1897-1

CP-1897 Fix versioning issue.
This commit is contained in:
João Malés 2024-07-08 14:14:32 +01:00 committed by GitHub
commit 1ab10818bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
151 changed files with 299 additions and 305 deletions

View File

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

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
README.md README.md
docs/AccountGroup.md docs/AccountGroup.md
docs/AccountGroupDetail.md docs/AccountGroupDetail.md

View File

@ -18,7 +18,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
## Requirements. ## Requirements.
Python 3.7+ Python 3.8+
## Installation & Usage ## Installation & Usage
### pip install ### pip install

View File

@ -1,11 +1,13 @@
[project] [project]
name = "thousandeyes-sdk-administrative" name = "thousandeyes-sdk-administrative"
dynamic = ["version"] dynamic = ["version"]
readme = "README.md"
authors = [ authors = [
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" } { name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
] ]
description = "Administrative API" description = "ThousandEyes SDK Administrative API"
license = { text = "../LICENSE" } license = { file = "LICENSE" }
requires-python = ">= 3.8"
dependencies = [ dependencies = [
"urllib3 >= 1.25.3", "urllib3 >= 1.25.3",
"python-dateutil >=2.8.2", "python-dateutil >=2.8.2",
@ -15,7 +17,7 @@ dependencies = [
] ]
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "thousandeyes_sdk.core.__version__"} version = {file = ".version"}
[project.optional-dependencies] [project.optional-dependencies]
test = [ test = [

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.administrative.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class AccountGroupsApi: class AccountGroupsApi:
@ -43,7 +43,7 @@ class AccountGroupsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.administrative.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class PermissionsApi: class PermissionsApi:
@ -39,7 +39,7 @@ class PermissionsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.administrative.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class RolesApi: class RolesApi:
@ -41,7 +41,7 @@ class RolesApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.administrative.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class UserEventsApi: class UserEventsApi:
@ -40,7 +40,7 @@ class UserEventsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.administrative.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class UsersApi: class UsersApi:
@ -42,7 +42,7 @@ class UsersApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
README.md README.md
docs/AccountGroup.md docs/AccountGroup.md
docs/Agent.md docs/Agent.md

View File

@ -11,7 +11,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
## Requirements. ## Requirements.
Python 3.7+ Python 3.8+
## Installation & Usage ## Installation & Usage
### pip install ### pip install

View File

@ -1,11 +1,13 @@
[project] [project]
name = "thousandeyes-sdk-agents" name = "thousandeyes-sdk-agents"
dynamic = ["version"] dynamic = ["version"]
readme = "README.md"
authors = [ authors = [
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" } { name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
] ]
description = "Agents API" description = "ThousandEyes SDK Agents API"
license = { text = "../LICENSE" } license = { file = "LICENSE" }
requires-python = ">= 3.8"
dependencies = [ dependencies = [
"urllib3 >= 1.25.3", "urllib3 >= 1.25.3",
"python-dateutil >=2.8.2", "python-dateutil >=2.8.2",
@ -15,7 +17,7 @@ dependencies = [
] ]
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "thousandeyes_sdk.core.__version__"} version = {file = ".version"}
[project.optional-dependencies] [project.optional-dependencies]
test = [ test = [

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.agents.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class CloudAndEnterpriseAgentNotificationRulesApi: class CloudAndEnterpriseAgentNotificationRulesApi:
@ -40,7 +40,7 @@ class CloudAndEnterpriseAgentNotificationRulesApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.agents.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class CloudAndEnterpriseAgentsApi: class CloudAndEnterpriseAgentsApi:
@ -44,7 +44,7 @@ class CloudAndEnterpriseAgentsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.agents.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class EnterpriseAgentClusterApi: class EnterpriseAgentClusterApi:
@ -43,7 +43,7 @@ class EnterpriseAgentClusterApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.agents.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class ProxiesApi: class ProxiesApi:
@ -39,7 +39,7 @@ class ProxiesApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
README.md README.md
docs/Alert.md docs/Alert.md
docs/AlertDetail.md docs/AlertDetail.md

View File

@ -18,7 +18,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
## Requirements. ## Requirements.
Python 3.7+ Python 3.8+
## Installation & Usage ## Installation & Usage
### pip install ### pip install

View File

@ -1,11 +1,13 @@
[project] [project]
name = "thousandeyes-sdk-alerts" name = "thousandeyes-sdk-alerts"
dynamic = ["version"] dynamic = ["version"]
readme = "README.md"
authors = [ authors = [
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" } { name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
] ]
description = "Alerts API" description = "ThousandEyes SDK Alerts API"
license = { text = "../LICENSE" } license = { file = "LICENSE" }
requires-python = ">= 3.8"
dependencies = [ dependencies = [
"urllib3 >= 1.25.3", "urllib3 >= 1.25.3",
"python-dateutil >=2.8.2", "python-dateutil >=2.8.2",
@ -15,7 +17,7 @@ dependencies = [
] ]
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "thousandeyes_sdk.core.__version__"} version = {file = ".version"}
[project.optional-dependencies] [project.optional-dependencies]
test = [ test = [

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.alerts.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class AlertRulesApi: class AlertRulesApi:
@ -42,7 +42,7 @@ class AlertRulesApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.alerts.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class AlertSuppressionWindowsApi: class AlertSuppressionWindowsApi:
@ -42,7 +42,7 @@ class AlertSuppressionWindowsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.alerts.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class AlertsApi: class AlertsApi:
@ -41,7 +41,7 @@ class AlertsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
README.md README.md
docs/Error.md docs/Error.md
docs/Link.md docs/Link.md

View File

@ -15,7 +15,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
## Requirements. ## Requirements.
Python 3.7+ Python 3.8+
## Installation & Usage ## Installation & Usage
### pip install ### pip install

View File

@ -1,11 +1,13 @@
[project] [project]
name = "thousandeyes-sdk-bgp-monitors" name = "thousandeyes-sdk-bgp-monitors"
dynamic = ["version"] dynamic = ["version"]
readme = "README.md"
authors = [ authors = [
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" } { name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
] ]
description = "BGP Monitors API" description = "ThousandEyes SDK BGP Monitors API"
license = { text = "../LICENSE" } license = { file = "LICENSE" }
requires-python = ">= 3.8"
dependencies = [ dependencies = [
"urllib3 >= 1.25.3", "urllib3 >= 1.25.3",
"python-dateutil >=2.8.2", "python-dateutil >=2.8.2",
@ -15,7 +17,7 @@ dependencies = [
] ]
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "thousandeyes_sdk.core.__version__"} version = {file = ".version"}
[project.optional-dependencies] [project.optional-dependencies]
test = [ test = [

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.bgp_monitors.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class ListBGPMonitorsApi: class ListBGPMonitorsApi:
@ -39,7 +39,7 @@ class ListBGPMonitorsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View 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.

View File

@ -1,11 +1,13 @@
[project] [project]
name = "thousandeyes-sdk-core" name = "thousandeyes-sdk-core"
readme = "README.md"
dynamic = ["version"] dynamic = ["version"]
authors = [ authors = [
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" } { name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
] ]
description = "ThousandEyes SDK Core" description = "ThousandEyes SDK Core"
license = { text = "../LICENSE" } license = { file = "LICENSE" }
requires-python = ">= 3.8"
dependencies = [ dependencies = [
"urllib3 >= 1.25.3", "urllib3 >= 1.25.3",
"python-dateutil >=2.8.2", "python-dateutil >=2.8.2",
@ -18,7 +20,7 @@ where = ["src/"]
include = ["thousandeyes_sdk.core"] include = ["thousandeyes_sdk.core"]
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "thousandeyes_sdk.core.__version__"} version = {file = ".version"}
[project.optional-dependencies] [project.optional-dependencies]
test = [ test = [

View File

@ -18,8 +18,5 @@ from . import exceptions
from .api_client import ApiClient from .api_client import ApiClient
from .api_response import ApiResponse from .api_response import ApiResponse
from .configuration import Configuration from .configuration import Configuration
from .version import Version
import os.path import os.path
__version__ = "1.0.0"

View File

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

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
README.md README.md
docs/Credential.md docs/Credential.md
docs/CredentialRequest.md docs/CredentialRequest.md

View File

@ -19,7 +19,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
## Requirements. ## Requirements.
Python 3.7+ Python 3.8+
## Installation & Usage ## Installation & Usage
### pip install ### pip install

View File

@ -1,11 +1,13 @@
[project] [project]
name = "thousandeyes-sdk-credentials" name = "thousandeyes-sdk-credentials"
dynamic = ["version"] dynamic = ["version"]
readme = "README.md"
authors = [ authors = [
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" } { name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
] ]
description = "Credentials API" description = "ThousandEyes SDK Credentials API"
license = { text = "../LICENSE" } license = { file = "LICENSE" }
requires-python = ">= 3.8"
dependencies = [ dependencies = [
"urllib3 >= 1.25.3", "urllib3 >= 1.25.3",
"python-dateutil >=2.8.2", "python-dateutil >=2.8.2",
@ -15,7 +17,7 @@ dependencies = [
] ]
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "thousandeyes_sdk.core.__version__"} version = {file = ".version"}
[project.optional-dependencies] [project.optional-dependencies]
test = [ test = [

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.credentials.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class CredentialsApi: class CredentialsApi:
@ -42,7 +42,7 @@ class CredentialsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
README.md README.md
docs/ActiveWithin.md docs/ActiveWithin.md
docs/AgentStatusDatasource.md docs/AgentStatusDatasource.md

View File

@ -9,7 +9,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
## Requirements. ## Requirements.
Python 3.7+ Python 3.8+
## Installation & Usage ## Installation & Usage
### pip install ### pip install

View File

@ -1,11 +1,13 @@
[project] [project]
name = "thousandeyes-sdk-dashboards" name = "thousandeyes-sdk-dashboards"
dynamic = ["version"] dynamic = ["version"]
readme = "README.md"
authors = [ authors = [
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" } { name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
] ]
description = "Dashboards API" description = "ThousandEyes SDK Dashboards API"
license = { text = "../LICENSE" } license = { file = "LICENSE" }
requires-python = ">= 3.8"
dependencies = [ dependencies = [
"urllib3 >= 1.25.3", "urllib3 >= 1.25.3",
"python-dateutil >=2.8.2", "python-dateutil >=2.8.2",
@ -15,7 +17,7 @@ dependencies = [
] ]
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "thousandeyes_sdk.core.__version__"} version = {file = ".version"}
[project.optional-dependencies] [project.optional-dependencies]
test = [ test = [

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.dashboards.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class DashboardSnapshotsApi: class DashboardSnapshotsApi:
@ -44,7 +44,7 @@ class DashboardSnapshotsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.dashboards.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class DashboardsApi: class DashboardsApi:
@ -43,7 +43,7 @@ class DashboardsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.dashboards.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class DashboardsFiltersApi: class DashboardsFiltersApi:
@ -41,7 +41,7 @@ class DashboardsFiltersApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
README.md README.md
docs/AddressProfile.md docs/AddressProfile.md
docs/AddressType.md docs/AddressType.md

View File

@ -11,7 +11,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
## Requirements. ## Requirements.
Python 3.7+ Python 3.8+
## Installation & Usage ## Installation & Usage
### pip install ### pip install

View File

@ -1,11 +1,13 @@
[project] [project]
name = "thousandeyes-sdk-endpoint-agents" name = "thousandeyes-sdk-endpoint-agents"
dynamic = ["version"] dynamic = ["version"]
readme = "README.md"
authors = [ authors = [
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" } { name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
] ]
description = "Endpoint Agents API" description = "ThousandEyes SDK Endpoint Agents API"
license = { text = "../LICENSE" } license = { file = "LICENSE" }
requires-python = ">= 3.8"
dependencies = [ dependencies = [
"urllib3 >= 1.25.3", "urllib3 >= 1.25.3",
"python-dateutil >=2.8.2", "python-dateutil >=2.8.2",
@ -15,7 +17,7 @@ dependencies = [
] ]
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "thousandeyes_sdk.core.__version__"} version = {file = ".version"}
[project.optional-dependencies] [project.optional-dependencies]
test = [ test = [

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.endpoint_agents.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class AdministrativeEndpointsApi: class AdministrativeEndpointsApi:
@ -39,7 +39,7 @@ class AdministrativeEndpointsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.endpoint_agents.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class ManageAgentsApi: class ManageAgentsApi:
@ -44,7 +44,7 @@ class ManageAgentsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.endpoint_agents.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class TransferApi: class TransferApi:
@ -41,7 +41,7 @@ class TransferApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
README.md README.md
docs/AgentToServerInstantScheduledTestApi.md docs/AgentToServerInstantScheduledTestApi.md
docs/AlertDirection.md docs/AlertDirection.md

View File

@ -19,7 +19,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
## Requirements. ## Requirements.
Python 3.7+ Python 3.8+
## Installation & Usage ## Installation & Usage
### pip install ### pip install

View File

@ -1,11 +1,13 @@
[project] [project]
name = "thousandeyes-sdk-endpoint-instant-tests" name = "thousandeyes-sdk-endpoint-instant-tests"
dynamic = ["version"] dynamic = ["version"]
readme = "README.md"
authors = [ authors = [
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" } { name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
] ]
description = "Endpoint Instant Scheduled Tests API" description = "ThousandEyes SDK Endpoint Instant Scheduled Tests API"
license = { text = "../LICENSE" } license = { file = "LICENSE" }
requires-python = ">= 3.8"
dependencies = [ dependencies = [
"urllib3 >= 1.25.3", "urllib3 >= 1.25.3",
"python-dateutil >=2.8.2", "python-dateutil >=2.8.2",
@ -15,7 +17,7 @@ dependencies = [
] ]
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "thousandeyes_sdk.core.__version__"} version = {file = ".version"}
[project.optional-dependencies] [project.optional-dependencies]
test = [ test = [

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.endpoint_instant_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class AgentToServerInstantScheduledTestApi: class AgentToServerInstantScheduledTestApi:
@ -40,7 +40,7 @@ class AgentToServerInstantScheduledTestApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.endpoint_instant_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class HttpServerInstantScheduledTestApi: class HttpServerInstantScheduledTestApi:
@ -40,7 +40,7 @@ class HttpServerInstantScheduledTestApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.endpoint_instant_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class RunExistingTestApi: class RunExistingTestApi:
@ -38,7 +38,7 @@ class RunExistingTestApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
README.md README.md
docs/Error.md docs/Error.md
docs/Expand.md docs/Expand.md

View File

@ -10,7 +10,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
## Requirements. ## Requirements.
Python 3.7+ Python 3.8+
## Installation & Usage ## Installation & Usage
### pip install ### pip install

View File

@ -1,11 +1,13 @@
[project] [project]
name = "thousandeyes-sdk-endpoint-labels" name = "thousandeyes-sdk-endpoint-labels"
dynamic = ["version"] dynamic = ["version"]
readme = "README.md"
authors = [ authors = [
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" } { name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
] ]
description = "Endpoint Agent Labels API" description = "ThousandEyes SDK Endpoint Agent Labels API"
license = { text = "../LICENSE" } license = { file = "LICENSE" }
requires-python = ">= 3.8"
dependencies = [ dependencies = [
"urllib3 >= 1.25.3", "urllib3 >= 1.25.3",
"python-dateutil >=2.8.2", "python-dateutil >=2.8.2",
@ -15,7 +17,7 @@ dependencies = [
] ]
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "thousandeyes_sdk.core.__version__"} version = {file = ".version"}
[project.optional-dependencies] [project.optional-dependencies]
test = [ test = [

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.endpoint_labels.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class ManageLabelsApi: class ManageLabelsApi:
@ -43,7 +43,7 @@ class ManageLabelsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
README.md README.md
docs/AlertDirection.md docs/AlertDirection.md
docs/AlertRoundsViolationMode.md docs/AlertRoundsViolationMode.md

View File

@ -9,7 +9,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
## Requirements. ## Requirements.
Python 3.7+ Python 3.8+
## Installation & Usage ## Installation & Usage
### pip install ### pip install

View File

@ -1,11 +1,13 @@
[project] [project]
name = "thousandeyes-sdk-endpoint-test-results" name = "thousandeyes-sdk-endpoint-test-results"
dynamic = ["version"] dynamic = ["version"]
readme = "README.md"
authors = [ authors = [
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" } { name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
] ]
description = "Endpoint Test Results API" description = "ThousandEyes SDK Endpoint Test Results API"
license = { text = "../LICENSE" } license = { file = "LICENSE" }
requires-python = ">= 3.8"
dependencies = [ dependencies = [
"urllib3 >= 1.25.3", "urllib3 >= 1.25.3",
"python-dateutil >=2.8.2", "python-dateutil >=2.8.2",
@ -15,7 +17,7 @@ dependencies = [
] ]
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "thousandeyes_sdk.core.__version__"} version = {file = ".version"}
[project.optional-dependencies] [project.optional-dependencies]
test = [ test = [

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.endpoint_test_results.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class LocalNetworkTestsResultsApi: class LocalNetworkTestsResultsApi:
@ -43,7 +43,7 @@ class LocalNetworkTestsResultsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.endpoint_test_results.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class NetworkDynamicTestsResultsApi: class NetworkDynamicTestsResultsApi:
@ -43,7 +43,7 @@ class NetworkDynamicTestsResultsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.endpoint_test_results.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class NetworkScheduledTestsResultsApi: class NetworkScheduledTestsResultsApi:
@ -45,7 +45,7 @@ class NetworkScheduledTestsResultsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.endpoint_test_results.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class RealUserTestsResultsApi: class RealUserTestsResultsApi:
@ -46,7 +46,7 @@ class RealUserTestsResultsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.endpoint_test_results.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class WebHTTPServerScheduledTestResultsApi: class WebHTTPServerScheduledTestResultsApi:
@ -41,7 +41,7 @@ class WebHTTPServerScheduledTestResultsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
README.md README.md
docs/AlertDirection.md docs/AlertDirection.md
docs/AlertRoundsViolationMode.md docs/AlertRoundsViolationMode.md

View File

@ -11,7 +11,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
## Requirements. ## Requirements.
Python 3.7+ Python 3.8+
## Installation & Usage ## Installation & Usage
### pip install ### pip install

View File

@ -1,11 +1,13 @@
[project] [project]
name = "thousandeyes-sdk-endpoint-tests" name = "thousandeyes-sdk-endpoint-tests"
dynamic = ["version"] dynamic = ["version"]
readme = "README.md"
authors = [ authors = [
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" } { name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
] ]
description = "Endpoint Tests API" description = "ThousandEyes SDK Endpoint Tests API"
license = { text = "../LICENSE" } license = { file = "LICENSE" }
requires-python = ">= 3.8"
dependencies = [ dependencies = [
"urllib3 >= 1.25.3", "urllib3 >= 1.25.3",
"python-dateutil >=2.8.2", "python-dateutil >=2.8.2",
@ -15,7 +17,7 @@ dependencies = [
] ]
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "thousandeyes_sdk.core.__version__"} version = {file = ".version"}
[project.optional-dependencies] [project.optional-dependencies]
test = [ test = [

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.endpoint_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class DynamicTestsAgentToServerApi: class DynamicTestsAgentToServerApi:
@ -42,7 +42,7 @@ class DynamicTestsAgentToServerApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.endpoint_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class ListEndpointScheduledTestsApi: class ListEndpointScheduledTestsApi:
@ -39,7 +39,7 @@ class ListEndpointScheduledTestsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.endpoint_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class ScheduledTestsAgentToServerApi: class ScheduledTestsAgentToServerApi:
@ -42,7 +42,7 @@ class ScheduledTestsAgentToServerApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.endpoint_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class ScheduledTestsHTTPServerApi: class ScheduledTestsHTTPServerApi:
@ -42,7 +42,7 @@ class ScheduledTestsHTTPServerApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
README.md README.md
docs/APIApi.md docs/APIApi.md
docs/Agent.md docs/Agent.md

View File

@ -14,7 +14,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
## Requirements. ## Requirements.
Python 3.7+ Python 3.8+
## Installation & Usage ## Installation & Usage
### pip install ### pip install

View File

@ -1,11 +1,13 @@
[project] [project]
name = "thousandeyes-sdk-instant-tests" name = "thousandeyes-sdk-instant-tests"
dynamic = ["version"] dynamic = ["version"]
readme = "README.md"
authors = [ authors = [
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" } { name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
] ]
description = "Instant Tests API" description = "ThousandEyes SDK Instant Tests API"
license = { text = "../LICENSE" } license = { file = "LICENSE" }
requires-python = ">= 3.8"
dependencies = [ dependencies = [
"urllib3 >= 1.25.3", "urllib3 >= 1.25.3",
"python-dateutil >=2.8.2", "python-dateutil >=2.8.2",
@ -15,7 +17,7 @@ dependencies = [
] ]
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "thousandeyes_sdk.core.__version__"} version = {file = ".version"}
[project.optional-dependencies] [project.optional-dependencies]
test = [ test = [

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.instant_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class AgentToAgentApi: class AgentToAgentApi:
@ -41,7 +41,7 @@ class AgentToAgentApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.instant_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class AgentToServerApi: class AgentToServerApi:
@ -41,7 +41,7 @@ class AgentToServerApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.instant_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class APIApi: class APIApi:
@ -41,7 +41,7 @@ class APIApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.instant_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class DNSSecurityApi: class DNSSecurityApi:
@ -41,7 +41,7 @@ class DNSSecurityApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.instant_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class DNSServerApi: class DNSServerApi:
@ -41,7 +41,7 @@ class DNSServerApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.instant_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class DNSTraceApi: class DNSTraceApi:
@ -41,7 +41,7 @@ class DNSTraceApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.instant_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class FTPServerApi: class FTPServerApi:
@ -41,7 +41,7 @@ class FTPServerApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.instant_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class HTTPPageLoadApi: class HTTPPageLoadApi:
@ -41,7 +41,7 @@ class HTTPPageLoadApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.instant_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class HTTPServerApi: class HTTPServerApi:
@ -41,7 +41,7 @@ class HTTPServerApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.instant_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class RunApi: class RunApi:
@ -38,7 +38,7 @@ class RunApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.instant_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class SIPServerApi: class SIPServerApi:
@ -41,7 +41,7 @@ class SIPServerApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.instant_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class VoiceApi: class VoiceApi:
@ -41,7 +41,7 @@ class VoiceApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.instant_tests.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class WebTransactionApi: class WebTransactionApi:
@ -41,7 +41,7 @@ class WebTransactionApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
README.md README.md
docs/ApiAffectedAgent.md docs/ApiAffectedAgent.md
docs/ApiAffectedTest.md docs/ApiAffectedTest.md

View File

@ -20,7 +20,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
## Requirements. ## Requirements.
Python 3.7+ Python 3.8+
## Installation & Usage ## Installation & Usage
### pip install ### pip install

View File

@ -1,11 +1,13 @@
[project] [project]
name = "thousandeyes-sdk-internet-insights" name = "thousandeyes-sdk-internet-insights"
dynamic = ["version"] dynamic = ["version"]
readme = "README.md"
authors = [ authors = [
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" } { name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
] ]
description = "Internet Insights API" description = "ThousandEyes SDK Internet Insights API"
license = { text = "../LICENSE" } license = { file = "LICENSE" }
requires-python = ">= 3.8"
dependencies = [ dependencies = [
"urllib3 >= 1.25.3", "urllib3 >= 1.25.3",
"python-dateutil >=2.8.2", "python-dateutil >=2.8.2",
@ -15,7 +17,7 @@ dependencies = [
] ]
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "thousandeyes_sdk.core.__version__"} version = {file = ".version"}
[project.optional-dependencies] [project.optional-dependencies]
test = [ test = [

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.internet_insights.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class CatalogProvidersApi: class CatalogProvidersApi:
@ -41,7 +41,7 @@ class CatalogProvidersApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.internet_insights.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class OutagesAPIPublicApi: class OutagesAPIPublicApi:
@ -42,7 +42,7 @@ class OutagesAPIPublicApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -1,4 +1,3 @@
.openapi-generator-ignore
README.md README.md
docs/AgentApi.md docs/AgentApi.md
docs/AllLabelsApi.md docs/AllLabelsApi.md

View File

@ -10,7 +10,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
## Requirements. ## Requirements.
Python 3.7+ Python 3.8+
## Installation & Usage ## Installation & Usage
### pip install ### pip install

View File

@ -1,11 +1,13 @@
[project] [project]
name = "thousandeyes-sdk-labels" name = "thousandeyes-sdk-labels"
dynamic = ["version"] dynamic = ["version"]
readme = "README.md"
authors = [ authors = [
{ name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" } { name = "ThousandEyes API Team", email = "api-team@thousandeyes.com" }
] ]
description = "Labels API" description = "ThousandEyes SDK Labels API"
license = { text = "../LICENSE" } license = { file = "LICENSE" }
requires-python = ">= 3.8"
dependencies = [ dependencies = [
"urllib3 >= 1.25.3", "urllib3 >= 1.25.3",
"python-dateutil >=2.8.2", "python-dateutil >=2.8.2",
@ -15,7 +17,7 @@ dependencies = [
] ]
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
version = {attr = "thousandeyes_sdk.core.__version__"} version = {file = ".version"}
[project.optional-dependencies] [project.optional-dependencies]
test = [ test = [

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.labels.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class AgentApi: class AgentApi:
@ -41,7 +41,7 @@ class AgentApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.labels.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class AllLabelsApi: class AllLabelsApi:
@ -39,7 +39,7 @@ class AllLabelsApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.labels.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class DashboardApi: class DashboardApi:
@ -41,7 +41,7 @@ class DashboardApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.labels.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class EndpointTestApi: class EndpointTestApi:
@ -41,7 +41,7 @@ class EndpointTestApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

View File

@ -15,6 +15,7 @@ import warnings
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
from typing import Any, Dict, List, Optional, Tuple, Union from typing import Any, Dict, List, Optional, Tuple, Union
from typing_extensions import Annotated from typing_extensions import Annotated
from importlib.metadata import version
import thousandeyes_sdk.labels.models 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_client import ApiClient, RequestSerialized
from thousandeyes_sdk.core.api_response import ApiResponse from thousandeyes_sdk.core.api_response import ApiResponse
from thousandeyes_sdk.core.rest import RESTResponseType from thousandeyes_sdk.core.rest import RESTResponseType
from thousandeyes_sdk.core.version import Version
class TestApi: class TestApi:
@ -41,7 +41,7 @@ class TestApi:
def __init__(self, api_client=None) -> None: def __init__(self, api_client=None) -> None:
if api_client is None: if api_client is None:
api_client = ApiClient.get_default() 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 self.api_client = api_client

Some files were not shown because too many files have changed in this diff Show More