aboutsummaryrefslogtreecommitdiffstats
path: root/python/attr/filters.pyi
diff options
context:
space:
mode:
Diffstat (limited to 'python/attr/filters.pyi')
-rw-r--r--python/attr/filters.pyi5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/attr/filters.pyi b/python/attr/filters.pyi
new file mode 100644
index 0000000..a618140
--- /dev/null
+++ b/python/attr/filters.pyi
@@ -0,0 +1,5 @@
+from typing import Union
+from . import Attribute, _FilterType
+
+def include(*what: Union[type, Attribute]) -> _FilterType: ...
+def exclude(*what: Union[type, Attribute]) -> _FilterType: ...