TestRepo
Summary​
A repository class for accessing and managing various Tecton objects.Â
This class stores and provides access to FeatureViews, Entities, Data Sources, FeatureServices, and Transformations defined in the Feature Repository.
Attributes​
Name | Data Type | Description |
---|---|---|
data_sources | Get all Data Sources in the repository. | |
entities | Get all Entities in the repository. | |
feature_services | Get all Feature Services in the repository. | |
feature_tables | Get all FeatureTables in the repository. | |
feature_views | Get all FeatureViews in the repository. | |
prompts | Get all Prompts in the repository. | |
transformations | Get all Transformations in the repository. |
Methods​
Name | Description |
---|---|
__init__(...) | Initialize the TestRepo with a list of Tecton objects. |
get_all_objects() | Retrieve all Tecton objects stored in the repository. |
get_data_source(...) | Retrieve a DataSource by name. |
get_entity(...) | Retrieve an entity by name. |
get_feature_service(...) | Retrieve a FeatureService by name. |
get_feature_table(...) | Retrieve a FeatureTable by name. |
get_feature_view(...) | Retrieve a FeatureView by name. |
get_prompt(...) | Retrieve an entity by name. |
get_transformation(...) | Retrieve a Transformation by name. |