MCPcopy Create free account
hub / github.com/ActiveState/code / Request

Function Request

recipes/Python/81983_Loose_Coupling/recipe-81983.py:62–71  ·  view source on GitHub ↗
(title, data={})

Source from the content-addressed store, hash-verified

60 providers[title] = (provider, arguments)
61
62def Request(title, data={}):
63 currentTitles.append(title)
64 currentData.append(data)
65
66 result = apply(apply, providers.get(title))
67
68 currentTitles.pop()
69 currentData.pop()
70
71 return result
72
73def CurrentTitle():
74 return currentTitles[-1]

Callers 3

getNewPageMethod · 0.85
crawlFunction · 0.85
recipe-302930.pyFile · 0.85

Calls 4

applyFunction · 0.50
appendMethod · 0.45
getMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected