Skip to content

PatternObjectFilterDict

Dictionary Type

PatternObjectFilterDict

Bases: TypedDict

Dictionary form of PatternObjectFilter.

Attributes

exclusion_filters instance-attribute
exclusion_filters: Sequence[str] | None

A list of one or more exclusion regular expression patterns to exclude certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn't crawled.

inclusion_filters instance-attribute
inclusion_filters: Sequence[str] | None

A list of one or more inclusion regular expression patterns to include certain object types that adhere to the pattern. If you specify an inclusion and exclusion filter/pattern and both match a document, the exclusion filter takes precedence and the document isn't crawled.

object_type instance-attribute
object_type: Required[str]

The supported object type or content type of the data source.