graphite-project / carbon

Protected member accessed from outside the class PYL-W0212
Bug risk
Minor
10 months ago4 years old
Access to a protected member _USE_C_DESCRIPTORS of a client class
18_globals = globals()
19_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
20_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'carbon_pb2', _globals)
21if _descriptor._USE_C_DESCRIPTORS == False:22
23  DESCRIPTOR._options = None
24  _globals['_POINT']._serialized_start=24
Access to a protected member _options of a client class
20_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'carbon_pb2', _globals)
21if _descriptor._USE_C_DESCRIPTORS == False:
22
23  DESCRIPTOR._options = None24  _globals['_POINT']._serialized_start=24
25  _globals['_POINT']._serialized_end=65
26  _globals['_METRIC']._serialized_start=67
Access to a protected member _serialized_start of a client class
21if _descriptor._USE_C_DESCRIPTORS == False:
22
23  DESCRIPTOR._options = None
24  _globals['_POINT']._serialized_start=2425  _globals['_POINT']._serialized_end=65
26  _globals['_METRIC']._serialized_start=67
27  _globals['_METRIC']._serialized_end=122
Access to a protected member _serialized_end of a client class
22
23  DESCRIPTOR._options = None
24  _globals['_POINT']._serialized_start=24
25  _globals['_POINT']._serialized_end=6526  _globals['_METRIC']._serialized_start=67
27  _globals['_METRIC']._serialized_end=122
28  _globals['_PAYLOAD']._serialized_start=124
Access to a protected member _serialized_start of a client class
23  DESCRIPTOR._options = None
24  _globals['_POINT']._serialized_start=24
25  _globals['_POINT']._serialized_end=65
26  _globals['_METRIC']._serialized_start=6727  _globals['_METRIC']._serialized_end=122
28  _globals['_PAYLOAD']._serialized_start=124
29  _globals['_PAYLOAD']._serialized_end=166