30361abdd9
VisibilityHandler ( #3 )
...
Create a VisibilityHandler
Co-authored-by: nenzen <stefan@nenzen.com>
Reviewed-on: #3
Reviewed-by: erth9960 <thuning@dsv.su.se>
Co-authored-by: Stefan Nenzén <nenzen@dsv.su.se>
Co-committed-by: Stefan Nenzén <nenzen@dsv.su.se>
2024-03-27 14:54:33 +01:00
Erik Thuning
b81bd64ffd
Made it possible to have more than one handler of the same type
...
by making the handler's queue an init parameter.
2023-11-23 15:41:42 +01:00
Erik Thuning
8582e32f1d
Finished updating docstrings to conform to convention. Also made abstract methods throw an exception if they get called.
2023-03-28 16:43:45 +02:00
Erik Thuning
826f548e63
Create a temporary copy of the existing package state,
...
send that to _handle() methods and clean up after handling is done.
2023-03-15 11:04:24 +01:00
Erik Thuning
b1c74aa86b
Added existing package data to handler input
2023-03-14 16:54:04 +01:00
Erik Thuning
0b06690a38
* Completed ThumbnailHandler
...
* Simplified writing Package to json
* Collector now accepts Handler objects instead of name strings
* Refactored Handler._handle() and its invocation from _process():
- _handle() now returns apply_func
- boilerplate moved into Handler._process()
- Handlers can require other handlers to finish before them
2022-10-22 00:19:03 +02:00
Erik Thuning
1004afa958
Removed unused imports
2022-10-14 15:55:18 +02:00
Erik Thuning
98dd209370
Shortened the file names of handlers and added commented entries for coming handler types
2022-10-07 14:37:54 +02:00