Skip to content

Commit 7b88393

Browse files
committed
MOD: Standardize description for dataset
- Clarify `dataset` name
1 parent 402f199 commit 7b88393

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

databento/common/bento.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def metadata(self) -> Dict[str, Any]:
178178
@property
179179
def dataset(self) -> str:
180180
"""
181-
Return the dataset ID.
181+
Return the dataset name.
182182
183183
Returns
184184
-------

databento/historical/api/batch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def timeseries_submit(
5252
Parameters
5353
----------
5454
dataset : Dataset or str
55-
The dataset ID for the request.
55+
The dataset name for the request.
5656
symbols : List[Union[str, int]] or str, optional
5757
The symbols for the request. If ``None`` then will be for ALL symbols.
5858
schema : Schema or str {'mbo', 'mbp-1', 'mbp-10', 'trades', 'tbbo', 'ohlcv-1s', 'ohlcv-1m', 'ohlcv-1h', 'ohlcv-1d', 'definition', 'statistics', 'status'}, default 'trades' # noqa

databento/historical/api/metadata.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def list_schemas(
7777
Parameters
7878
----------
7979
dataset : Dataset or str
80-
The dataset ID for the request.
80+
The dataset name for the request.
8181
start : pd.Timestamp or date or str or int, optional
8282
The start datetime for the request range (UTC).
8383
If using an integer then this represents nanoseconds since UNIX epoch.
@@ -121,7 +121,7 @@ def list_fields(
121121
Parameters
122122
----------
123123
dataset : Dataset or str
124-
The dataset ID for the request.
124+
The dataset name for the request.
125125
schema : Schema or str {'mbo', 'mbp-1', 'mbp-10', 'trades', 'tbbo', 'ohlcv-1s', 'ohlcv-1m', 'ohlcv-1h', 'ohlcv-1d', 'definition', 'statistics', 'status'}, optional # noqa
126126
The data record schema for the request.
127127
encoding : Encoding or str {'dbz', 'csv', 'json'}, optional
@@ -201,7 +201,7 @@ def list_unit_prices(
201201
Parameters
202202
----------
203203
dataset : Dataset or str
204-
The dataset ID for the request.
204+
The dataset name for the request.
205205
mode : FeedMode or str {'live', 'historical-streaming', 'historical'}, optional
206206
The data feed mode for the request.
207207
schema : Schema or str {'mbo', 'mbp-1', 'mbp-10', 'trades', 'tbbo', 'ohlcv-1s', 'ohlcv-1m', 'ohlcv-1h', 'ohlcv-1d', 'definition', 'statistics', 'status'}, optional # noqa
@@ -252,7 +252,7 @@ def get_shape(
252252
Parameters
253253
----------
254254
dataset : Dataset or str
255-
The dataset ID for the request.
255+
The dataset name for the request.
256256
symbols : List[Union[str, int]] or str, optional
257257
The symbols for the request. If ``None`` then will be for ALL symbols.
258258
schema : Schema or str {'mbo', 'mbp-1', 'mbp-10', 'trades', 'tbbo', 'ohlcv-1s', 'ohlcv-1m', 'ohlcv-1h', 'ohlcv-1d', 'definition', 'statistics', 'status'}, default 'trades' # noqa
@@ -326,7 +326,7 @@ def get_billable_size(
326326
Parameters
327327
----------
328328
dataset : Dataset or str
329-
The dataset ID for the request.
329+
The dataset name for the request.
330330
symbols : List[Union[str, int]] or str, optional
331331
The symbols for the request. If ``None`` then will be for ALL symbols.
332332
schema : Schema or str {'mbo', 'mbp-1', 'mbp-10', 'trades', 'tbbo', 'ohlcv-1s', 'ohlcv-1m', 'ohlcv-1h', 'ohlcv-1d', 'definition', 'statistics', 'status'}, default 'trades' # noqa
@@ -391,7 +391,7 @@ def get_cost(
391391
Parameters
392392
----------
393393
dataset : Dataset or str
394-
The dataset ID for the request.
394+
The dataset name for the request.
395395
mode : FeedMode or str {'live', 'historical-streaming', 'historical'}, default 'historical-streaming'
396396
The data feed mode for the request.
397397
symbols : List[Union[str, int]] or str, optional

databento/historical/api/symbology.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def resolve(
3636
Parameters
3737
----------
3838
dataset : Dataset or str
39-
The dataset ID for the request.
39+
The dataset name for the request.
4040
symbols : List[Union[str, int]] or str, optional
4141
The symbols to resolve.
4242
stype_in : SType or str, default 'native'

databento/historical/api/timeseries.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def stream(
4444
Parameters
4545
----------
4646
dataset : Dataset or str
47-
The dataset ID for the request.
47+
The dataset name for the request.
4848
symbols : List[Union[str, int]] or str, optional
4949
The symbols for the request. If ``None`` then will be for ALL symbols.
5050
schema : Schema or str {'mbo', 'mbp-1', 'mbp-10', 'trades', 'tbbo', 'ohlcv-1s', 'ohlcv-1m', 'ohlcv-1h', 'ohlcv-1d', 'definition', 'statistics', 'status'}, default 'trades' # noqa
@@ -137,7 +137,7 @@ async def stream_async(
137137
Parameters
138138
----------
139139
dataset : Dataset or str
140-
The dataset ID for the request.
140+
The dataset name for the request.
141141
symbols : List[Union[str, int]] or str, optional
142142
The symbols for the request. If ``None`` then will be for ALL symbols.
143143
schema : Schema or str {'mbo', 'mbp-1', 'mbp-10', 'trades', 'tbbo', 'ohlcv-1s', 'ohlcv-1m', 'ohlcv-1h', 'ohlcv-1d', 'definition', 'statistics', 'status'}, default 'trades' # noqa

0 commit comments

Comments
 (0)