File tree Expand file tree Collapse file tree 2 files changed +4
-24
lines changed
Expand file tree Collapse file tree 2 files changed +4
-24
lines changed Original file line number Diff line number Diff line change 2626from newrelic .packages .wrapt import CallableObjectProxy as _CallableObjectProxy
2727from newrelic .packages .wrapt import FunctionWrapper as _FunctionWrapper
2828from newrelic .packages .wrapt import ObjectProxy as _ObjectProxy
29- from newrelic .packages .wrapt import ( # noqa: F401; pylint: disable=W0611
30- apply_patch ,
31- resolve_path ,
32- wrap_object ,
33- wrap_object_attribute ,
34- )
29+ from newrelic .packages .wrapt import resolve_path , wrap_object # noqa: F401; pylint: disable=W0611
3530
3631# We previously had our own pure Python implementation of the generic
3732# object wrapper but we now defer to using the wrapt module as its C
Original file line number Diff line number Diff line change 2121
2222# Import appropriate generated pb2 file for protobuf version
2323if PROTOBUF_VERSION >= (5 ,):
24- from newrelic .core .infinite_tracing_v5_pb2 import ( # noqa: F401; pylint: disable=W0611
25- AttributeValue ,
26- RecordStatus ,
27- Span ,
28- SpanBatch ,
29- )
24+ pass
3025elif PROTOBUF_VERSION >= (4 ,):
31- from newrelic .core .infinite_tracing_v4_pb2 import ( # noqa: F401; pylint: disable=W0611
32- AttributeValue ,
33- RecordStatus ,
34- Span ,
35- SpanBatch ,
36- )
26+ pass
3727else :
38- from newrelic .core .infinite_tracing_v3_pb2 import ( # noqa: F401; pylint: disable=W0611
39- AttributeValue ,
40- RecordStatus ,
41- Span ,
42- SpanBatch ,
43- )
28+ pass
You can’t perform that action at this time.
0 commit comments