MCPcopy Index your code
hub / github.com/SkyworkAI/DeepResearchAgent / print

Function print

src/utils/misc.py:196–202  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

194 builtin_print = builtins.print
195
196 def print(*args, **kwargs):
197 force = kwargs.pop("force", False)
198 force = force or (get_world_size() > 8)
199 if is_master or force:
200 now = datetime.datetime.now().time()
201 builtin_print("[{}] ".format(now), end="") # print with time stamp
202 builtin_print(*args, **kwargs)
203
204 builtins.print = print
205

Callers 15

url_utils.pyFile · 0.85
_load_dataMethod · 0.85
_auto_reload_dataMethod · 0.85
_prepare_chart_dataMethod · 0.85
get_dataMethod · 0.85
runMethod · 0.85
_log_writer_threadMethod · 0.85
queue_for_evalMethod · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls 3

get_world_sizeFunction · 0.85
popMethod · 0.80
formatMethod · 0.45

Tested by 15

backtest_strategyFunction · 0.68
test_github_systemFunction · 0.68
test_spot_websocketFunction · 0.68
on_messageFunction · 0.68
on_errorFunction · 0.68
on_closeFunction · 0.68
on_openFunction · 0.68
test_futures_websocketFunction · 0.68
test_spot_clientFunction · 0.68
test_futures_clientFunction · 0.68
runFunction · 0.68
mainFunction · 0.68