get_current_filter() | FilterManager Method | Teradata Package for Python - get_current_filter() - 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
Use the get_current_filter() method to get the currently active filter from the FilterManager's artifacts.
There are no parameters for this method.

Example: Create a FilterManager, Load Filter Definitions, and Get the Currently Active Filter

Create a FilterManager and load filter definitions.

>>> fm = FilterManager(repo='vfs_v1', name='stats_filter_manager')
Filter Manager 'stats_filter_manager' does not exist. Run FilterManager.load_filter() to create it.
>>> fm.load_filter(df=df.groupby('stats').count()[['stats']])
True

Get the currently active filter.

>>> fm.get_current_filter()
    stats
0  Advanced