Skip to content

Commit 990424c

Browse files
committed
Update SDK to version 0.31.0
1 parent d22b168 commit 990424c

7 files changed

Lines changed: 407 additions & 219 deletions

File tree

CHANGELOG.md

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

3+
# 0.31.0
4+
## Features Added
5+
- Add `RobotoSearch::from_env` classmethod for convenience and consistency with other Roboto resource factories.
6+
7+
## Bugs Fixed
8+
- `get_data` and `get_data_as_df` APIs now correctly handle extracting array fields from ROS messages.
9+
- `get_data` and `get_data_as_df` APIs now correctly handle extracting ROS1 and ROS2 timestamp fields.
10+
311
# 0.30.0
412
## Features Added
513
- Added an optional `total_count` field to `PaginatedList`

RELEASE_NOTES.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
# 0.30.0
1+
# 0.31.0
22
## Features Added
3-
- Added an optional `total_count` field to `PaginatedList`
3+
- Add `RobotoSearch::from_env` classmethod for convenience and consistency with other Roboto resource factories.
44

55
## Bugs Fixed
6-
- Action parameters passed via `roboto actions invoke --parameter` are now correctly treated as strings, matching the documented behavior.
7-
- The global `roboto` CLI option `--profile` is now respected when using `roboto actions invoke-local`, enabling switching between Roboto orgs or API keys.
8-
- `InvocationContext.dataset` now raises a `ActionRuntimeException` when accessed in scenarios where no dataset is associated (e.g., local runs, scheduled triggers, or CLI invocations with query-based input), instead of failing with a `RobotoNotFoundException`.
6+
- `get_data` and `get_data_as_df` APIs now correctly handle extracting array fields from ROS messages.
7+
- `get_data` and `get_data_as_df` APIs now correctly handle extracting ROS1 and ROS2 timestamp fields.
98

build-support/lockfiles/python-default.lock

Lines changed: 147 additions & 144 deletions
Large diffs are not rendered by default.

src/roboto/domain/orgs/webhook_integration.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class WebhookProvider(str, enum.Enum):
1919

2020
class BeginWebhookIntegrationRequest(pydantic.BaseModel):
2121
org_id: str
22+
user_config: dict[str, typing.Any] | None = None
2223
webhook_events: list[str]
2324
webhook_provider: WebhookProvider
2425

@@ -47,6 +48,7 @@ class WebhookIntegrationRecord(pydantic.BaseModel):
4748
modified_by: str
4849
org_id: str
4950
status: str
51+
user_config: dict[str, typing.Any] | None = None
5052
webhook_endpoint_url: str
5153
webhook_events: list[str]
5254
webhook_provider: WebhookProvider
@@ -61,12 +63,17 @@ def __init__(self, roboto_client: typing.Optional[RobotoClient] = None):
6163
self.__roboto_client = RobotoClient.defaulted(roboto_client)
6264

6365
def begin_webhook_integration(
64-
self, org_id: str, webhook_provider: WebhookProvider, webhook_events: list[str]
66+
self,
67+
org_id: str,
68+
webhook_provider: WebhookProvider,
69+
webhook_events: list[str],
70+
user_config: dict[str, typing.Any] | None = None,
6571
) -> WebhookIntegrationRecord:
6672
return self.__roboto_client.post(
6773
path="v1/integrations/webhook/begin",
6874
data=BeginWebhookIntegrationRequest(
6975
org_id=org_id,
76+
user_config=user_config,
7077
webhook_provider=webhook_provider,
7178
webhook_events=webhook_events,
7279
),

0 commit comments

Comments
 (0)