Skip to content

Commit 1612080

Browse files
authored
Merge pull request #9 from miruml/release-please--branches--main--changes--next
release: 0.6.1
2 parents 62e74f3 + 437c389 commit 1612080

17 files changed

+39
-106
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.6.0"
2+
".": "0.6.1"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 14
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/miru-ml%2Fmiru-server-f83963fba7bea9fcb404a2a9f23e1dc72d095a723e3f0d80908d9403418defed.yml
3-
openapi_spec_hash: 338aed81ffea9410ecd43393094977bf
4-
config_hash: 12fa4b9e99bf5317506a12aa9fecf73b
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/miru-ml%2Fmiru-server-e8b887c478291aecbbf06e532903242a5d5ff682a2a6814921bb770c97a1753d.yml
3+
openapi_spec_hash: b15141c2e0e81b8029c620d4aef4188c
4+
config_hash: c1d1c4ffd4bc69023d6bf98b1bbc4304

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## 0.6.1 (2025-10-21)
4+
5+
Full Changelog: [v0.6.0...v0.6.1](https://github.com/miruml/python-server-sdk/compare/v0.6.0...v0.6.1)
6+
7+
### Bug Fixes
8+
9+
* stainless config to have 'webhooks' parameter ([ec481f9](https://github.com/miruml/python-server-sdk/commit/ec481f97b1f760d96690958db51cf6fb39ebb3a0))
10+
11+
12+
### Refactors
13+
14+
* **api:** remove 'config_schemas' expansion on config types ([bb3bc05](https://github.com/miruml/python-server-sdk/commit/bb3bc05defb45180a838c0e6f91d42f7669e0f7f))
15+
316
## 0.6.0 (2025-10-21)
417

518
Full Changelog: [v0.5.0...v0.6.0](https://github.com/miruml/python-server-sdk/compare/v0.5.0...v0.6.0)

api.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Types:
66
from miru_server_sdk.types import (
77
ConfigInstance,
88
ConfigSchema,
9-
ConfigSchemaList,
109
ConfigType,
1110
PaginatedList,
1211
ConfigInstanceListResponse,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "miru_server_sdk"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
description = "The official Python library for the miru API"
55
dynamic = ["readme"]
66
license = "MIT"

src/miru_server_sdk/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "miru_server_sdk"
4-
__version__ = "0.6.0" # x-release-please-version
4+
__version__ = "0.6.1" # x-release-please-version

src/miru_server_sdk/types/__init__.py

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,13 @@
22

33
from __future__ import annotations
44

5-
from . import release, deployment, config_type, config_schema, config_instance, deployment_validate_response
6-
from .. import _compat
75
from .device import Device as Device
86
from .release import Release as Release
97
from .deployment import Deployment as Deployment
108
from .config_type import ConfigType as ConfigType
119
from .config_schema import ConfigSchema as ConfigSchema
1210
from .paginated_list import PaginatedList as PaginatedList
1311
from .config_instance import ConfigInstance as ConfigInstance
14-
from .config_schema_list import ConfigSchemaList as ConfigSchemaList
1512
from .device_list_params import DeviceListParams as DeviceListParams
1613
from .release_list_params import ReleaseListParams as ReleaseListParams
1714
from .device_create_params import DeviceCreateParams as DeviceCreateParams
@@ -37,22 +34,3 @@
3734
from .device_create_activation_token_response import (
3835
DeviceCreateActivationTokenResponse as DeviceCreateActivationTokenResponse,
3936
)
40-
41-
# Rebuild cyclical models only after all modules are imported.
42-
# This ensures that, when building the deferred (due to cyclical references) model schema,
43-
# Pydantic can resolve the necessary references.
44-
# See: https://github.com/pydantic/pydantic/issues/11250 for more context.
45-
if _compat.PYDANTIC_V1:
46-
config_instance.ConfigInstance.update_forward_refs() # type: ignore
47-
config_schema.ConfigSchema.update_forward_refs() # type: ignore
48-
config_type.ConfigType.update_forward_refs() # type: ignore
49-
deployment.Deployment.update_forward_refs() # type: ignore
50-
deployment_validate_response.DeploymentValidateResponse.update_forward_refs() # type: ignore
51-
release.Release.update_forward_refs() # type: ignore
52-
else:
53-
config_instance.ConfigInstance.model_rebuild(_parent_namespace_depth=0)
54-
config_schema.ConfigSchema.model_rebuild(_parent_namespace_depth=0)
55-
config_type.ConfigType.model_rebuild(_parent_namespace_depth=0)
56-
deployment.Deployment.model_rebuild(_parent_namespace_depth=0)
57-
deployment_validate_response.DeploymentValidateResponse.model_rebuild(_parent_namespace_depth=0)
58-
release.Release.model_rebuild(_parent_namespace_depth=0)

src/miru_server_sdk/types/config_instance.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from __future__ import annotations
4-
53
from typing import Optional
64
from datetime import datetime
75
from typing_extensions import Literal
86

97
from .device import Device
108
from .._models import BaseModel
9+
from .config_type import ConfigType
10+
from .config_schema import ConfigSchema
1111

1212
__all__ = ["ConfigInstance"]
1313

@@ -27,7 +27,7 @@ class ConfigInstance(BaseModel):
2727
be deployed and is not active on the device
2828
"""
2929

30-
config_schema: Optional["ConfigSchema"] = None
30+
config_schema: Optional[ConfigSchema] = None
3131
"""Expand the config schema using 'expand[]=config_schema' in the query string."""
3232

3333
config_schema_id: str
@@ -90,9 +90,5 @@ class ConfigInstance(BaseModel):
9090
updated_at: datetime
9191
"""The timestamp of when the config instance was last updated."""
9292

93-
config_type: Optional["ConfigType"] = None
93+
config_type: Optional[ConfigType] = None
9494
"""Expand the config type using 'expand[]=config_type' in the query string."""
95-
96-
97-
from .config_type import ConfigType
98-
from .config_schema import ConfigSchema
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from __future__ import annotations
4-
53
from typing import List
64

75
from .paginated_list import PaginatedList
6+
from .config_instance import ConfigInstance
87

98
__all__ = ["ConfigInstanceListResponse"]
109

1110

1211
class ConfigInstanceListResponse(PaginatedList):
13-
data: List["ConfigInstance"]
14-
15-
16-
from .config_instance import ConfigInstance
12+
data: List[ConfigInstance]

src/miru_server_sdk/types/config_schema.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from __future__ import annotations
4-
53
from typing import Optional
64
from datetime import datetime
75
from typing_extensions import Literal
86

97
from .._models import BaseModel
8+
from .config_type import ConfigType
109

1110
__all__ = ["ConfigSchema"]
1211

@@ -15,7 +14,7 @@ class ConfigSchema(BaseModel):
1514
id: str
1615
"""ID of the config schema."""
1716

18-
config_type: Optional["ConfigType"] = None
17+
config_type: Optional[ConfigType] = None
1918
"""Expand the config type using 'expand[]=config_type' in the query string."""
2019

2120
config_type_id: str
@@ -44,6 +43,3 @@ class ConfigSchema(BaseModel):
4443

4544
version: int
4645
"""Config schema version for the config type."""
47-
48-
49-
from .config_type import ConfigType

0 commit comments

Comments
 (0)