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

Method __getattr__

tests/test_journal_fetcher.py:24–28  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

22 """dict-like RSS entry with attribute access."""
23
24 def __getattr__(self, item):
25 try:
26 return self[item]
27 except KeyError as exc:
28 raise AttributeError(item) from exc
29
30
31class FixedDateTime(datetime):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected