mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
enable relevant hookspecs
This commit is contained in:
parent
c04e0b2f39
commit
7671813aa5
1 changed files with 14 additions and 17 deletions
|
@ -5,33 +5,30 @@ from typing import Dict, Any
|
||||||
from .. import hookspec
|
from .. import hookspec
|
||||||
|
|
||||||
from .base_configset import BaseConfigSet
|
from .base_configset import BaseConfigSet
|
||||||
|
from .base_extractor import BaseExtractor
|
||||||
@hookspec
|
from .base_searchbackend import BaseSearchBackend
|
||||||
def get_CONFIG() -> BaseConfigSet:
|
|
||||||
...
|
|
||||||
|
|
||||||
|
|
||||||
@hookspec
|
@hookspec
|
||||||
def get_EXTRACTORS():
|
def get_CONFIG() -> Dict[str, BaseConfigSet]:
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
@hookspec
|
@hookspec
|
||||||
def get_REPLAYERS():
|
def get_EXTRACTORS() -> Dict[str, BaseExtractor]:
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
@hookspec
|
@hookspec
|
||||||
def get_ADMINDATAVIEWS():
|
def get_SEARCHBACKENDS() -> Dict[str, BaseSearchBackend]:
|
||||||
return {}
|
return {}
|
||||||
|
|
||||||
@hookspec
|
# @hookspec
|
||||||
def get_QUEUES():
|
# def get_REPLAYERS() -> Dict[str, BaseReplayer]:
|
||||||
return {}
|
# return {}
|
||||||
|
|
||||||
@hookspec
|
# @hookspec
|
||||||
def get_SEARCHBACKENDS():
|
# def get_ADMINDATAVIEWS():
|
||||||
return {}
|
# return {}
|
||||||
|
|
||||||
|
# @hookspec
|
||||||
@hookspec
|
# def get_QUEUES():
|
||||||
def extract(snapshot_id) -> Dict[str, Any]:
|
# return {}
|
||||||
return {}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue