roma-glushko / notifykit

👀 A performant, cross-platform, modern Pythonic toolkit for building applications that need watching filesystem events
https://notifykit.readthedocs.io/en/latest/
Apache License 2.0
7 stars 1 forks source link

Events are not matched by match statement #30

Open roma-glushko opened 9 months ago

roma-glushko commented 9 months ago

Right now, it's not match statement ignores Event classes when trying to match them there.

Also, we need to allowlist attributes like path, access_mode, etc, to be matched by the statement. It's not disallowed by default.