Module Expr Str ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias Assign NameStore ListLoad Str Str Str Str Str Assign NameStore TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If NameLoad body Return Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body For NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad orelse Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr BinOpMult Str NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If BoolOpAnd AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad NameLoad body Expr Str If NameLoad body Assign NameStore Str Assign NameStore Str orelse Assign NameStore Str Assign NameStore Str If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call NameLoad NameLoad NameLoad BinOpAdd NameLoad Num NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpMult Str NameLoad NameLoad orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str If CompareIs Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str orelse Assign NameStore NameLoad If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore NameLoad orelse Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body If NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad While UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str body Assign NameStore ListLoad Call AttributeLoad NameLoad attr While Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse If CompareNotEq NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore NameLoad If BoolOpAnd NameLoad CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore NameLoad If UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str If Call AttributeLoad NameLoad attr Str body Assign NameStore Str orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore Str If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr orelse Assign NameStore Call AttributeLoad Call NameLoad NameLoad AttributeLoad NameLoad attr attr orelse If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr While UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad orelse Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore NameLoad If CompareIn AttributeLoad NameLoad attr TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareIn AttributeLoad NameLoad attr TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareIn AttributeLoad NameLoad attr TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareIn AttributeLoad NameLoad attr TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareIn AttributeLoad NameLoad attr TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body If AttributeLoad NameLoad attr body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad orelse Expr Call AttributeLoad Call NameLoad NameLoad AttributeLoad NameLoad attr attr NameLoad orelse If AttributeLoad NameLoad attr body If BoolOpAnd UnaryOpNot NameLoad Call AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse If BoolOpAnd UnaryOpNot NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return UnaryOpNot AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body While CompareLtE Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Str Return AugAssignAdd AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body While NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Break Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num AugAssignAdd AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Raise Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Raise Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Return Call NameLoad NameLoad Str handlers ExceptHandler type NameLoad name NameStore body Raise Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Call AttributeLoad NameLoad attr While BoolOpAnd AttributeLoad NameLoad attr CompareIn SubscriptLoad AttributeLoad NameLoad attr Index Num TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If BoolOpOr CompareLt Call NameLoad NameLoad Num CompareNotIn SubscriptLoad NameLoad Index Num TupleLoad Str Str body Raise Call AttributeLoad NameLoad attr Str If BoolOpOr CompareLt Call NameLoad NameLoad Num CompareNotEq SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num body Raise Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call NameLoad SubscriptLoad NameLoad Slice Num Num handlers ExceptHandler type NameLoad name NameStore body Raise Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Raise Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad BinOpMod Str TupleLoad BinOpAdd AttributeLoad NameLoad attr Num BinOpAdd AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad BinOpMod Str TupleLoad BinOpAdd AttributeLoad NameLoad attr Num BinOpAdd AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr BinOpAdd Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr CompareLtE Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Str Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad Num body Return Str If CompareEq NameLoad Num body Return Str If CompareEq NameLoad Num body Return Str If CompareEq NameLoad Num body Return Str If CompareEq NameLoad Num body Return Str If CompareEq NameLoad Num body Return Str If BoolOpAnd UnaryOpNot NameLoad BoolOpOr CompareGtE NameLoad Num CompareLt NameLoad Num body Return BinOpMod Str NameLoad Return NameLoad decorator_list Return Call AttributeLoad Str attr ListComp Call NameLoad NameLoad comprehension NameStore NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body If BinOpBitAnd Call NameLoad Call AttributeLoad NameLoad attr Num Num body Return BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr Num Str Call AttributeLoad NameLoad attr Num Return Call AttributeLoad NameLoad attr Num decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str TryExcept body Assign NameStore Call NameLoad NameLoad Num handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore SubscriptLoad NameLoad Index BinOpAdd BinOpMult Num Call NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler type NameLoad body If Call AttributeLoad NameLoad attr NameLoad body If CompareEq SubscriptLoad NameLoad Index Num Str body Return Call NameLoad Str orelse Return Call NameLoad Str orelse If Call AttributeLoad NameLoad attr NameLoad body Return Call NameLoad Str orelse TryExcept body Return Call NameLoad Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIn NameLoad TupleLoad Str Str Str body Return NameLoad orelse If CompareIn NameLoad TupleLoad Str Str Str body Return NameLoad orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr TryExcept body Assign NameStore Call NameLoad NameLoad Num handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list
N/A N/A Contains routines for printing protocol messages in text format. collections deque N/A cStringIO N/A re google.net.proto2.python.internal type_checkers google.net.proto2.python.public descriptor N/A __all__ N/A MessageToString PrintMessage PrintField PrintFieldValue Merge N/A _INTEGER_CHECKERS N/A N/A N/A type_checkers Uint32ValueChecker N/A N/A type_checkers Int32ValueChecker N/A N/A type_checkers Uint64ValueChecker N/A N/A type_checkers Int64ValueChecker N/A _FLOAT_INFINITY N/A N/A re compile -?inf(?:inity)?f? N/A re IGNORECASE N/A _FLOAT_NAN N/A N/A re compile nanf? N/A re IGNORECASE ParseError N/A Exception N/A N/A Thrown in case of ASCII parsing error. N/A MessageToString N/A N/A message as_utf8 as_one_line pointy_brackets N/A False False False N/A N/A out N/A N/A cStringIO StringIO N/A N/A PrintMessage message out as_utf8 as_utf8 as_one_line as_one_line pointy_brackets pointy_brackets N/A result N/A N/A out getvalue N/A N/A N/A out close N/A as_one_line N/A N/A N/A N/A result rstrip N/A result N/A PrintMessage N/A N/A message out indent as_utf8 as_one_line pointy_brackets N/A 0 False False False N/A N/A N/A field value N/A N/A message ListFields N/A N/A N/A N/A field label N/A N/A descriptor FieldDescriptor LABEL_REPEATED N/A N/A element value N/A N/A N/A PrintField field element out indent as_utf8 as_one_line pointy_brackets pointy_brackets N/A N/A N/A PrintField field value out indent as_utf8 as_one_line pointy_brackets pointy_brackets N/A PrintField N/A N/A field value out indent as_utf8 as_one_line pointy_brackets N/A 0 False False False N/A N/A Print a single field name/value pair.  For repeated fields, the value
  should be a single element. N/A N/A N/A out write N/A indent N/A N/A field is_extension N/A N/A N/A N/A out write [ N/A N/A N/A N/A N/A N/A field containing_type GetOptions message_set_wire_format N/A N/A field type N/A N/A descriptor FieldDescriptor TYPE_MESSAGE N/A N/A field message_type N/A field extension_scope N/A N/A field label N/A N/A descriptor FieldDescriptor LABEL_OPTIONAL N/A N/A N/A N/A out write N/A N/A field message_type full_name N/A N/A N/A N/A out write N/A field full_name N/A N/A N/A out write ] N/A N/A N/A N/A field type N/A N/A descriptor FieldDescriptor TYPE_GROUP N/A N/A N/A N/A out write N/A N/A field message_type name N/A N/A N/A N/A out write N/A field name N/A N/A N/A field cpp_type N/A N/A descriptor FieldDescriptor CPPTYPE_MESSAGE N/A N/A N/A N/A out write :  N/A N/A PrintFieldValue field value out indent as_utf8 as_one_line pointy_brackets pointy_brackets N/A as_one_line N/A N/A N/A N/A out write N/A N/A N/A N/A out write N/A PrintFieldValue N/A N/A field value out indent as_utf8 as_one_line pointy_brackets N/A 0 False False False N/A N/A Print a single field value (not including name).  For repeated fields,
  the value should be a single element. N/A pointy_brackets N/A N/A openb < N/A closeb > N/A N/A openb { N/A closeb } N/A N/A N/A field cpp_type N/A N/A descriptor FieldDescriptor CPPTYPE_MESSAGE N/A N/A as_one_line N/A N/A N/A N/A out write N/A  %s  openb N/A N/A PrintMessage value out indent as_utf8 as_one_line pointy_brackets pointy_brackets N/A N/A N/A out write closeb N/A N/A N/A N/A out write N/A  %s
 openb N/A N/A PrintMessage value out N/A indent 2 as_utf8 as_one_line pointy_brackets pointy_brackets N/A N/A N/A out write N/A N/A indent closeb N/A N/A N/A N/A field cpp_type N/A N/A descriptor FieldDescriptor CPPTYPE_ENUM N/A N/A enum_value N/A N/A N/A N/A field enum_type values_by_number get value None N/A N/A enum_value None N/A N/A N/A N/A out write N/A enum_value name N/A N/A N/A N/A out write N/A str value N/A N/A N/A N/A field cpp_type N/A N/A descriptor FieldDescriptor CPPTYPE_STRING N/A N/A N/A N/A out write " N/A N/A N/A type value unicode N/A N/A out_value N/A N/A value encode utf-8 N/A N/A out_value value N/A N/A N/A field type N/A N/A descriptor FieldDescriptor TYPE_BYTES N/A N/A out_as_utf8 False N/A N/A out_as_utf8 as_utf8 N/A N/A N/A out write N/A _CEscape out_value out_as_utf8 N/A N/A N/A out write " N/A N/A N/A N/A field cpp_type N/A N/A descriptor FieldDescriptor CPPTYPE_BOOL N/A N/A value N/A N/A N/A N/A out write true N/A N/A N/A N/A out write false N/A N/A N/A N/A out write N/A str value N/A _ParseOrMerge N/A N/A text message allow_multiple_scalars N/A N/A N/A Converts an ASCII representation of a protocol message into a message.

  Args:
    text: Message ASCII representation.
    message: A protocol buffer message to merge into.
    allow_multiple_scalars: Determines if repeated values for a non-repeated
      field are permitted, e.g., the string "foo: 1 foo: 2" for a
      required/optional field named "foo".

  Raises:
    ParseError: On ASCII parsing problems.
   N/A tokenizer N/A _Tokenizer text N/A N/A N/A N/A tokenizer AtEnd N/A N/A N/A _MergeField tokenizer message allow_multiple_scalars N/A Parse N/A N/A text message N/A N/A N/A Parses an ASCII representation of a protocol message into a message.

  Args:
    text: Message ASCII representation.
    message: A protocol buffer message to merge into.

  Raises:
    ParseError: On ASCII parsing problems.
   N/A N/A _ParseOrMerge text message False N/A Merge N/A N/A text message N/A N/A N/A Parses an ASCII representation of a protocol message into a message.

  Like Parse(), but allows repeated values for a non-repeated field, and uses
  the last one.

  Args:
    text: Message ASCII representation.
    message: A protocol buffer message to merge into.

  Raises:
    ParseError: On ASCII parsing problems.
   N/A N/A _ParseOrMerge text message True N/A _MergeField N/A N/A tokenizer message allow_multiple_scalars N/A N/A N/A Merges a single protocol message field into a message.

  Args:
    tokenizer: A tokenizer to parse the field name and values.
    message: A protocol message to record the data.
    allow_multiple_scalars: Determines if repeated values for a non-repeated
      field are permitted, e.g., the string "foo: 1 foo: 2" for a
      required/optional field named "foo".

  Raises:
    ParseError: In case of ASCII parsing problems.
   N/A message_descriptor N/A message DESCRIPTOR N/A N/A N/A tokenizer TryConsume [ N/A N/A name N/A N/A N/A tokenizer ConsumeIdentifier N/A N/A N/A tokenizer TryConsume . N/A N/A N/A N/A name append N/A N/A tokenizer ConsumeIdentifier N/A name N/A N/A . join name N/A N/A N/A message_descriptor is_extendable N/A N/A N/A N/A tokenizer ParseErrorPreviousToken N/A Message type "%s" does not have extensions. N/A message_descriptor full_name N/A field N/A N/A N/A message Extensions _FindExtensionByName name N/A N/A field N/A N/A N/A N/A tokenizer ParseErrorPreviousToken N/A Extension "%s" not registered. name N/A N/A N/A message_descriptor N/A field containing_type N/A N/A N/A N/A tokenizer ParseErrorPreviousToken N/A Extension "%s" does not extend message type "%s". N/A name N/A message_descriptor full_name N/A N/A N/A tokenizer Consume ] N/A N/A name N/A N/A tokenizer ConsumeIdentifier N/A field N/A N/A N/A message_descriptor fields_by_name get name None N/A N/A field N/A N/A field N/A N/A N/A message_descriptor fields_by_name get N/A N/A name lower None N/A N/A field N/A N/A field type N/A N/A descriptor FieldDescriptor TYPE_GROUP N/A N/A field None N/A N/A field N/A N/A field type N/A N/A descriptor FieldDescriptor TYPE_GROUP N/A N/A N/A field message_type name name N/A N/A field None N/A N/A field N/A N/A N/A N/A tokenizer ParseErrorPreviousToken N/A Message type "%s" has no field named "%s". N/A N/A message_descriptor full_name name N/A N/A N/A field cpp_type N/A N/A descriptor FieldDescriptor CPPTYPE_MESSAGE N/A N/A N/A N/A tokenizer TryConsume : N/A N/A N/A tokenizer TryConsume < N/A N/A end_token > N/A N/A N/A N/A tokenizer Consume { N/A end_token } N/A N/A N/A field label N/A N/A descriptor FieldDescriptor LABEL_REPEATED N/A N/A N/A field is_extension N/A N/A sub_message N/A N/A N/A N/A message Extensions N/A field add N/A N/A sub_message N/A N/A N/A getattr message N/A field name add N/A N/A N/A field is_extension N/A N/A sub_message N/A N/A message Extensions N/A field N/A N/A sub_message N/A getattr message N/A field name N/A N/A N/A sub_message SetInParent N/A N/A N/A N/A tokenizer TryConsume end_token N/A N/A N/A N/A tokenizer AtEnd N/A N/A N/A N/A tokenizer ParseErrorPreviousToken N/A Expected "%s". end_token N/A N/A _MergeField tokenizer sub_message allow_multiple_scalars N/A N/A N/A _MergeScalarField tokenizer message field allow_multiple_scalars N/A N/A N/A N/A tokenizer TryConsume , N/A N/A N/A N/A tokenizer TryConsume ; N/A _MergeScalarField N/A N/A tokenizer message field allow_multiple_scalars N/A N/A N/A Merges a single protocol message scalar field into a message.

  Args:
    tokenizer: A tokenizer to parse the field value.
    message: A protocol message to record the data.
    field: The descriptor of the field to be merged.
    allow_multiple_scalars: Determines if repeated values for a non-repeated
      field are permitted, e.g., the string "foo: 1 foo: 2" for a
      required/optional field named "foo".

  Raises:
    ParseError: In case of ASCII parsing problems.
    RuntimeError: On runtime errors.
   N/A N/A N/A tokenizer Consume : N/A value None N/A N/A N/A field type N/A N/A N/A descriptor FieldDescriptor TYPE_INT32 N/A N/A descriptor FieldDescriptor TYPE_SINT32 N/A N/A descriptor FieldDescriptor TYPE_SFIXED32 N/A N/A value N/A N/A tokenizer ConsumeInt32 N/A N/A N/A N/A field type N/A N/A N/A descriptor FieldDescriptor TYPE_INT64 N/A N/A descriptor FieldDescriptor TYPE_SINT64 N/A N/A descriptor FieldDescriptor TYPE_SFIXED64 N/A N/A value N/A N/A tokenizer ConsumeInt64 N/A N/A N/A N/A field type N/A N/A N/A descriptor FieldDescriptor TYPE_UINT32 N/A N/A descriptor FieldDescriptor TYPE_FIXED32 N/A N/A value N/A N/A tokenizer ConsumeUint32 N/A N/A N/A N/A field type N/A N/A N/A descriptor FieldDescriptor TYPE_UINT64 N/A N/A descriptor FieldDescriptor TYPE_FIXED64 N/A N/A value N/A N/A tokenizer ConsumeUint64 N/A N/A N/A N/A field type N/A N/A N/A descriptor FieldDescriptor TYPE_FLOAT N/A N/A descriptor FieldDescriptor TYPE_DOUBLE N/A N/A value N/A N/A tokenizer ConsumeFloat N/A N/A N/A N/A field type N/A N/A descriptor FieldDescriptor TYPE_BOOL N/A N/A value N/A N/A tokenizer ConsumeBool N/A N/A N/A N/A field type N/A N/A descriptor FieldDescriptor TYPE_STRING N/A N/A value N/A N/A tokenizer ConsumeString N/A N/A N/A N/A field type N/A N/A descriptor FieldDescriptor TYPE_BYTES N/A N/A value N/A N/A tokenizer ConsumeByteString N/A N/A N/A N/A field type N/A N/A descriptor FieldDescriptor TYPE_ENUM N/A N/A value N/A N/A tokenizer ConsumeEnum field N/A N/A N/A RuntimeError N/A Unknown field type %d N/A field type N/A N/A N/A field label N/A N/A descriptor FieldDescriptor LABEL_REPEATED N/A N/A N/A field is_extension N/A N/A N/A N/A N/A N/A message Extensions N/A field append value N/A N/A N/A N/A N/A getattr message N/A field name append value N/A N/A N/A field is_extension N/A N/A N/A N/A allow_multiple_scalars N/A N/A message HasExtension field N/A N/A N/A N/A tokenizer ParseErrorPreviousToken N/A Message type "%s" should not have multiple "%s" extensions. N/A N/A N/A message DESCRIPTOR full_name N/A field full_name N/A N/A N/A N/A message Extensions N/A field value N/A N/A N/A N/A allow_multiple_scalars N/A N/A message HasField N/A field name N/A N/A N/A N/A tokenizer ParseErrorPreviousToken N/A Message type "%s" should not have multiple "%s" fields. N/A N/A N/A message DESCRIPTOR full_name N/A field name N/A N/A N/A setattr message N/A field name value N/A _Tokenizer N/A object N/A N/A Protocol buffer ASCII representation tokenizer.

  This class handles the lower level string parsing by splitting it into
  meaningful tokens.

  It was directly ported from the Java protocol buffer API.
   N/A _WHITESPACE N/A N/A re compile (\s|(#.*$))+ N/A re MULTILINE N/A _TOKEN N/A N/A re compile [a-zA-Z_][0-9a-zA-Z_+-]*|[0-9+-][0-9a-zA-Z_.+-]*|"([^"
\\]|\\.)*("|\\?$)|'([^'
\\]|\\.)*('|\\?$) N/A _IDENTIFIER N/A N/A re compile \w+ __init__ N/A N/A self text_message N/A N/A N/A N/A self _text_message text_message N/A N/A self _position 0 N/A N/A self _line -1 N/A N/A self _column 0 N/A N/A self _token_start None N/A N/A self token N/A N/A self _lines N/A deque N/A N/A text_message split N/A N/A self _current_line N/A N/A self _previous_line 0 N/A N/A self _previous_column 0 N/A N/A N/A self _SkipWhitespace N/A N/A N/A self NextToken N/A AtEnd N/A N/A self N/A N/A N/A Checks the end of the text was reached.

    Returns:
      True iff the end was reached.
     N/A N/A N/A self token N/A _PopLine N/A N/A self N/A N/A N/A N/A N/A len N/A self _current_line N/A self _column N/A N/A N/A N/A self _lines N/A N/A N/A self _current_line N/A N/A N/A self _line 1 N/A N/A self _column 0 N/A N/A self _current_line N/A N/A N/A self _lines popleft N/A _SkipWhitespace N/A N/A self N/A N/A N/A True N/A N/A N/A N/A self _PopLine N/A match N/A N/A N/A self _WHITESPACE match N/A self _current_line N/A self _column N/A N/A match N/A N/A N/A length N/A len N/A N/A match group 0 N/A N/A self _column length N/A TryConsume N/A N/A self token N/A N/A N/A Tries to consume a given piece of text.

    Args:
      token: Text to consume.

    Returns:
      True iff the text was consumed.
     N/A N/A N/A self token token N/A N/A N/A N/A self NextToken N/A True N/A False N/A Consume N/A N/A self token N/A N/A N/A Consumes a piece of text.

    Args:
      token: Text to consume.

    Raises:
      ParseError: If the text couldn't be consumed.
     N/A N/A N/A N/A self TryConsume token N/A N/A N/A N/A self _ParseError N/A Expected "%s". token N/A ConsumeIdentifier N/A N/A self N/A N/A N/A Consumes protocol message field identifier.

    Returns:
      Identifier string.

    Raises:
      ParseError: If an identifier couldn't be consumed.
     N/A result N/A self token N/A N/A N/A N/A N/A self _IDENTIFIER match result N/A N/A N/A N/A self _ParseError Expected identifier. N/A N/A N/A self NextToken N/A result N/A ConsumeInt32 N/A N/A self N/A N/A N/A Consumes a signed 32bit integer number.

    Returns:
      The integer parsed.

    Raises:
      ParseError: If a signed 32bit integer couldn't be consumed.
     N/A N/A N/A result N/A ParseInteger N/A self token is_signed True is_long False N/A N/A N/A ValueError N/A e N/A N/A N/A N/A self _ParseError N/A str e N/A N/A N/A self NextToken N/A result N/A ConsumeUint32 N/A N/A self N/A N/A N/A Consumes an unsigned 32bit integer number.

    Returns:
      The integer parsed.

    Raises:
      ParseError: If an unsigned 32bit integer couldn't be consumed.
     N/A N/A N/A result N/A ParseInteger N/A self token is_signed False is_long False N/A N/A N/A ValueError N/A e N/A N/A N/A N/A self _ParseError N/A str e N/A N/A N/A self NextToken N/A result N/A ConsumeInt64 N/A N/A self N/A N/A N/A Consumes a signed 64bit integer number.

    Returns:
      The integer parsed.

    Raises:
      ParseError: If a signed 64bit integer couldn't be consumed.
     N/A N/A N/A result N/A ParseInteger N/A self token is_signed True is_long True N/A N/A N/A ValueError N/A e N/A N/A N/A N/A self _ParseError N/A str e N/A N/A N/A self NextToken N/A result N/A ConsumeUint64 N/A N/A self N/A N/A N/A Consumes an unsigned 64bit integer number.

    Returns:
      The integer parsed.

    Raises:
      ParseError: If an unsigned 64bit integer couldn't be consumed.
     N/A N/A N/A result N/A ParseInteger N/A self token is_signed False is_long True N/A N/A N/A ValueError N/A e N/A N/A N/A N/A self _ParseError N/A str e N/A N/A N/A self NextToken N/A result N/A ConsumeFloat N/A N/A self N/A N/A N/A Consumes an floating point number.

    Returns:
      The number parsed.

    Raises:
      ParseError: If a floating point number couldn't be consumed.
     N/A N/A N/A result N/A ParseFloat N/A self token N/A N/A N/A ValueError N/A e N/A N/A N/A N/A self _ParseError N/A str e N/A N/A N/A self NextToken N/A result N/A ConsumeBool N/A N/A self N/A N/A N/A Consumes a boolean value.

    Returns:
      The bool parsed.

    Raises:
      ParseError: If a boolean value couldn't be consumed.
     N/A N/A N/A result N/A ParseBool N/A self token N/A N/A N/A ValueError N/A e N/A N/A N/A N/A self _ParseError N/A str e N/A N/A N/A self NextToken N/A result N/A ConsumeString N/A N/A self N/A N/A N/A Consumes a string value.

    Returns:
      The string parsed.

    Raises:
      ParseError: If a string value couldn't be consumed.
     N/A the_bytes N/A N/A self ConsumeByteString N/A N/A N/A N/A unicode the_bytes utf-8 N/A N/A N/A UnicodeDecodeError N/A e N/A N/A N/A N/A self _StringParseError e N/A ConsumeByteString N/A N/A self N/A N/A N/A Consumes a byte array value.

    Returns:
      The array parsed (as a string).

    Raises:
      ParseError: If a byte array value couldn't be consumed.
     N/A the_list N/A N/A N/A self _ConsumeSingleByteString N/A N/A N/A self token N/A N/A N/A self token N/A 0 N/A ' " N/A N/A N/A N/A the_list append N/A N/A self _ConsumeSingleByteString N/A N/A N/A join the_list N/A _ConsumeSingleByteString N/A N/A self N/A N/A N/A Consume one token of a string literal.

    String literals (whether bytes or text) can come in multiple adjacent
    tokens which are automatically concatenated, like in C or Python.  This
    method only consumes one token.
     N/A text N/A self token N/A N/A N/A N/A len text 1 N/A N/A text N/A 0 N/A ' " N/A N/A N/A N/A self _ParseError Expected string. N/A N/A N/A N/A len text 2 N/A N/A text N/A -1 N/A text N/A 0 N/A N/A N/A N/A self _ParseError String missing ending quote. N/A N/A N/A result N/A _CUnescape N/A text N/A 1 -1 N/A N/A N/A ValueError N/A e N/A N/A N/A N/A self _ParseError N/A str e N/A N/A N/A self NextToken N/A result N/A ConsumeEnum N/A N/A self field N/A N/A N/A N/A N/A result N/A ParseEnum field N/A self token N/A N/A N/A ValueError N/A e N/A N/A N/A N/A self _ParseError N/A str e N/A N/A N/A self NextToken N/A result N/A ParseErrorPreviousToken N/A N/A self message N/A N/A N/A Creates and *returns* a ParseError for the previously read token.

    Args:
      message: A message to set for the exception.

    Returns:
      A ParseError instance.
     N/A N/A ParseError N/A %d:%d : %s N/A N/A N/A self _previous_line 1 N/A N/A self _previous_column 1 message N/A _ParseError N/A N/A self message N/A N/A N/A Creates and *returns* a ParseError for the current token. N/A N/A ParseError N/A %d:%d : %s N/A N/A N/A self _line 1 N/A N/A self _column 1 message N/A _StringParseError N/A N/A self e N/A N/A N/A N/A N/A self _ParseError N/A Couldn't parse string:  N/A str e N/A NextToken N/A N/A self N/A N/A N/A Reads the next meaningful token. N/A N/A self _previous_line N/A self _line N/A N/A self _previous_column N/A self _column N/A N/A self _column N/A len N/A self token N/A N/A N/A self _SkipWhitespace N/A N/A N/A N/A self _lines N/A N/A len N/A self _current_line N/A self _column N/A N/A N/A self token N/A N/A match N/A N/A N/A self _TOKEN match N/A self _current_line N/A self _column N/A match N/A N/A token N/A N/A match group 0 N/A N/A self token token N/A N/A N/A self token N/A N/A self _current_line N/A N/A self _column N/A N/A _CEscape N/A N/A text as_utf8 N/A N/A escape N/A N/A c N/A N/A N/A o N/A ord c N/A N/A o 10 N/A N/A \n N/A N/A o 13 N/A N/A \r N/A N/A o 9 N/A N/A \t N/A N/A o 39 N/A N/A \' N/A N/A o 34 N/A N/A \" N/A N/A o 92 N/A N/A \\ N/A N/A N/A as_utf8 N/A N/A o 127 N/A o 32 N/A N/A N/A \%03o o N/A c N/A N/A N/A N/A join N/A N/A escape c N/A c text N/A N/A _CUNESCAPE_HEX N/A N/A re compile (\\+)x([0-9a-fA-F])(?![0-9a-fA-F]) _CUnescape N/A N/A text N/A N/A ReplaceHex N/A N/A m N/A N/A N/A N/A N/A len N/A N/A m group 1 1 N/A N/A N/A N/A N/A N/A m group 1 x0 N/A N/A m group 2 N/A N/A N/A m group 0 N/A N/A result N/A N/A _CUNESCAPE_HEX sub ReplaceHex text N/A N/A N/A result decode string_escape N/A ParseInteger N/A N/A text is_signed is_long N/A False False N/A N/A Parses an integer.

  Args:
    text: The text to parse.
    is_signed: True if a signed integer must be parsed.
    is_long: True if a long integer must be parsed.

  Returns:
    The integer value.

  Raises:
    ValueError: Thrown Iff the text is not a valid integer.
   N/A N/A N/A result N/A int text 0 N/A N/A N/A ValueError N/A N/A N/A ValueError N/A Couldn't parse integer: %s text N/A checker N/A _INTEGER_CHECKERS N/A N/A N/A 2 N/A int is_long N/A int is_signed N/A N/A N/A checker CheckValue result N/A result N/A ParseFloat N/A N/A text N/A N/A N/A Parse a floating point number.

  Args:
    text: Text to parse.

  Returns:
    The number parsed.

  Raises:
    ValueError: If a floating point number couldn't be parsed.
   N/A N/A N/A N/A float text N/A N/A N/A ValueError N/A N/A N/A N/A _FLOAT_INFINITY match text N/A N/A N/A N/A text N/A 0 - N/A N/A N/A float -inf N/A N/A N/A float inf N/A N/A N/A N/A _FLOAT_NAN match text N/A N/A N/A float nan N/A N/A N/A N/A N/A float N/A N/A text rstrip f N/A N/A N/A ValueError N/A N/A N/A ValueError N/A Couldn't parse float: %s text N/A ParseBool N/A N/A text N/A N/A N/A Parse a boolean value.

  Args:
    text: Text to parse.

  Returns:
    Boolean values parsed

  Raises:
    ValueError: If text is not a valid boolean.
   N/A N/A text N/A true t 1 N/A N/A True N/A N/A N/A text N/A false f 0 N/A N/A False N/A N/A N/A ValueError Expected "true" or "false". N/A ParseEnum N/A N/A field value N/A N/A N/A Parse an enum value.

  The value can be specified by a number (the enum value), or by
  a string literal (the enum name).

  Args:
    field: Enum field descriptor.
    value: String value.

  Returns:
    Enum value number.

  Raises:
    ValueError: If the enum value could not be parsed.
   N/A enum_descriptor N/A field enum_type N/A N/A N/A number N/A int value 0 N/A N/A N/A ValueError N/A N/A enum_value N/A N/A N/A enum_descriptor values_by_name get value None N/A N/A enum_value None N/A N/A N/A ValueError N/A Enum type "%s" has no value named %s. N/A N/A enum_descriptor full_name value N/A N/A enum_value N/A N/A N/A enum_descriptor values_by_number get number None N/A N/A enum_value None N/A N/A N/A ValueError N/A Enum type "%s" has no value with number %d. N/A N/A enum_descriptor full_name number N/A N/A enum_value number N/A