MCPcopy Create free account
hub / github.com/python/cpython / _get_app

Function _get_app

PC/layout/support/appxmanifest.py:264–273  ·  view source on GitHub ↗
(xml, appid)

Source from the content-addressed store, hash-verified

262
263
264def _get_app(xml, appid):
265 if appid:
266 app = xml.find(
267 "m:Applications/m:Application[@Id='{}']".format(appid), APPXMANIFEST_NS
268 )
269 if app is None:
270 raise LookupError(appid)
271 else:
272 app = xml
273 return app
274
275
276def add_visual(xml, appid, data):

Callers 3

add_visualFunction · 0.85
add_aliasFunction · 0.85
add_file_typeFunction · 0.85

Calls 2

findMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…