MCPcopy Create free account
hub / github.com/TaskingAI/TaskingAI / get_sample_codes

Function get_sample_codes

backend/app/services/ui/sample_code.py:27–31  ·  view source on GitHub ↗
(module: SampleCodeModule)

Source from the content-addressed store, hash-verified

25
26
27def get_sample_codes(module: SampleCodeModule):
28 global sample_code_dict
29 if module not in sample_code_dict:
30 sample_code_dict[module] = load_sample_code_for_module(module)
31 return sample_code_dict[module]
32
33
34def load_sample_code_for_module(module: SampleCodeModule):

Callers 1

get_codeFunction · 0.90

Calls 1

Tested by

no test coverage detected