Skip to content

Gender filter

GenderFilter #

GenderFilter(genders: list[Gender])

Bases: RapidataFilter

GenderFilter Class

Can be used to filter who to target based on their gender.

Parameters:

Name Type Description Default
genders list[Gender]

List of genders to filter by.

required
Source code in src/rapidata/rapidata_client/filter/gender_filter.py
def __init__(self, genders: list[Gender]):
    self.genders = genders