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

Function _paper_timestamp

skills/profile-updater/scripts/update_profile.py:648–653  ·  view source on GitHub ↗
(paper: Dict[str, Any], now: datetime)

Source from the content-addressed store, hash-verified

646
647
648def _paper_timestamp(paper: Dict[str, Any], now: datetime) -> datetime:
649 for key in ("selected_at", "timestamp", "updated_at", "publish_date"):
650 value = paper.get(key)
651 if value:
652 return _safe_iso_datetime(value, fallback=now)
653 return now
654
655
656def _window_papers(

Callers 2

_window_papersFunction · 0.85

Calls 2

_safe_iso_datetimeFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected