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

Function load_so_data

loader.py:36–42  ·  view source on GitHub ↗
(tag: str = "neo4j", page: int = 1)

Source from the content-addressed store, hash-verified

34
35
36def load_so_data(tag: str = "neo4j", page: int = 1) -> None:
37 parameters = (
38 f"?pagesize=100&page={page}&order=desc&sort=creation&answers=1&tagged={tag}"
39 "&site=stackoverflow&filter=!*236eb_eL9rai)MOSNZ-6D3Q6ZKb0buI*IVotWaTb"
40 )
41 data = requests.get(so_api_base_url + parameters).json()
42 insert_so_data(data)
43
44
45def load_high_score_so_data() -> None:

Callers 1

render_pageFunction · 0.85

Calls 1

insert_so_dataFunction · 0.85

Tested by

no test coverage detected