Manage Access for FeatureStore | Teradata Package for Python - Manage Access for FeatureStore - 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
2026-08-13
dita:mapPath
nvi1706202040305.ditamap
dita:ditavalPath
plt1683835213376.ditaval
dita:id
rkb1531260709148
Product Category
Teradata Vantage

If you are the owner of Feature Store, you can grant either read access, write access, or read and write access to other users. Similarly, you can revoke granted access from other users.

Users who are granted read access can access the following APIs on the corresponding Feature Store.
  • list_features
  • list_entities
  • list_data_sources
  • list_feature_groups
  • get_feature
  • get_entity
  • get_data_source
  • get_feature_group
Users who are granted write access can access the following APIs on the corresponding Feature Store.
  • apply
  • archive_feature_group
  • delete_feature_group
  • archive_entity
  • delete_entity
  • archive_data_source
  • delete_data_source
  • archive_feature_group
  • delete_feature_group

Users with both read and write access can access any API on Feature Store.

grant.read

grant.read() grants read access to users.

>>> from teradataml import FeatureStore
>>> fs = FeatureStore("vfs_v1")
>>> fs.grant.read('BoB')
True

grant.write

grant.write() grants write access to users.

>>> from teradataml import FeatureStore
>>> fs = FeatureStore("vfs_v1")
>>> fs.grant.write('BoB')
True

grant.read_write

grant.read_write() grants both read and write access to users.

>>> from teradataml import FeatureStore
>>> fs = FeatureStore("vfs_v1")
>>> fs.grant.read_write('BoB')
True

revoke.read

revoke.read() revokes read access from users.

>>> from teradataml import FeatureStore
>>> fs = FeatureStore("vfs_v1")
>>> fs.revoke.read('BoB')
True

revoke.write

revoke.write() revokes write access from users.

>>> from teradataml import FeatureStore
>>> fs = FeatureStore("vfs_v1")
>>> fs.revoke.write('BoB')
True

revoke.read_write

revoke.read_write() revokes both read and write access from users.

>>> from teradataml import FeatureStore
>>> fs = FeatureStore("vfs_v1")
>>> fs.revoke.read_write('BoB')
True

delete

delete() removes the FeatureStore and its components from repository.

The delete() function removes all the associated database objects along with data. Do not use this function if you don't have permission to perform the following actions on the database used by this Feature Store:
  • Drop triggers
  • Drop tables
  • Drop the database
>>> from teradataml import FeatureStore
>>> fs = FeatureStore("vfs_v1")
>>> fs.setup()
True
>>> # Delete FeatureStore.
>>> fs.delete()
True
>>>