feat: added support for catchall datatype: object, and added catchall_complete() so that one filter can do everything#1012
Conversation
… so that one filter can do everything fix: corrected mypy types fix: removed unused import to satisfy mypy fix: black formatting on whole project fix: removed unused imports style: applied black
|
It's just
EDIT: I had This PR also does way more than I was trying to make it do, because I ended up having to not just fix mypy type errors in my new code (which is cool), but then fix other files and stuff for unused imports, import errors, and black formatting for all of it. Sorry. My actual code changes are not that significant. |
|
I don't think you need to fix the unused imports for mypy CI to pass, just so you know. The |
|
@BryceStevenWilley I can't spot the flaw in the branch protection rules, but I think something isn't quite right Edit: OK I think it was "Restrict updates" causing the issue |
catchall_options()to supportcatchall_datatype("object")by passing in the strings directly to docassemble rather than tupling themcatchall_complete()so that you don't have to use a bunch of separate filters if you don't want to, which can keep the template cleaner