data-as-code / dac

Python Data as Code core implementation
MIT License
6 stars 0 forks source link

Expose load and schema modules #22

Closed francesco086 closed 1 year ago

francesco086 commented 1 year ago

Currently when dac create a package from load.py and schema.py, it exposes the load function and the Schema class, but any other object defined in those two modules are hidden under DAC_PKG_NAME._load and DAC_PKG_NAME._schema.

In many scenarios it is useful to have access to objects defined in those two modules. Therefore I would be better to make the accessible as DAC_PKG_NAME.load and DAC_PKG_NAME.schema

francesco086 commented 1 year ago

Solved with https://github.com/data-as-code/dac/pull/23