MCPcopy Create free account
hub / github.com/catboost/catboost / GetCurrentJobId

Method GetCurrentJobId

library/cpp/chromium_trace/yson.cpp:39–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37TYsonTraceConsumer::~TYsonTraceConsumer() = default;
38
39TString TYsonTraceConsumer::GetCurrentJobId() {
40 return GetEnv("YT_JOB_ID");
41}
42
43void TYsonTraceConsumer::AddEvent(const TDurationCompleteEvent& event, const TEventArgs* args) {
44 BeginEvent('X', event.Origin);

Callers

nothing calls this directly

Calls 1

GetEnvFunction · 0.50

Tested by

no test coverage detected