Skip to main content
Version: Beta 🚧

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​

NameData TypeDescription
data_sourcesGet all Data Sources in the repository.
entitiesGet all Entities in the repository.
feature_servicesGet all Feature Services in the repository.
feature_tablesGet all FeatureTables in the repository.
feature_viewsGet all FeatureViews in the repository.
promptsGet all Prompts in the repository.
transformationsGet all Transformations in the repository.

Methods​

NameDescription
__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.

Was this page helpful?

🧠 Hi! Ask me anything about Tecton!

Floating button icon