Skip to content

Turn StoreConfig into Pydantic BaseModel #584

@gpauloski

Description

@gpauloski

Describe the Request

It would be nice to include the StoreConfig as a sub-model of other Pydantic models. This would also make it easy to save and load them from TOML/other config files.

This is mostly for use in TaPS v2 right now.

It would also be nice to have shortcuts for the connector_type (rather than full import path). This could simply be a hand-made dict we check first before importing (this should have an associated test).

Sample Code

No response

Metadata

Metadata

Assignees

Labels

enhancementNew features or improvements to existing functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions