File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 4646 extract_http_status_code_tag ,
4747)
4848
49+ # ddtrace imports are also tested in
50+ # dd-trace-py/tests/internal/test_serverless.py please update those tests when
51+ # making changes to any ddtrace import.
52+
4953if config .appsec_enabled :
5054 from datadog_lambda .asm import (
5155 asm_set_context ,
Original file line number Diff line number Diff line change @@ -882,7 +882,6 @@ def LLMObs_flush(*args, **kwargs):
882882 LLMObs_flush_calls .append ((args , kwargs ))
883883 return original_LLMObs_flush (* args , ** kwargs )
884884
885- monkeypatch .setattr ("datadog_lambda.wrapper.is_new_sandbox" , lambda : True )
886885 monkeypatch .setattr ("datadog_lambda.wrapper.LLMObs.enable" , LLMObs_enable )
887886 monkeypatch .setattr ("datadog_lambda.wrapper.LLMObs.flush" , LLMObs_flush )
888887
You can’t perform that action at this time.
0 commit comments