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
Publication Date
March 2025
Content Type
User Guide
Publication ID
B700-4006-200K
ft:locale
en-US
ft:lastEdition
2026-08-13
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
ft:sourceId
dita
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