ArchiveBox/archivebox/pkgs/abx-plugin-pocket/abx_plugin_pocket/config.py
Nick Sweeting 5efeb9d347
Some checks are pending
Build Debian package / build (push) Waiting to run
Build Docker image / buildx (push) Waiting to run
Build Homebrew package / build (push) Waiting to run
Run linters / lint (push) Waiting to run
Build Pip package / build (push) Waiting to run
Run tests / python_tests (ubuntu-22.04, 3.11) (push) Waiting to run
Run tests / docker_tests (push) Waiting to run
add get_SCOPE_CONFIG
2024-10-29 00:33:14 -07:00

12 lines
354 B
Python

from typing import Dict
from pydantic import Field
from abx_spec_config import BaseConfigSet
class PocketConfig(BaseConfigSet):
POCKET_CONSUMER_KEY: str | None = Field(default=None)
POCKET_ACCESS_TOKENS: Dict[str, str] = Field(default=dict) # {<username>: <access_token>, ...}
POCKET_CONFIG = PocketConfig()