Configuration#
Run configuration dataclass shared by all components.
- class litsync.config.Config[source]#
Bases:
objectConfig(data_root: ‘Path’, email: ‘str’, sources: ‘tuple[str, …]’, pmc_groups: ‘tuple[str, …]’, pmc_formats: ‘tuple[str, …]’, workers: ‘int’ = 4, max_retries: ‘int’ = 5, backoff_base: ‘float’ = 2.0, timeout: ‘int’ = 60, dry_run: ‘bool’ = False, reverify: ‘bool’ = False, prune: ‘bool’ = False, count_articles: ‘bool’ = False, fda_endpoints: ‘Optional[tuple[str, …]]’ = None, verbose: ‘bool’ = False)
- __init__(data_root, email, sources, pmc_groups, pmc_formats, workers=4, max_retries=5, backoff_base=2.0, timeout=60, dry_run=False, reverify=False, prune=False, count_articles=False, fda_endpoints=None, verbose=False)#