Skip to content

DomainFilter

Structure Class

DomainFilter dataclass

Bases: _SerdeShape

The domains to include in or exclude from the results. A root domain also matches its subdomains. For example, example.com also matches docs.example.com.

Attributes

exclude class-attribute instance-attribute
exclude: list[str] | None = ...

The domains to never return results from.

include class-attribute instance-attribute
include: list[str] | None = ...

The domains to return results from. Results from other domains are not returned.