MCPcopy Create free account
hub / github.com/ahalev/python-microgrid / _numpy_represent_int

Function _numpy_represent_int

src/pymgrid/utils/serialize.py:71–72  ·  view source on GitHub ↗
(dumper, data)

Source from the content-addressed store, hash-verified

69
70
71def _numpy_represent_int(dumper, data):
72 return dumper.represent_int(data.item())
73
74
75def _numpy_arr_representer(dumper, data):

Callers

nothing calls this directly

Calls 1

itemMethod · 0.80

Tested by

no test coverage detected