databento / databento-python

The official Python client library for Databento
https://docs.databento.com
Apache License 2.0
137 stars 22 forks source link

decode_metadata not exported from python package #41

Closed Afitzy98 closed 11 months ago

Afitzy98 commented 11 months ago

Expected Behaviour

Successfully import decode_metadata from the databento_dbn package

Actual Behaviour

I cannot import the decode_metadata method from the databento_dbn package and use it to decode the data I have just downloaded. I was able to download the package without any issues. Looking at the contents of the library and the python file for the decoder it looks like it is not exported from the library as suggested in the example.

Steps to Reproduce the Problem

  1. Open jupyter notebook
  2. !pip install databento_dbn
  3. from databento_dbn import decode_metadata

Specifications

Screenshot 2023-11-13 at 21 15 02 Screenshot 2023-11-13 at 21 18 25
threecgreen commented 11 months ago

Thanks for the bug report! The databento_dbn package is managed in a separate repo and the stale example code will be removed in the next release.

For future reference, docs.databento.com is a more comprehensive and up-to-date source for documentation on the Python client.