MCPcopy
hub / github.com/apache/superset / get

Function get

superset/examples/countries.py:2502–2506  ·  view source on GitHub ↗

Get country data based on a standard code and a symbol

(field: str, symbol: str)

Source from the content-addressed store, hash-verified

2500
2501
2502def get(field: str, symbol: str) -> Optional[Dict[str, Any]]:
2503 """
2504 Get country data based on a standard code and a symbol
2505 """
2506 return all_lookups[field].get(symbol.lower())

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected