Skip to content

Commit 90af4cf

Browse files
committed
minor internal changes
1 parent 8a5a53f commit 90af4cf

File tree

3 files changed

+983
-983
lines changed

3 files changed

+983
-983
lines changed

src/modelspec/base_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def from_bson_file(cls, filename: str) -> "Base":
278278
Returns:
279279
An modelspec :class:`.Base` for this BSON
280280
"""
281-
with open("document.bson", "rb") as infile:
281+
with open(filename, "rb") as infile:
282282
data_encoded = infile.read()
283283
d = bson.decode(data_encoded)
284284
return cls.from_dict(d)

tests/sample.bson

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)