Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.3.0-beta.2"
".": "0.3.0-beta.3"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 9
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/miru-ml%2Fmiru-device-08bf1f388a66d594b1facfb7950d7ef7447766a2f0f0c00a09a71002ce775311.yml
openapi_spec_hash: b96e38aad9f129e5053e24b76c6f541a
config_hash: 11a1fb3d0c0b9a9796e3388777a25c26
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/miru-ml%2Fmiru-device-d827cc046cad6cf0a19bcc13b95dc95a7fa661366f21b36d63fbc14e5ecc9999.yml
openapi_spec_hash: d23a1784813c215c21f79d14148f233e
config_hash: a4ae4428a072e75f1309f5fd10b98086
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 0.3.0-beta.3 (2026-03-05)

Full Changelog: [v0.3.0-beta.2...v0.3.0-beta.3](https://github.com/mirurobotics/python-device-sdk/compare/v0.3.0-beta.2...v0.3.0-beta.3)

### Bug Fixes

* remove config instances from being nested inside deployments ([cd35a12](https://github.com/mirurobotics/python-device-sdk/commit/cd35a122583d74cef41db66a63ac42a29d9d8742))


### Chores

* update SDK settings ([bc7d9a1](https://github.com/mirurobotics/python-device-sdk/commit/bc7d9a1ea6fe3274804ca7f03f8b61770c201d05))
* update SDK settings ([10d3ea5](https://github.com/mirurobotics/python-device-sdk/commit/10d3ea5b22ec6f735e602f1c94e068a575b31152))

## 0.3.0-beta.2 (2026-03-05)

Full Changelog: [v0.3.0-beta.1...v0.3.0-beta.2](https://github.com/mirurobotics/python-device-sdk/compare/v0.3.0-beta.1...v0.3.0-beta.2)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Miru Python API library

<!-- prettier-ignore -->
[![PyPI version](https://img.shields.io/pypi/v/miru_device_sdk.svg?label=pypi%20(stable))](https://pypi.org/project/miru_device_sdk/)
[![PyPI version](https://img.shields.io/pypi/v/miru-device-sdk.svg?label=pypi%20(stable))](https://pypi.org/project/miru-device-sdk/)

The Miru Python library provides convenient access to the Miru REST API from any Python 3.9+
application. The library includes type definitions for all request params and response fields,
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "miru_device_sdk"
version = "0.3.0-beta.2"
name = "miru-device-sdk"
version = "0.3.0-beta.3"
description = "The official Python library for the miru API"
dynamic = ["readme"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/miru_device_sdk/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "miru_device_sdk"
__version__ = "0.3.0-beta.2" # x-release-please-version
__version__ = "0.3.0-beta.3" # x-release-please-version
45 changes: 1 addition & 44 deletions src/miru_device_sdk/types/deployment.py
Original file line number Diff line number Diff line change
@@ -1,51 +1,11 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import List, Optional
from datetime import datetime
from typing_extensions import Literal

from .._models import BaseModel

__all__ = ["Deployment", "ConfigInstance", "ConfigInstanceContent"]


class ConfigInstanceContent(BaseModel):
"""The configuration values associated with the config instance."""

data: str
"""The configuration values associated with the config instance."""

format: Literal["json"]


class ConfigInstance(BaseModel):
id: str
"""ID of the config instance."""

config_schema_id: str
"""ID of the config schema which the config instance must adhere to."""

config_type_id: str
"""ID of the config type which the config instance (and its schema) is a part of."""

config_type_name: str
"""The name of the config type."""

content: ConfigInstanceContent
"""The configuration values associated with the config instance."""

created_at: datetime
"""The timestamp of when the config instance was created."""

filepath: str
"""
The file path to deploy the config instance relative to
`/srv/miru/config_instances`. `v1/motion-control.json` would deploy to
`/srv/miru/config_instances/v1/motion-control.json`.
"""

object: Literal["config_instance"]
"""The object type, which is always `config_instance`."""
__all__ = ["Deployment"]


class Deployment(BaseModel):
Expand Down Expand Up @@ -112,6 +72,3 @@ class Deployment(BaseModel):

updated_at: datetime
"""Timestamp of when the device release was last updated."""

config_instances: Optional[List[ConfigInstance]] = None
"""The config instances associated with this deployment."""