Skip to content

Create Model from a StreamsContainer #2032

Open
@PProfizi

Description

@PProfizi

Description of the feature

When defining a specific behavior for a StreamsProvider, the StreamsContainer in output currently cannot be used to instantiate a Model.
The enhancement would be to accept a StreamsContainer when creating a Model.

@MeenaBytes @ahernsean

I know that other improvements to better handle the behavior of the readers is necessary, maybe at the DataSources level. We can discuss this in other issues.

Steps for implementing the feature

Change the Model.__init__ method to accept a StreamsContainer as data_sources. The parameter already accepts an str or a os.PathLike so we might as well accept a StreamsContainer.

Useful links and references

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions