MCPcopy Create free account
hub / github.com/AdaCompNUS/summit / list_blueprints

Function list_blueprints

PythonAPI/util/config.py:66–72  ·  view source on GitHub ↗
(world, bp_filter)

Source from the content-addressed store, hash-verified

64
65
66def list_blueprints(world, bp_filter):
67 blueprint_library = world.get_blueprint_library()
68 blueprints = [bp.id for bp in blueprint_library.filter(bp_filter)]
69 print('available blueprints (filter %r):\n' % bp_filter)
70 for bp in sorted(blueprints):
71 print(' ' + bp)
72 print('')
73
74
75def inspect(args, client):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected