MCPcopy Index your code
hub / github.com/bugy/script-server / started

Method started

src/execution/logging.py:419–436  ·  view source on GitHub ↗
(execution_id, user)

Source from the content-addressed store, hash-verified

417 logging_service = self._execution_logging_service
418
419 def started(execution_id, user):
420 script_config = execution_service.get_config(execution_id, user)
421 audit_name = user.get_audit_name()
422 owner = user.user_id
423 all_audit_names = user.audit_names
424 output_stream = execution_service.get_anonymized_output_stream(execution_id)
425 audit_command = execution_service.get_audit_command(execution_id)
426 parameter_value_wrappers = script_config.parameter_values
427
428 logging_service.start_logging(
429 execution_id,
430 audit_name,
431 owner,
432 audit_command,
433 output_stream,
434 all_audit_names,
435 script_config,
436 parameter_value_wrappers)
437
438 def finished(execution_id, user):
439 exit_code = execution_service.get_exit_code(execution_id)

Callers

nothing calls this directly

Calls 5

get_audit_commandMethod · 0.80
get_configMethod · 0.45
get_audit_nameMethod · 0.45
start_loggingMethod · 0.45

Tested by

no test coverage detected