Skip to content

Commit

Permalink
Update TabularDataByMQL documentation (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmhilly authored Feb 6, 2025
1 parent 3fed4a0 commit 9be6cb2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/viam/app/data_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,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

0 comments on commit 9be6cb2

Please sign in to comment.