MCPcopy Create free account
hub / github.com/cdgriffith/Box / find_by_name

Method find_by_name

test/test_box.py:1084–1085  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

1082
1083 class UsersBoxList(BoxList):
1084 def find_by_name(self, name):
1085 return next((i for i in self if i.name == name), None)
1086
1087 db = Box(data, box_recast={"users": UsersBoxList}, box_intact_types=[UsersBoxList])
1088

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected