MCPcopy Create free account
hub / github.com/RASAAS/docmcp-knowledge / get_entries

Function get_entries

scripts/json_to_markdown.py:183–185  ·  view source on GitHub ↗

Get entries from JSON data, handling both 'entries' and 'standards' keys.

(data: dict)

Source from the content-addressed store, hash-verified

181
182
183def get_entries(data: dict) -> list:
184 """Get entries from JSON data, handling both 'entries' and 'standards' keys."""
185 return data.get("entries", data.get("standards", []))
186
187
188def get_title_str(title, lang: str = "en") -> str:

Callers 2

Calls 1

getMethod · 0.80

Tested by

no test coverage detected