Skip to content

Commit 7279cb6

Browse files
committed
DOC: Standardize dataset code description
1 parent a74b6b7 commit 7279cb6

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

databento/common/enums.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class FeedMode(Enum):
3030

3131
@unique
3232
class Dataset(Enum):
33-
"""Represents a dataset name (string identifier)."""
33+
"""Represents a dataset code (string identifier)."""
3434

3535
GLBX_MDP3 = "GLBX.MDP3"
3636
XNAS_ITCH = "XNAS.ITCH"

databento/historical/api/batch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def timeseries_submit(
5555
Parameters
5656
----------
5757
dataset : Dataset or str
58-
The dataset name for the request.
58+
The dataset code (string identifier) for the request.
5959
symbols : List[Union[str, int]] or str, optional
6060
The product symbols to filter for. Takes up to 10,000 symbols per request.
6161
If more than 1 symbol is specified, the data is merged and sorted by time.

databento/historical/api/metadata.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def list_schemas(
9898
Parameters
9999
----------
100100
dataset : Dataset or str
101-
The dataset name for the request.
101+
The dataset code (string identifier) for the request.
102102
start_date : date or str, optional
103103
The start date (UTC) for the request range.
104104
end_date : date or str, optional
@@ -143,7 +143,7 @@ def list_fields(
143143
Parameters
144144
----------
145145
dataset : Dataset or str
146-
The dataset name for the request.
146+
The dataset code (string identifier) for the request.
147147
schema : Schema or str {'mbo', 'mbp-1', 'mbp-10', 'trades', 'tbbo', 'ohlcv-1s', 'ohlcv-1m', 'ohlcv-1h', 'ohlcv-1d', 'definition', 'statistics', 'status'}, optional # noqa
148148
The data record schema for the request.
149149
encoding : Encoding or str {'dbz', 'csv', 'json'}, optional
@@ -223,7 +223,7 @@ def list_unit_prices(
223223
Parameters
224224
----------
225225
dataset : Dataset or str
226-
The dataset name for the request.
226+
The dataset code for the request.
227227
mode : FeedMode or str {'live', 'historical-streaming', 'historical'}, optional
228228
The data feed mode for the request.
229229
schema : Schema or str {'mbo', 'mbp-1', 'mbp-10', 'trades', 'tbbo', 'ohlcv-1s', 'ohlcv-1m', 'ohlcv-1h', 'ohlcv-1d', 'definition', 'statistics', 'status'}, optional # noqa
@@ -275,7 +275,7 @@ def get_shape(
275275
Parameters
276276
----------
277277
dataset : Dataset or str
278-
The dataset name for the request.
278+
The dataset code for the request.
279279
symbols : List[Union[str, int]] or str, optional
280280
The product symbols to filter for. Takes up to 10,000 symbols per request.
281281
If `*` or ``None`` then will be for **all** symbols.
@@ -352,7 +352,7 @@ def get_billable_size(
352352
Parameters
353353
----------
354354
dataset : Dataset or str
355-
The dataset name for the request.
355+
The dataset code for the request.
356356
symbols : List[Union[str, int]] or str, optional
357357
The product symbols to filter for. Takes up to 10,000 symbols per request.
358358
If `*` or ``None`` then will be for **all** symbols.
@@ -419,7 +419,7 @@ def get_cost(
419419
Parameters
420420
----------
421421
dataset : Dataset or str
422-
The dataset name for the request.
422+
The dataset code for the request.
423423
mode : FeedMode or str {'live', 'historical-streaming', 'historical'}, default 'historical-streaming'
424424
The data feed mode for the request.
425425
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 name for the request.
39+
The dataset code (string identifier) for the request.
4040
symbols : List[Union[str, int]] or str, optional
4141
The symbols to resolve. Takes up to 10,000 symbols per request.
4242
If `*` or ``None`` then will be for **all** symbols.

databento/historical/api/timeseries.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def stream(
3939
Parameters
4040
----------
4141
dataset : Dataset or str
42-
The dataset name for the request.
42+
The dataset code (string identifier) for the request.
4343
symbols : List[Union[str, int]] or str, optional
4444
The product symbols to filter for. Takes up to 10,000 symbols per request.
4545
If more than 1 symbol is specified, the data is merged and sorted by time.
@@ -136,7 +136,7 @@ async def stream_async(
136136
Parameters
137137
----------
138138
dataset : Dataset or str
139-
The dataset name for the request.
139+
The dataset code (string identifier) for the request.
140140
symbols : List[Union[str, int]] or str, optional
141141
The product symbols to filter for. Takes up to 10,000 symbols per request.
142142
If more than 1 symbol is specified, the data is merged and sorted by time.

0 commit comments

Comments
 (0)