Skip to content

Commit 0d87a34

Browse files
committed
DOC: Standardize API reference pt4
1 parent a9f23a4 commit 0d87a34

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

databento/historical/api/batch.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ def timeseries_submit(
6363
start : pd.Timestamp or date or str or int, optional
6464
The start datetime of the request time range (inclusive).
6565
Assumes UTC as timezone unless passed a tz-aware object.
66-
If using an integer then this represents nanoseconds since UNIX epoch.
66+
If an integer is passed, then this represents nanoseconds since UNIX epoch.
6767
end : pd.Timestamp or date or str or int, optional
6868
The end datetime of the request time range (exclusive).
6969
Assumes UTC as timezone unless passed a tz-aware object.
70-
If using an integer then this represents nanoseconds since UNIX epoch.
70+
If an integer is passed, then this represents nanoseconds since UNIX epoch.
7171
encoding : Encoding or str {'dbz', 'csv', 'json'}, default 'dbz'
7272
The data encoding.
7373
compression : Compression or str {'none', 'zstd'}, default 'zstd'
@@ -86,7 +86,7 @@ def timeseries_submit(
8686
The output symbology type to resolve to.
8787
limit : int, optional
8888
The maximum number of records for the request.
89-
If ``None`` is passed then no limit.
89+
If ``None`` is passed, then no limit.
9090
9191
Returns
9292
-------

databento/historical/api/metadata.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -272,18 +272,18 @@ def get_shape(
272272
start : pd.Timestamp or date or str or int, optional
273273
The start datetime for the request range.
274274
Assumes UTC as timezone unless passed a tz-aware object.
275-
If using an integer then this represents nanoseconds since UNIX epoch.
275+
If an integer is passed, then this represents nanoseconds since UNIX epoch.
276276
end : pd.Timestamp or date or str or int, optional
277277
The end datetime for the request range.
278278
Assumes UTC as timezone unless passed a tz-aware object.
279-
If using an integer then this represents nanoseconds since UNIX epoch.
279+
If an integer is passed, then this represents nanoseconds since UNIX epoch.
280280
encoding : Encoding or str {'dbz', 'csv', 'json'}, optional
281281
The data encoding.
282282
stype_in : SType or str, default 'native'
283283
The input symbology type to resolve from.
284284
limit : int, optional
285285
The maximum number of records to include in the query.
286-
If ``None`` is passed then no limit.
286+
If ``None`` is passed, then no limit.
287287
288288
Returns
289289
-------
@@ -351,16 +351,16 @@ def get_billable_size(
351351
start : pd.Timestamp or date or str or int, optional
352352
The start datetime for the request range.
353353
Assumes UTC as timezone unless passed a tz-aware object.
354-
If using an integer then this represents nanoseconds since UNIX epoch.
354+
If an integer is passed, then this represents nanoseconds since UNIX epoch.
355355
end : pd.Timestamp or date or str or int, optional
356356
The end datetime for the request range.
357357
Assumes UTC as timezone unless passed a tz-aware object.
358-
If using an integer then this represents nanoseconds since UNIX epoch.
358+
If an integer is passed, then this represents nanoseconds since UNIX epoch.
359359
stype_in : SType or str, default 'native'
360360
The input symbology type to resolve from.
361361
limit : int, optional
362362
The maximum number of records to include in the query.
363-
If ``None`` is passed then no limit.
363+
If ``None`` is passed, then no limit.
364364
365365
Returns
366366
-------
@@ -422,16 +422,16 @@ def get_cost(
422422
start : pd.Timestamp or date or str or int, optional
423423
The start datetime for the request range.
424424
Assumes UTC as timezone unless passed a tz-aware object.
425-
If using an integer then this represents nanoseconds since UNIX epoch.
425+
If an integer is passed, then this represents nanoseconds since UNIX epoch.
426426
end : pd.Timestamp or date or str or int, optional
427427
The end datetime for the request range.
428428
Assumes UTC as timezone unless passed a tz-aware object.
429-
If using an integer then this represents nanoseconds since UNIX epoch.
429+
If an integer is passed, then this represents nanoseconds since UNIX epoch.
430430
stype_in : SType or str, default 'native'
431431
The input symbology type to resolve from.
432432
limit : int, optional
433433
The maximum number of records to include in the query.
434-
If ``None`` is passed then no limit.
434+
If ``None`` is passed, then no limit.
435435
436436
Returns
437437
-------

databento/historical/api/timeseries.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,17 @@ def stream(
5151
The data record schema for the request.
5252
start : pd.Timestamp or date or str or int, optional
5353
The start datetime (UTC) of the request time range (inclusive).
54-
If using an integer then this represents nanoseconds since UNIX epoch.
54+
If an integer is passed, then this represents nanoseconds since UNIX epoch.
5555
end : pd.Timestamp or date or str or int, optional
5656
The end datetime (UTC) of the request time range (exclusive).
57-
If using an integer then this represents nanoseconds since UNIX epoch.
57+
If an integer is passed, then this represents nanoseconds since UNIX epoch.
5858
stype_in : SType or str, default 'native'
5959
The input symbology type to resolve from.
6060
stype_out : SType or str, default 'product_id'
6161
The output symbology type to resolve to.
6262
limit : int, optional
6363
The maximum number of records to return.
64-
If ``None`` is passed then no limit.
64+
If ``None`` is passed, then no limit.
6565
path : str, optional
6666
The file path to write to on disk (if provided).
6767
@@ -148,17 +148,17 @@ async def stream_async(
148148
The data record schema for the request.
149149
start : pd.Timestamp or date or str or int, optional
150150
The start datetime (UTC) of the request time range (inclusive).
151-
If using an integer then this represents nanoseconds since UNIX epoch.
151+
If an integer is passed, then this represents nanoseconds since UNIX epoch.
152152
end : pd.Timestamp or date or str or int, optional
153153
The end datetime (UTC) of the request time range (exclusive).
154-
If using an integer then this represents nanoseconds since UNIX epoch.
154+
If an integer is passed, then this represents nanoseconds since UNIX epoch.
155155
stype_in : SType or str, default 'native'
156156
The input symbology type to resolve from.
157157
stype_out : SType or str, default 'product_id'
158158
The output symbology type to resolve to.
159159
limit : int, optional
160160
The maximum number of records to return.
161-
If ``None`` is passed then no limit.
161+
If ``None`` is passed, then no limit.
162162
path : str, optional
163163
The file path to write to on disk (if provided).
164164

0 commit comments

Comments
 (0)