EOX GitLab Instance
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
View Server 2
harvester
Commits
1dee370c
Commit
1dee370c
authored
Dec 09, 2021
by
Fabian Schindler
Browse files
Fixing typing for postprocessors
parent
e65be197
Pipeline
#19506
passed with stage
in 39 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
harvester/postprocess.py
View file @
1dee370c
from
abc
import
ABC
,
abstractmethod
from
typing
import
Dict
,
Type
class
Postprocessor
(
ABC
):
def
__init__
(
self
,
**
kwargs
):
...
@
abstractmethod
def
postprocess
(
self
,
item
:
dict
)
->
dict
:
pass
POSTPROCESSORS
=
{
POSTPROCESSORS
:
Dict
[
str
,
Type
[
Postprocessor
]]
=
{
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment