Skip to content

Device filter

DeviceFilter #

DeviceFilter(device_types: list[DeviceType])

Bases: RapidataFilter, BaseModel

DeviceFilter Class

Can be used to filter who to target based on their device type.

Parameters:

Name Type Description Default
device_types list[DeviceType]

List of device types to filter by.

required
Source code in src/rapidata/rapidata_client/filter/device_filter.py
def __init__(self, device_types: list[DeviceType]):
    super().__init__(device_types=device_types)