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

Function cast

test/test_update_insertion.py:12–14  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

10 calls = []
11
12 def cast(value):
13 calls.append(value)
14 return int(value)
15
16 bx = box_class(box_recast={"batch_size": cast})
17 pairs = [("batch_size", "12")]

Callers

nothing calls this directly

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected