MCPcopy Create free account
hub / github.com/ZSAIm/VideoCrawlerEngine / start_request

Method start_request

helper/payload/request.py:165–183  ·  view source on GitHub ↗

将请求交给工作线程池进行排队处理。 在转交工作线程处理之前将当前的上下文环境拷贝一份交给工作线程。 以保持上下文的连贯性。 Args; context: 该上下文管理器允许

(
        self,
        context=None
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

execute_scriptMethod · 0.80
runMethod · 0.80
js_sessionFunction · 0.80
exec_scriptFunction · 0.80
remote_applyFunction · 0.80
run_asyncMethod · 0.80

Calls 5

copy_context_to_dictFunction · 0.90
get_workerFunction · 0.90
apply_requester_contextFunction · 0.85
enqueueMethod · 0.80
submitMethod · 0.45

Tested by

no test coverage detected