Skip to content

Commit d4fb19b

Browse files
authored
FIX: Fix Python RecordHeader field getters
2 parents 4272a16 + 615629f commit d4fb19b

File tree

7 files changed

+16
-11
lines changed

7 files changed

+16
-11
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 0.37.1 - 2025-07-15
4+
5+
### Bug fixes
6+
- Fixed issue where `RecordHeader` fields weren't accessible from Python
7+
38
## 0.37.0 - 2025-07-15
49

510
### Breaking changes

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ resolver = "2"
1111
[workspace.package]
1212
authors = ["Databento <[email protected]>"]
1313
edition = "2021"
14-
version = "0.37.0"
14+
version = "0.37.1"
1515
documentation = "https://databento.com/docs"
1616
repository = "https://github.com/databento/dbn"
1717
license = "Apache-2.0"

python/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "databento-dbn"
3-
version = "0.37.0"
3+
version = "0.37.1"
44
description = "Python bindings for encoding and decoding Databento Binary Encoding (DBN)"
55
authors = ["Databento <[email protected]>"]
66
license = "Apache-2.0"
@@ -17,7 +17,7 @@ build-backend = "maturin"
1717

1818
[project]
1919
name = "databento-dbn"
20-
version = "0.37.0"
20+
version = "0.37.1"
2121
authors = [
2222
{ name = "Databento", email = "[email protected]" }
2323
]

rust/dbn-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ name = "dbn"
1616
path = "src/main.rs"
1717

1818
[dependencies]
19-
dbn = { path = "../dbn", version = "=0.37.0", default-features = false }
19+
dbn = { path = "../dbn", version = "=0.37.1", default-features = false }
2020

2121
anyhow = { workspace = true }
2222
clap = { version = "4.5", features = ["derive", "wrap_help"] }

rust/dbn/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ serde = ["dep:serde", "time/parsing", "time/serde"]
2525
trivial_copy = []
2626

2727
[dependencies]
28-
dbn-macros = { version = "=0.37.0", path = "../dbn-macros" }
28+
dbn-macros = { version = "=0.37.1", path = "../dbn-macros" }
2929

3030
async-compression = { version = "0.4.25", features = ["tokio", "zstd"], optional = true }
3131
csv = { workspace = true }

rust/dbn/src/record.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub use traits::{HasRType, Record, RecordMut};
3838
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
3939
#[cfg_attr(
4040
feature = "python",
41-
pyo3::pyclass(dict, eq, module = "databento_dbn"),
41+
pyo3::pyclass(dict, eq, get_all, module = "databento_dbn"),
4242
derive(crate::macros::PyFieldDesc)
4343
)]
4444
#[cfg_attr(not(feature = "python"), derive(MockPyo3))] // bring `pyo3` attribute into scope

0 commit comments

Comments
 (0)