File tree Expand file tree Collapse file tree 6 files changed +17
-15
lines changed
Expand file tree Collapse file tree 6 files changed +17
-15
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 0.74.0 - 2026-03-24
4+
5+ #### Enhancements
6+ - Changed ` SlowReaderBehavior.SKIP ` to send "skip" instead of "drop" to the gateway
7+ - Upgraded ` databento-dbn ` to 0.52.0:
8+ - Added ` SYMBOL_CSTR_LEN ` constant and versioned variants (` SYMBOL_CSTR_LEN_V1 ` ,
9+ ` SYMBOL_CSTR_LEN_V2 ` , ` SYMBOL_CSTR_LEN_V3 ` ) to Python, including in each versioned
10+ module (` v1 ` , ` v2 ` , ` v3 ` ) as ` SYMBOL_CSTR_LEN `
11+ - Added ` v1 ` , ` v2 ` , and ` v3 ` submodule imports to ` databento_dbn.__init__ ` so they are
12+ accessible as attributes (e.g. ` databento_dbn.v1 ` )
13+
314## 0.73.0 - 2026-03-10
415
516#### Enhancements
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ The library is fully compatible with distributions of Anaconda 2023.x and above.
3232The minimum dependencies as found in the ` pyproject.toml ` are also listed below:
3333- python = "^3.10"
3434- aiohttp = "^3.8.3"
35- - databento-dbn = "~ 0.51 .0"
35+ - databento-dbn = "~ 0.52 .0"
3636- numpy = ">=1.23.5"
3737- pandas = ">=1.5.3"
3838- pip-system-certs = ">=4.0" (Windows only)
@@ -49,7 +49,7 @@ To install the latest stable version of the package from PyPI:
4949The library needs to be configured with an API key from your account.
5050[ Sign up] ( https://databento.com/signup ) for free and you will automatically
5151receive a set of API keys to start with. Each API key is a 32-character
52- string starting with ` db- ` , that can be found on the API Keys page of your [ Databento user portal] ( https://databento.com/platform /keys ) .
52+ string starting with ` db- ` , that can be found on the API Keys page of your [ Databento user portal] ( https://databento.com/portal /keys ) .
5353
5454A simple Databento application looks like this:
5555
Original file line number Diff line number Diff line change @@ -124,11 +124,6 @@ class AuthenticationRequest(GatewayControl):
124124 slow_reader_behavior : SlowReaderBehavior | str | None = None
125125 client : str = USER_AGENT
126126
127- def __post_init__ (self ) -> None :
128- # Temporary work around for LSG support
129- if self .slow_reader_behavior in [SlowReaderBehavior .SKIP , "skip" ]:
130- self .slow_reader_behavior = "drop"
131-
132127
133128@dataclasses .dataclass
134129class SubscriptionRequest (GatewayControl ):
Original file line number Diff line number Diff line change 1- __version__ = "0.73 .0"
1+ __version__ = "0.74 .0"
Original file line number Diff line number Diff line change 11[project ]
22name = " databento"
3- version = " 0.73 .0"
3+ version = " 0.74 .0"
44description = " Official Python client library for Databento"
55readme = " README.md"
66requires-python = " >=3.10"
@@ -10,7 +10,7 @@ dynamic = [ "classifiers" ]
1010dependencies = [
1111 " aiohttp>=3.8.3,<4.0.0; python_version < '3.12'" ,
1212 " aiohttp>=3.9.0,<4.0.0; python_version >= '3.12'" ,
13- " databento-dbn~=0.51 .0" ,
13+ " databento-dbn~=0.52 .0" ,
1414 " numpy>=1.23.5; python_version < '3.12'" ,
1515 " numpy>=1.26.0; python_version >= '3.12'" ,
1616 " pandas>=1.5.3,<4.0.0" ,
Original file line number Diff line number Diff line change @@ -363,11 +363,7 @@ async def test_live_connect_auth_with_slow_reader_behavior(
363363 assert message .dataset == live_client .dataset
364364 assert message .encoding == Encoding .DBN
365365
366- # Temporary handling of renamed variant
367- if slow_reader_behavior == SlowReaderBehavior .SKIP :
368- assert message .slow_reader_behavior == "drop"
369- else :
370- assert message .slow_reader_behavior == slow_reader_behavior
366+ assert message .slow_reader_behavior == slow_reader_behavior
371367
372368
373369async def test_live_connect_auth_two_clients (
You can’t perform that action at this time.
0 commit comments