Skip to content

Commit ffda735

Browse files
committed
Update the python-sdk to 1.0.5 and fix the service.py
1 parent ffee4bf commit ffda735

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

.openapi-generator-ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ openapi-generator-config.json
3131
# application_resources_api.py - No longer needed, new spec fixes the API design
3232
# tag_filter.py - STILL NEEDED: New spec uses Dict[str, Any] which doesn't support string/int/bool values
3333
instana_client/models/tag_filter.py
34+
instana_client/models/service.py

instana_client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
""" # noqa: E501
1616

1717

18-
__version__ = "1.0.4"
18+
__version__ = "1.0.5"
1919

2020
# Define package exports
2121
__all__ = [

instana_client/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def __init__(
9292
self.default_headers[header_name] = header_value
9393
self.cookie = cookie
9494
# Set default User-Agent.
95-
self.user_agent = 'OpenAPI-Generator/1.0.4/python'
95+
self.user_agent = 'OpenAPI-Generator/1.0.5/python'
9696
self.client_side_validation = configuration.client_side_validation
9797

9898
def __enter__(self):

instana_client/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ def to_debug_report(self) -> str:
536536
"OS: {env}\n"\
537537
"Python Version: {pyversion}\n"\
538538
"Version of the API: 1.315.1425\n"\
539-
"SDK Package Version: 1.0.4".\
539+
"SDK Package Version: 1.0.5".\
540540
format(env=sys.platform, pyversion=sys.version)
541541

542542
def get_host_settings(self) -> List[HostSetting]:

instana_client/models/service.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ class Service(BaseModel):
3232
id: Annotated[str, Field(min_length=1, strict=True)] = Field(description="Unique ID of the Service. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`.")
3333
label: Annotated[str, Field(min_length=1, strict=True)] = Field(description="Name of the Service. Eg: `payment`.")
3434
snapshot_ids: List[StrictStr] = Field(description="A unique identifier the metrics are assigned to.", alias="snapshotIds")
35-
technologies: List[StrictStr] = Field(description="List of technologies: `Eg:[\"springbootApplicationContainer\"]`")
36-
types: List[StrictStr] = Field(description="Shows types of Endpoints a Service can consist of. It may be one or more. Eg: `HTTP` `OPENTELEMETRY` can be in 1 Service.")
35+
technologies: Optional[List[StrictStr]] = Field(default=None, description="List of technologies: `Eg:[\"springbootApplicationContainer\"]`") types: List[StrictStr] = Field(description="Shows types of Endpoints a Service can consist of. It may be one or more. Eg: `HTTP` `OPENTELEMETRY` can be in 1 Service.")
3736
__properties: ClassVar[List[str]] = ["entityType", "id", "label", "snapshotIds", "technologies", "types"]
3837

3938
@field_validator('entity_type')

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "instana_client"
3-
version = "1.0.4"
3+
version = "1.0.5"
44
description = "Instana REST API documentation"
55
authors = [
66
{name = "© Instana",email = "support@instana.com"},

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# prerequisite: setuptools
2323
# http://pypi.python.org/pypi/setuptools
2424
NAME = "instana-client"
25-
VERSION = "1.0.4"
25+
VERSION = "1.0.5"
2626
PYTHON_REQUIRES = ">= 3.9"
2727
REQUIRES = [
2828
"urllib3 >= 2.1.0, < 3.0.0",

0 commit comments

Comments
 (0)