Added possibility to combine filters or invert result (#895)

* Added possibility to combine filters or invert result
This commit is contained in:
Alex Root Junior 2022-04-24 04:19:19 +03:00 committed by GitHub
parent 7bfc941a1e
commit 4fb77a3a2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 184 additions and 40 deletions

7
CHANGES/894.feature.rst Normal file
View file

@ -0,0 +1,7 @@
Added possibility to combine filters or invert result
Example:
.. code-block:: python
Text(text="demo") | Command(commands=["demo"])
MyFilter() & AnotherFilter()
~StateFilter(state='my-state')