MCPcopy Create free account
hub / github.com/diffgram/diffgram / put_data

Method put_data

shared/connection/mongodb_connector.py:154–161  ·  view source on GitHub ↗
(self, opts)

Source from the content-addressed store, hash-verified

152
153 @with_connection
154 def put_data(self, opts):
155 if 'action_type' not in opts:
156 raise Exception('Provide action_type key.')
157 if 'event_data' not in opts:
158 raise Exception('Provide event_data key.')
159 action_type = opts.pop('action_type')
160 if action_type == 'send_export':
161 return self.__send_export(opts)

Callers

nothing calls this directly

Calls 2

popMethod · 0.45
__send_exportMethod · 0.45

Tested by

no test coverage detected