Teradata Package for Python Function Reference on VantageCloud Lake - grant - Teradata Package for Python - Look here for syntax, methods and examples for the functions included in the Teradata Package for Python.

Teradata® Package for Python Function Reference on VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Package for Python
Release Number
20.00.00.11
Publication Date
August 2026
Content Type
Programming Reference
Publication ID
B700-4500-200K
ft:locale
en-US
ft:lastEdition
2026-08-13
ft:sourceId
FTML
dita:id
TeradataPython_FxRef_Lake_2000
Product Category
Teradata Vantage
teradataml.store.feature_store.feature_store.FeatureStore.grant
DESCRIPTION:
    Grants access on FeatureStore.
    Note:
        One must have admin access to grant access.
 
PARAMETERS:
    None
 
RETURNS:
    bool
 
RAISES:
    OperationalError
 
EXAMPLES:
    >>> 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. 
 
    # Setup FeatureStore for this repository.
    >>> fs.setup()
    True
 
    # 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