Skip to content
Merged
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
5 changes: 3 additions & 2 deletions src/viam/app/data_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,9 @@ async def tabular_data_by_mql(
Args:
organization_id (str): The ID of the organization that owns the data.
You can obtain your organization ID from the Viam app's organization settings page.
query (Union[List[bytes], List[Dict[str, Any]]]): The MQL query to run as a list of BSON queries.
Note: Support for bytes will be removed in the future, so using a dictionary is preferred.
query (Union[List[bytes], List[Dict[str, Any]]]): "The MQL query to run, as a list of MongoDB aggregation pipeline stages.
Note: Each stage can be provided as either a dictionary or raw BSON bytes, but support for bytes will be removed in the future,
so using a dictionary is preferred.

Returns:
List[Dict[str, Union[ValueTypes, datetime]]]: An array of decoded BSON data objects.
Expand Down