mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-06 07:47:53 +10:00
move final legacy config to plugins and fix archivebox config cmd and add search opt
This commit is contained in:
15
archivebox/plugins_extractor/pocket/config.py
Normal file
15
archivebox/plugins_extractor/pocket/config.py
Normal file
@@ -0,0 +1,15 @@
|
||||
__package__ = 'plugins_extractor.pocket'
|
||||
|
||||
from typing import Dict
|
||||
|
||||
from pydantic import Field
|
||||
|
||||
from abx.archivebox.base_configset import BaseConfigSet
|
||||
|
||||
|
||||
class PocketConfig(BaseConfigSet):
|
||||
POCKET_CONSUMER_KEY: str | None = Field(default=None)
|
||||
POCKET_ACCESS_TOKENS: Dict[str, str] = Field(default=lambda: {}) # {<username>: <access_token>, ...}
|
||||
|
||||
|
||||
POCKET_CONFIG = PocketConfig()
|
||||
Reference in New Issue
Block a user