MCPcopy Index your code
hub / github.com/diffgram/diffgram / create_image

Function create_image

shared/tests/test_utils/data_mocking.py:222–226  ·  view source on GitHub ↗
(image_data, session)

Source from the content-addressed store, hash-verified

220
221
222def create_image(image_data, session):
223 im_obj = Image(**image_data)
224 session.add(im_obj)
225 session.commit()
226 return im_obj
227
228
229def create_input(input_data, session):

Callers

nothing calls this directly

Calls 3

ImageClass · 0.90
commitMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected