@@ -31,7 +31,7 @@ def list_datasets(
3131 end_date : Optional [Union [date , str ]] = None ,
3232 ) -> List [str ]:
3333 """
34- List all datasets available from Databento.
34+ List all available datasets from Databento.
3535
3636 Makes a `GET /v0/metadata.list_datasets` HTTP request.
3737
@@ -80,7 +80,7 @@ def list_schemas(
8080 end_date : Optional [Union [date , str ]] = None ,
8181 ) -> List [str ]:
8282 """
83- List all data schemas available from Databento.
83+ List all available data schemas from Databento.
8484
8585 Makes a `GET /v0/metadata.list_schemas` HTTP request.
8686
@@ -166,7 +166,7 @@ def list_fields(
166166
167167 def list_encodings (self ) -> List [str ]:
168168 """
169- List all data encodings available from Databento.
169+ List all available data encodings from Databento.
170170
171171 Makes a `GET /v0/metadata.list_encodings` HTTP request.
172172
@@ -183,7 +183,7 @@ def list_encodings(self) -> List[str]:
183183
184184 def list_compressions (self ) -> List [str ]:
185185 """
186- List all data compression modes available from Databento.
186+ List all available data compression modes from Databento.
187187
188188 Makes a `GET /v0/metadata.list_compressions` HTTP request.
189189
@@ -279,13 +279,15 @@ def get_shape(
279279 encoding : Encoding or str {'dbz', 'csv', 'json'}, optional
280280 The data encoding.
281281 stype_in : SType or str, default 'native'
282- The input symbol type to resolve from.
282+ The input symbology type to resolve from.
283283 limit : int, optional
284284 The maximum number of records to include in the query.
285+ If ``None`` is passed then no limit.
285286
286287 Returns
287288 -------
288289 Tuple
290+ The shape of the data expressed as size per dimension.
289291
290292 """
291293 validate_enum (schema , Schema , "schema" )
@@ -319,7 +321,7 @@ def get_shape(
319321 )
320322
321323 values = response .json ()
322- return values [ 0 ], values [ 1 ]
324+ return tuple ( values )
323325
324326 def get_billable_size (
325327 self ,
@@ -354,9 +356,10 @@ def get_billable_size(
354356 Assumes UTC as timezone unless passed a tz-aware object.
355357 If using an integer then this represents nanoseconds since UNIX epoch.
356358 stype_in : SType or str, default 'native'
357- The input symbol type to resolve from.
359+ The input symbology type to resolve from.
358360 limit : int, optional
359361 The maximum number of records to include in the query.
362+ If ``None`` is passed then no limit.
360363
361364 Returns
362365 -------
@@ -400,7 +403,7 @@ def get_cost(
400403 limit : Optional [int ] = None ,
401404 ) -> float :
402405 """
403- Get the expected total cost of the data stream .
406+ Get cost in US Dollars for a historical streaming or batch data request .
404407
405408 Makes a `GET /v0/metadata.get_cost` HTTP request.
406409
@@ -423,14 +426,15 @@ def get_cost(
423426 Assumes UTC as timezone unless passed a tz-aware object.
424427 If using an integer then this represents nanoseconds since UNIX epoch.
425428 stype_in : SType or str, default 'native'
426- The input symbol type to resolve from.
429+ The input symbology type to resolve from.
427430 limit : int, optional
428431 The maximum number of records to include in the query.
432+ If ``None`` is passed then no limit.
429433
430434 Returns
431435 -------
432436 float
433- The cost for the data in US Dollars.
437+ The cost in US Dollars.
434438
435439 """
436440 validate_enum (mode , FeedMode , "mode" )
0 commit comments