grant | Feature Store | Teradata Package for Python - grant - 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 grant property to grant access to a user on FeatureStore.

You must have admin access to grant read/write access to a user on FeatureStore.

Example setup

>>> from teradataml import FeatureStore

Create FeatureStore for repo 'vfs_v2'.

>>> fs = FeatureStore("vfs_v2")
Repo vfs_v2 does not exist. Run FeatureStore.setup() to create the repo and setup FeatureStore.

Example 1: Grant read access on FeatureStore to user 'BoB'

>>> fs.grant.read('BoB')
True

Example 2: Grant write access on FeatureStore to user 'BoB'

>>> fs.grant.write('BoB')
True

Example 3: Grant read and write access on FeatureStore to user 'BoB'

>>> fs.grant.read_write('BoB')
True