MCPcopy Create free account
hub / github.com/917Dhj/DeepPaperNote / runtime_config

Function runtime_config

scripts/common.py:933–945  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

931
932
933def runtime_config() -> dict[str, Any]:
934 return {
935 "obsidian_vault": env_config_value(
936 "DEEPPAPERNOTE_OBSIDIAN_VAULT",
937 "READ_ARXIV_OBSIDIAN_VAULT",
938 ),
939 "papers_dir": env_config_value("DEEPPAPERNOTE_PAPERS_DIR", default="Research/Papers"),
940 "output_dir": env_config_value("DEEPPAPERNOTE_OUTPUT_DIR", default="tmp/DeepPaperNote"),
941 "workspace_output_dir": env_config_value(
942 "DEEPPAPERNOTE_WORKSPACE_OUTPUT_DIR",
943 default="DeepPaperNote_output",
944 ),
945 }
946
947
948def configured_obsidian_vault(config: dict[str, Any]) -> Path | None:

Callers 6

mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
default_pdf_pathFunction · 0.85
default_assets_dirFunction · 0.85

Calls 1

env_config_valueFunction · 0.85

Tested by

no test coverage detected