MCPcopy
hub / github.com/docker/genai-stack / load_high_score_so_data

Function load_high_score_so_data

loader.py:45–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43
44
45def load_high_score_so_data() -> None:
46 parameters = (
47 f"?fromdate=1664150400&order=desc&sort=votes&site=stackoverflow&"
48 "filter=!.DK56VBPooplF.)bWW5iOX32Fh1lcCkw1b_Y6Zkb7YD8.ZMhrR5.FRRsR6Z1uK8*Z5wPaONvyII"
49 )
50 data = requests.get(so_api_base_url + parameters).json()
51 insert_so_data(data)
52
53
54def insert_so_data(data: dict) -> None:

Callers 1

render_pageFunction · 0.85

Calls 1

insert_so_dataFunction · 0.85

Tested by

no test coverage detected