MagicFilter
Table of Contents
Namespaces
- Exception
- Operation
Classes
- AttrDict
- Hybrid dict / object that lets `MagicFilter` resolve both `F->foo` (the
attribute path) and `F[foo]` (the subscript path) against a single value.
- MagicFilter
- Lazy, immutable chain of predicate operations that resolves against a
subject value when `resolve()` is called.
- MagicFilterAsFilter
- Bridge that turns a `MagicFilter` chain into a dispatcher-consumable
`Filter`. Mirrors the upstream `MagicFilter` → `Filter` adapter
behaviour: aiogram passes a `MagicFilter` instance straight where a
`Filter` is expected and the dispatcher's `_check` wraps it via
`MagicFilter.resolve`. The PHP `Filter` abstract is more rigid
(`__invoke(object, array)`); this bridge implements that
contract.
Enums
- RegexpMode
- Regex-evaluation mode selector for `MagicFilter::regexp(...)`.