MCPcopy
hub / github.com/apache/caldera / create_operation

Method create_operation

app/service/rest_svc.py:167–172  ·  view source on GitHub ↗
(self, access, data)

Source from the content-addressed store, hash-verified

165 return ''
166
167 async def create_operation(self, access, data):
168 operation = await self._build_operation_object(access, data)
169 operation.set_start_details()
170 await self.get_service('data_svc').store(operation)
171 self.loop.create_task(operation.run(self.get_services()))
172 return [operation.display]
173
174 async def create_schedule(self, access, data):
175 operation = await self._build_operation_object(access, data['operation'])

Callers 2

test_delete_operationMethod · 0.45
test_create_operationMethod · 0.45

Calls 6

set_start_detailsMethod · 0.80
get_serviceMethod · 0.80
get_servicesMethod · 0.80
storeMethod · 0.45
runMethod · 0.45

Tested by 2

test_delete_operationMethod · 0.36
test_create_operationMethod · 0.36