Skip to content

Commit 1260ffa

Browse files
Automatically update python client (ref: Cosmo-Tech/cosmotech-api@55af2a6)
Co-authored-by: jreynard-code <jreynard-code@users.noreply.github.com>
1 parent c0d7aba commit 1260ffa

4 files changed

Lines changed: 10 additions & 6 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
LICENSE
22
=======
33

4-
Copyright 2021-2022 Cosmo Tech
4+
Copyright 2021-2025 Cosmo Tech
55

66
You are authorized to use this software following the execution of a specific agreement with Cosmo Tech or with an authorized licensee of Cosmo Tech.
77

cosmotech_api/models/send_run_data_request.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
import json
2020

2121
from pydantic import BaseModel, ConfigDict, StrictStr
22-
from typing import Any, ClassVar, Dict, List, Optional
22+
from typing import Any, ClassVar, Dict, List
2323
from typing import Optional, Set
2424
from typing_extensions import Self
2525

2626
class SendRunDataRequest(BaseModel):
2727
"""
2828
Run Data to send
2929
""" # noqa: E501
30-
id: Optional[StrictStr] = None
31-
data: Optional[List[Dict[str, Any]]] = None
30+
id: StrictStr
31+
data: List[Dict[str, Any]]
3232
__properties: ClassVar[List[str]] = ["id", "data"]
3333

3434
model_config = ConfigDict(

docs/SendRunDataRequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Run Data to send
66

77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
9-
**id** | **str** | | [optional]
10-
**data** | **List[Dict[str, object]]** | | [optional]
9+
**id** | **str** | |
10+
**data** | **List[Dict[str, object]]** | |
1111

1212
## Example
1313

test/test_send_run_data_request.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ def make_instance(self, include_optional) -> SendRunDataRequest:
4343
)
4444
else:
4545
return SendRunDataRequest(
46+
id = '',
47+
data = [
48+
{ }
49+
],
4650
)
4751
"""
4852

0 commit comments

Comments
 (0)