Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from release_2024.01.17 #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
3 changes: 0 additions & 3 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ docs/ValidateQueryResponse.md
docs/View.md
docs/ViewsApi.md
docs/VirtualInstance.md
docs/VirtualInstanceRrn.md
docs/VirtualInstanceStats.md
docs/VirtualInstancesApi.md
docs/Workspace.md
Expand Down Expand Up @@ -488,7 +487,6 @@ rockset/model/user.py
rockset/model/validate_query_response.py
rockset/model/view.py
rockset/model/virtual_instance.py
rockset/model/virtual_instance_rrn.py
rockset/model/virtual_instance_stats.py
rockset/model/workspace.py
rockset/model/xml_params.py
Expand Down Expand Up @@ -735,7 +733,6 @@ test/test_validate_query_response.py
test/test_view.py
test/test_views_api.py
test/test_virtual_instance.py
test/test_virtual_instance_rrn.py
test/test_virtual_instance_stats.py
test/test_virtual_instances_api.py
test/test_workspace.py
Expand Down
3 changes: 3 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### v2.2.0
- TODO

### v2.1.0
- Get Collection Offset APIs

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,6 @@ Class | Method | HTTP request | Description
- [ValidateQueryResponse](docs/ValidateQueryResponse.md)
- [View](docs/View.md)
- [VirtualInstance](docs/VirtualInstance.md)
- [VirtualInstanceRrn](docs/VirtualInstanceRrn.md)
- [VirtualInstanceStats](docs/VirtualInstanceStats.md)
- [Workspace](docs/Workspace.md)
- [XmlParams](docs/XmlParams.md)
Expand Down
1 change: 1 addition & 0 deletions docs/CreateIntegrationRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Name | Type | Description | Notes
**description** | **str** | Longer explanation for the integration. | [optional]
**dynamodb** | [**DynamodbIntegration**](DynamodbIntegration.md) | | [optional]
**gcs** | [**GcsIntegration**](GcsIntegration.md) | | [optional]
**is_write_enabled** | **bool** | is write access enabled for this integration. | [optional]
**kafka** | [**KafkaIntegration**](KafkaIntegration.md) | | [optional]
**kinesis** | [**KinesisIntegration**](KinesisIntegration.md) | | [optional]
**mongodb** | [**MongoDbIntegration**](MongoDbIntegration.md) | | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/CreateVirtualInstanceRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**auto_suspend_seconds** | **int** | Number of seconds without queries after which the VI is suspended | [optional]
**description** | **str** | Description of requested virtual instance. | [optional]
**enable_remount_on_resume** | **bool** | When a Virtual Instance is resumed, it will remount all collections that were mounted when the Virtual Instance was suspended. | [optional]
**instance_class** | **str** | Virtual Instance Class. Use `MO_IL` for Memory Optimized and `GP_IL` for General Purpose instance class. | [optional]
**mount_refresh_interval_seconds** | **int** | DEPRECATED. Use `mount_type` instead. Number of seconds between data refreshes for mounts on this Virtual Instance. The only valid values are 0 and null. 0 means the data will be refreshed continuously and null means the data will never refresh. | [optional]
**mount_type** | **str** | The mount type of collections that this Virtual Instance will query. Live mounted collections stay up-to-date with the underlying collection in real-time. Static mounted collections do not stay up-to-date. See https://docs.rockset.com/documentation/docs/virtual-instances#virtual-instance-configuration | [optional]
**type** | **str** | Requested virtual instance type. | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/Integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Name | Type | Description | Notes
**description** | **str** | Longer explanation for the integration. | [optional]
**dynamodb** | [**DynamodbIntegration**](DynamodbIntegration.md) | | [optional]
**gcs** | [**GcsIntegration**](GcsIntegration.md) | | [optional]
**is_write_enabled** | **bool** | is write access enabled for this integration | [optional]
**kafka** | [**KafkaIntegration**](KafkaIntegration.md) | | [optional]
**kinesis** | [**KinesisIntegration**](KinesisIntegration.md) | | [optional]
**mongodb** | [**MongoDbIntegration**](MongoDbIntegration.md) | | [optional]
Expand Down
2 changes: 2 additions & 0 deletions docs/IntegrationsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1241,6 +1241,7 @@ SharedAccessSignature=<KeyValue>''',
service_account_key_file_json="service_account_key_file_json_example",
),
),
is_write_enabled=True,
kafka=KafkaIntegration(
aws_role=AwsRole(
aws_external_id="external id of aws",
Expand Down Expand Up @@ -1334,6 +1335,7 @@ Name | Type | Description | Notes
**description** | **str** | Longer explanation for the integration. | [optional]
**dynamodb** | [**DynamodbIntegration**](DynamodbIntegration.md) | | [optional]
**gcs** | [**GcsIntegration**](GcsIntegration.md) | | [optional]
**is_write_enabled** | **bool** | is write access enabled for this integration. | [optional]
**kafka** | [**KafkaIntegration**](KafkaIntegration.md) | | [optional]
**kinesis** | [**KinesisIntegration**](KinesisIntegration.md) | | [optional]
**mongodb** | [**MongoDbIntegration**](MongoDbIntegration.md) | | [optional]
Expand Down
1 change: 0 additions & 1 deletion docs/ScheduledLambda.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Name | Type | Description | Notes
**tag** | **str** | The query lambda tag. | [optional]
**total_times_to_execute** | **int** | The number of times to execute this scheduled query lambda. Once this scheduled query lambda has been executed this many times, it will no longer be executed. | [optional]
**version** | **str** | The version of the associated query lambda. | [optional]
**vi_rrn** | [**VirtualInstanceRrn**](VirtualInstanceRrn.md) | | [optional]
**webhook_payload** | **str** | The payload that should be sent to the webhook. | [optional]
**webhook_url** | **str** | The URL of the webhook that should be triggered after this scheduled query lambda completes. | [optional]
**workspace** | **str** | Workspace of the associated query lambda. | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/Source.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Name | Type | Description | Notes
**status** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional] [readonly]
**suspended_at** | **str** | ISO-8601 date when source was suspended, if suspended | [optional] [readonly]
**system** | [**SourceSystem**](SourceSystem.md) | | [optional]
**write_api** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
1 change: 1 addition & 0 deletions docs/Stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**elapsed_time_ms** | **int** | Total execution time (including time queued) of the query, in milliseconds. | [optional]
**result_set_bytes_size** | **int** | Number of bytes in the query result set. Only populated if &#x60;status&#x60; is &#x60;COMPLETE&#x60;. Not populated for INSERT INTO queries. | [optional]
**result_set_document_count** | **int** | Number of documents returned by the query. Only populated if &#x60;status&#x60; is &#x60;COMPLETE&#x60;. | [optional]
**result_set_file_count** | **int** | Number of files written by by the query. Only populated if &#x60;status&#x60; is &#x60;COMPLETE&#x60; and the query is an export query. | [optional]
**throttled_time_ms** | **int** | Time query spent queued, in milliseconds. | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

Expand Down
1 change: 1 addition & 0 deletions docs/UpdateIntegrationRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Name | Type | Description | Notes
**description** | **str** | Longer explanation for the integration. | [optional]
**dynamodb** | [**DynamodbIntegration**](DynamodbIntegration.md) | | [optional]
**gcs** | [**GcsIntegration**](GcsIntegration.md) | | [optional]
**is_write_enabled** | **bool** | is write access enabled for this integration. | [optional]
**kafka** | [**KafkaIntegration**](KafkaIntegration.md) | | [optional]
**kinesis** | [**KinesisIntegration**](KinesisIntegration.md) | | [optional]
**mongodb** | [**MongoDbIntegration**](MongoDbIntegration.md) | | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/UpdateVirtualInstanceRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**auto_suspend_seconds** | **int** | Number of seconds without queries after which the Query VI is suspended | [optional]
**description** | **str** | New virtual instance description. | [optional]
**enable_remount_on_resume** | **bool** | When a Virtual Instance is resumed, it will remount all collections that were mounted when the Virtual Instance was suspended. | [optional]
**instance_class** | **str** | Virtual Instance Class. Use &#x60;MO_IL&#x60; for Memory Optimized and &#x60;GP_IL&#x60; for General Purpose instance class. | [optional]
**mount_refresh_interval_seconds** | **int** | DEPRECATED. Use &#x60;mount_type&#x60; instead. Number of seconds between data refreshes for mounts on this Virtual Instance. The only valid values are 0 and null. 0 means the data will be refreshed continuously and null means the data will never refresh. | [optional]
**mount_type** | **str** | The mount type of collections that this Virtual Instance will query. Live mounted collections stay up-to-date with the underlying collection in real-time. Static mounted collections do not stay up-to-date. See https://docs.rockset.com/documentation/docs/virtual-instances#virtual-instance-configuration | [optional]
**name** | **str** | New virtual instance name. | [optional]
Expand Down
2 changes: 2 additions & 0 deletions docs/VirtualInstance.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ Name | Type | Description | Notes
**auto_suspend_seconds** | **int** | Number of seconds without queries after which the VI is suspended | [optional]
**created_at** | **str** | ISO-8601 date of when virtual instance was created. | [optional]
**created_by** | **str** | Creator of requested virtual instance. | [optional]
**current_instance_class** | **str** | Virtual Instance Class. &#x60;MO_IL&#x60; represents Memory Optimized and &#x60;GP_IL&#x60; represents General Purpose instance class. | [optional]
**current_size** | **str** | Virtual instance current size. | [optional] [readonly]
**default_pod_count** | **int** | | [optional]
**default_vi** | **bool** | | [optional]
**description** | **str** | Virtual instance description. | [optional]
**desired_instance_class** | **str** | Virtual Instance Class. | [optional]
**desired_size** | **str** | Virtual instance desired size. | [optional] [readonly]
**enable_remount_on_resume** | **bool** | When a Virtual Instance is resumed, it will remount all collections that were mounted when the Virtual Instance was suspended. | [optional]
**id** | **str** | Unique identifier for virtual instance. | [optional]
Expand Down
4 changes: 4 additions & 0 deletions docs/VirtualInstancesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ api_response = await rs.VirtualInstances.create(
auto_suspend_seconds=3600,
description="VI serving prod traffic",
enable_remount_on_resume=True,
instance_class="MO_IL",
mount_refresh_interval_seconds=0,
mount_type="LIVE",
name="prod_vi",
Expand All @@ -77,6 +78,7 @@ Name | Type | Description | Notes
**auto_suspend_seconds** | **int** | Number of seconds without queries after which the VI is suspended | [optional]
**description** | **str** | Description of requested virtual instance. | [optional]
**enable_remount_on_resume** | **bool** | When a Virtual Instance is resumed, it will remount all collections that were mounted when the Virtual Instance was suspended. | [optional]
**instance_class** | **str** | Virtual Instance Class. Use &#x60;MO_IL&#x60; for Memory Optimized and &#x60;GP_IL&#x60; for General Purpose instance class. | [optional]
**mount_refresh_interval_seconds** | **int** | DEPRECATED. Use &#x60;mount_type&#x60; instead. Number of seconds between data refreshes for mounts on this Virtual Instance. The only valid values are 0 and null. 0 means the data will be refreshed continuously and null means the data will never refresh. | [optional]
**mount_type** | **str** | The mount type of collections that this Virtual Instance will query. Live mounted collections stay up-to-date with the underlying collection in real-time. Static mounted collections do not stay up-to-date. See https://docs.rockset.com/documentation/docs/virtual-instances#virtual-instance-configuration | [optional]
**name** | **str** | Unique identifier for virtual instance, can contain alphanumeric or dash characters. |
Expand Down Expand Up @@ -1253,6 +1255,7 @@ api_response = await rs.VirtualInstances.update(
auto_suspend_seconds=3600,
description="VI for prod traffic",
enable_remount_on_resume=True,
instance_class="MO_IL",
mount_refresh_interval_seconds=0,
mount_type="LIVE",
name="prod_vi",
Expand All @@ -1277,6 +1280,7 @@ Name | Type | Description | Notes
**auto_suspend_seconds** | **int** | Number of seconds without queries after which the Query VI is suspended | [optional]
**description** | **str** | New virtual instance description. | [optional]
**enable_remount_on_resume** | **bool** | When a Virtual Instance is resumed, it will remount all collections that were mounted when the Virtual Instance was suspended. | [optional]
**instance_class** | **str** | Virtual Instance Class. Use &#x60;MO_IL&#x60; for Memory Optimized and &#x60;GP_IL&#x60; for General Purpose instance class. | [optional]
**mount_refresh_interval_seconds** | **int** | DEPRECATED. Use &#x60;mount_type&#x60; instead. Number of seconds between data refreshes for mounts on this Virtual Instance. The only valid values are 0 and null. 0 means the data will be refreshed continuously and null means the data will never refresh. | [optional]
**mount_type** | **str** | The mount type of collections that this Virtual Instance will query. Live mounted collections stay up-to-date with the underlying collection in real-time. Static mounted collections do not stay up-to-date. See https://docs.rockset.com/documentation/docs/virtual-instances#virtual-instance-configuration | [optional]
**name** | **str** | New virtual instance name. | [optional]
Expand Down
3 changes: 3 additions & 0 deletions rockset/api/integrations_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1881,6 +1881,7 @@ def update(
description: str = None,
dynamodb: DynamodbIntegration = None,
gcs: GcsIntegration = None,
is_write_enabled: bool = None,
kafka: KafkaIntegration = None,
kinesis: KinesisIntegration = None,
mongodb: MongoDbIntegration = None,
Expand Down Expand Up @@ -1925,6 +1926,7 @@ def update(
service_account_key_file_json="service_account_key_file_json_example",
),
),
is_write_enabled=True,
kafka=KafkaIntegration(
aws_role=AwsRole(
aws_external_id="external id of aws",
Expand Down Expand Up @@ -2010,6 +2012,7 @@ def update(
description (str): Longer explanation for the integration.. [optional]
dynamodb (DynamodbIntegration): [optional]
gcs (GcsIntegration): [optional]
is_write_enabled (bool): is write access enabled for this integration.. [optional]
kafka (KafkaIntegration): [optional]
kinesis (KinesisIntegration): [optional]
mongodb (MongoDbIntegration): [optional]
Expand Down
6 changes: 6 additions & 0 deletions rockset/api/virtual_instances_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,7 @@ def create(
auto_suspend_seconds: int = None,
description: str = None,
enable_remount_on_resume: bool = None,
instance_class: str = None,
mount_refresh_interval_seconds: int = None,
mount_type: str = None,
type: str = None,
Expand All @@ -831,6 +832,7 @@ def create(
auto_suspend_seconds=3600,
description="VI serving prod traffic",
enable_remount_on_resume=True,
instance_class="MO_IL",
mount_refresh_interval_seconds=0,
mount_type="LIVE",
name="prod_vi",
Expand All @@ -844,6 +846,7 @@ def create(
auto_suspend_seconds (int): Number of seconds without queries after which the VI is suspended. [optional]
description (str): Description of requested virtual instance.. [optional]
enable_remount_on_resume (bool): When a Virtual Instance is resumed, it will remount all collections that were mounted when the Virtual Instance was suspended.. [optional]
instance_class (str): Virtual Instance Class. Use `MO_IL` for Memory Optimized and `GP_IL` for General Purpose instance class.. [optional]
mount_refresh_interval_seconds (int): DEPRECATED. Use `mount_type` instead. Number of seconds between data refreshes for mounts on this Virtual Instance. The only valid values are 0 and null. 0 means the data will be refreshed continuously and null means the data will never refresh.. [optional]
mount_type (str): The mount type of collections that this Virtual Instance will query. Live mounted collections stay up-to-date with the underlying collection in real-time. Static mounted collections do not stay up-to-date. See https://docs.rockset.com/documentation/docs/virtual-instances#virtual-instance-configuration. [optional]
name (str): Unique identifier for virtual instance, can contain alphanumeric or dash characters.. [required]
Expand Down Expand Up @@ -1993,6 +1996,7 @@ def update(
auto_suspend_seconds: int = None,
description: str = None,
enable_remount_on_resume: bool = None,
instance_class: str = None,
mount_refresh_interval_seconds: int = None,
mount_type: str = None,
name: str = None,
Expand All @@ -2018,6 +2022,7 @@ def update(
auto_suspend_seconds=3600,
description="VI for prod traffic",
enable_remount_on_resume=True,
instance_class="MO_IL",
mount_refresh_interval_seconds=0,
mount_type="LIVE",
name="prod_vi",
Expand All @@ -2034,6 +2039,7 @@ def update(
auto_suspend_seconds (int): Number of seconds without queries after which the Query VI is suspended. [optional]
description (str): New virtual instance description.. [optional]
enable_remount_on_resume (bool): When a Virtual Instance is resumed, it will remount all collections that were mounted when the Virtual Instance was suspended.. [optional]
instance_class (str): Virtual Instance Class. Use `MO_IL` for Memory Optimized and `GP_IL` for General Purpose instance class.. [optional]
mount_refresh_interval_seconds (int): DEPRECATED. Use `mount_type` instead. Number of seconds between data refreshes for mounts on this Virtual Instance. The only valid values are 0 and null. 0 means the data will be refreshed continuously and null means the data will never refresh.. [optional]
mount_type (str): The mount type of collections that this Virtual Instance will query. Live mounted collections stay up-to-date with the underlying collection in real-time. Static mounted collections do not stay up-to-date. See https://docs.rockset.com/documentation/docs/virtual-instances#virtual-instance-configuration. [optional]
name (str): New virtual instance name.. [optional]
Expand Down
Loading