MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _normalize_push_date

Function _normalize_push_date

deployments/desktop/shared/agents.py:1177–1184  ·  view source on GitHub ↗
(value: Any = None)

Source from the content-addressed store, hash-verified

1175 if cached_target_date and cached_target_date != requested_target_date:
1176 return False
1177
1178 for key in ("arxiv_categories", "conferences", "journals", "custom_rss_urls"):
1179 if _normalized_cache_list(metadata.get(key)) != _normalized_cache_list(sources.get(key)):
1180 return False
1181 for key in ("enable_semantic_scholar", "enable_custom_rss"):
1182 if _cache_bool(metadata.get(key)) != bool(sources.get(key)):
1183 return False
1184 return True
1185
1186
1187def _normalize_push_date(value: Any = None) -> str:

Callers 2

run_daily_pushFunction · 0.85
start_daily_push_taskFunction · 0.85

Calls 1

nowMethod · 0.80

Tested by

no test coverage detected