MCPcopy Index your code
hub / github.com/dataelement/Clawith / _storage_mtime

Function _storage_mtime

backend/app/api/feishu.py:41–51  ·  view source on GitHub ↗
(entry)

Source from the content-addressed store, hash-verified

39
40
41def _storage_mtime(entry) -> float:
42 raw = str(getattr(entry, "modified_at", "") or "")
43 if not raw:
44 return 0.0
45 try:
46 return float(raw)
47 except ValueError:
48 try:
49 return datetime.fromisoformat(raw.replace("Z", "+00:00")).timestamp()
50 except ValueError:
51 return 0.0
52
53
54def _build_card(

Callers 1

process_feishu_eventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected