@@ -300,7 +300,9 @@ async def tabular_data_by_mql(self, organization_id: str, mql_binary: List[bytes
300300 response : TabularDataByMQLResponse = await self ._data_client .TabularDataByMQL (request , metadata = self ._metadata )
301301 return [bson .decode (bson_bytes ) for bson_bytes in response .raw_data ]
302302
303- async def get_latest_tabular_data (self , part_id : str , resource_name : str , resource_subtype : str , method_name : str ) -> Optional [Tuple [datetime , datetime , Dict [str , ValueTypes ]]]:
303+ async def get_latest_tabular_data (
304+ self , part_id : str , resource_name : str , resource_subtype : str , method_name : str
305+ ) -> Optional [Tuple [datetime , datetime , Dict [str , ValueTypes ]]]:
304306 """Gets the most recent tabular data captured from the specified data source, as long as it was synced within the last year.
305307
306308 ::
@@ -328,11 +330,13 @@ async def get_latest_tabular_data(self, part_id: str, resource_name: str, resour
328330 For more information, see `Data Client API <https://docs.viam.com/appendix/apis/data-client/>`_.
329331 """
330332
331- request = GetLatestTabularDataRequest (part_id = part_id , resource_name = resource_name , resource_subtype = resource_subtype , method_name = method_name )
333+ request = GetLatestTabularDataRequest (
334+ part_id = part_id , resource_name = resource_name , resource_subtype = resource_subtype , method_name = method_name
335+ )
332336 response : GetLatestTabularDataResponse = await self ._data_client .GetLatestTabularData (request , metadata = self ._metadata )
333337 if not response .payload :
334338 return None
335- return response .time_captured .ToDatetime (), response .time_synced .ToDatetime (), struct_to_dict (response .payload )
339+ return response .time_captured .ToDatetime (), response .time_synced .ToDatetime (), struct_to_dict (response .payload )
336340
337341 async def binary_data_by_filter (
338342 self ,
0 commit comments