Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/diffgram/diffgram
/ create_input
Function
create_input
shared/tests/test_utils/data_mocking.py:229–235 ·
view source on GitHub ↗
(input_data, session)
Source
from the content-addressed store, hash-verified
227
228
229
def
create_input(input_data, session):
230
input_obj = Input(
231
**input_data
232
)
233
session.add(input_obj)
234
session.commit()
235
return
input_obj
236
237
238
def
create_event(event_data, session):
Callers
nothing calls this directly
Calls
3
Input
Class · 0.90
commit
Method · 0.80
add
Method · 0.45
Tested by
no test coverage detected