Teradata Package for Python Function Reference on VantageCloud Lake - revoke - 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.03
- Published
- December 2024
- ft:locale
- en-US
- ft:lastEdition
- 2024-12-19
- dita:id
- TeradataPython_FxRef_Lake_2000
- Product Category
- Teradata Vantage
- teradataml.store.feature_store.feature_store.FeatureStore.revoke
- DESCRIPTION:
Revokes access on FeatureStore.
Note:
One must have admin access to revoke access.
PARAMETERS:
None
RETURNS:
bool
RAISES:
OperationalError
EXAMPLES:
>>> from teradataml import FeatureStore
# Create FeatureStore for repo 'vfs_v1'.
>>> fs = FeatureStore("vfs_v1")
# Setup FeatureStore for this repository.
>>> fs.setup()
True
# Example 1: Revoke read access on FeatureStore from user 'BoB'.
>>> fs.revoke.read('BoB')
True
# Example 2: Revoke write access on FeatureStore from user 'BoB'.
>>> fs.revoke.write('BoB')
True
# Example 3: Revoke read and write access on FeatureStore from user 'BoB'.
>>> fs.revoke.read_write('BoB')
True