get_data_domain() | FeatureStore Get Method | Teradata Package for Python - get_data_domain() - Teradata Package for Python

Teradata® Package for Python User Guide

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Teradata Package for Python
Release Number
20.00
Published
March 2025
ft:locale
en-US
ft:lastEdition
2025-12-05
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
Product Category
Teradata Vantage

Use the get_data_domain() method to retrieve the DataDomain based on the feature store's repo and data domain.

There are no parameters for this function.

Example setup

>>> from teradataml import FeatureStore

Example: Get the DataDomain

Create FeatureStore for repo 'vfs_v1'.

>>> fs = FeatureStore('vfs_v1', data_domain='sales')
Repo vfs_v1 does not exist. Run FeatureStore.setup() to create the repo and setup FeatureStore.

Set up FeatureStore for this repository.

>>> fs.setup()
True

Get DataDomain from FeatureStore.

>>> fs.get_data_domain()
DataDomain(repo=vfs_v1, data_domain=sales)