Advertisement
Guest User

Mypyc Attrs

a guest
Apr 22nd, 2025
7
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.33 KB | Software | 0 0
  1. GET TYPE
  2. __class__: <class 'mypy.types.UnionType'>
  3. __delattr__: <method-wrapper '__delattr__' of UnionType object at 0x7fce303b9e40>
  4. __dir__: <built-in method __dir__ of UnionType object at 0x7fce303b9e40>
  5. __doc__: None
  6. __eq__: <method-wrapper '__eq__' of UnionType object at 0x7fce303b9e40>
  7. __format__: <built-in method __format__ of UnionType object at 0x7fce303b9e40>
  8. __ge__: <method-wrapper '__ge__' of UnionType object at 0x7fce303b9e40>
  9. __getattribute__: <method-wrapper '__getattribute__' of UnionType object at 0x7fce303b9e40>
  10. __getstate__: <built-in method __getstate__ of UnionType object at 0x7fce303b9e40>
  11. __gt__: <method-wrapper '__gt__' of UnionType object at 0x7fce303b9e40>
  12. __hash__: <method-wrapper '__hash__' of UnionType object at 0x7fce303b9e40>
  13. __init__: <method-wrapper '__init__' of UnionType object at 0x7fce303b9e40>
  14. __init_subclass__: <built-in method __init_subclass__ of type object at 0x1e1ad60>
  15. __le__: <method-wrapper '__le__' of UnionType object at 0x7fce303b9e40>
  16. __lt__: <method-wrapper '__lt__' of UnionType object at 0x7fce303b9e40>
  17. __module__: mypy.types
  18. __mypyc_attrs__: ('items', 'is_evaluated', 'uses_pep604_syntax', 'original_str_expr', 'original_str_fallback', '_can_be_true', '_can_be_false', 'line', 'column', 'end_line', 'end_column')
  19. __ne__: <method-wrapper '__ne__' of UnionType object at 0x7fce303b9e40>
  20. __new__: <built-in method __new__ of type object at 0x1e1ad60>
  21. __reduce__: <built-in method __reduce__ of UnionType object at 0x7fce303b9e40>
  22. __reduce_ex__: <built-in method __reduce_ex__ of UnionType object at 0x7fce303b9e40>
  23. __repr__: <method-wrapper '__repr__' of UnionType object at 0x7fce303b9e40>
  24. __setattr__: <method-wrapper '__setattr__' of UnionType object at 0x7fce303b9e40>
  25. __setstate__: <built-in method __setstate__ of UnionType object at 0x7fce303b9e40>
  26. __sizeof__: <built-in method __sizeof__ of UnionType object at 0x7fce303b9e40>
  27. __str__: <method-wrapper '__str__' of UnionType object at 0x7fce303b9e40>
  28. __subclasshook__: <built-in method __subclasshook__ of type object at 0x1e1ad60>
  29. _can_be_false: -1
  30. _can_be_true: -1
  31. accept: <built-in method accept of UnionType object at 0x7fce303b9e40>
  32. can_be_false: True
  33. can_be_false_default: <built-in method can_be_false_default of UnionType object at 0x7fce303b9e40>
  34. can_be_true: True
  35. can_be_true_default: <built-in method can_be_true_default of UnionType object at 0x7fce303b9e40>
  36. column: -1
  37. deserialize: <built-in method deserialize of type object at 0x1e1ad60>
  38. end_column: None
  39. end_line: None
  40. is_evaluated: True
  41. is_singleton_type: <built-in method is_singleton_type of UnionType object at 0x7fce303b9e40>
  42. items: [builtins.str, None]
  43. length: <built-in method length of UnionType object at 0x7fce303b9e40>
  44. line: -1
  45. make_union: <built-in method make_union of type object at 0x1e1ad60>
  46. original_str_expr: None
  47. original_str_fallback: None
  48. relevant_items: <built-in method relevant_items of UnionType object at 0x7fce303b9e40>
  49. serialize: <built-in method serialize of UnionType object at 0x7fce303b9e40>
  50. set_line: <built-in method set_line of UnionType object at 0x7fce303b9e40>
  51. str_with_options: <built-in method str_with_options of UnionType object at 0x7fce303b9e40>
  52. uses_pep604_syntax: False
  53.  
  54. MAPPED GET TYPE
  55. __class__: <class 'mypy.types.Instance'>
  56. __delattr__: <method-wrapper '__delattr__' of Instance object at 0x7fce2e12b010>
  57. __dir__: <built-in method __dir__ of Instance object at 0x7fce2e12b010>
  58. __doc__: None
  59. __eq__: <method-wrapper '__eq__' of Instance object at 0x7fce2e12b010>
  60. __format__: <built-in method __format__ of Instance object at 0x7fce2e12b010>
  61. __ge__: <method-wrapper '__ge__' of Instance object at 0x7fce2e12b010>
  62. __getattribute__: <method-wrapper '__getattribute__' of Instance object at 0x7fce2e12b010>
  63. __getstate__: <built-in method __getstate__ of Instance object at 0x7fce2e12b010>
  64. __gt__: <method-wrapper '__gt__' of Instance object at 0x7fce2e12b010>
  65. __hash__: <method-wrapper '__hash__' of Instance object at 0x7fce2e12b010>
  66. __init__: <method-wrapper '__init__' of Instance object at 0x7fce2e12b010>
  67. __init_subclass__: <built-in method __init_subclass__ of type object at 0x1e16e40>
  68. __le__: <method-wrapper '__le__' of Instance object at 0x7fce2e12b010>
  69. __lt__: <method-wrapper '__lt__' of Instance object at 0x7fce2e12b010>
  70. __module__: mypy.types
  71. __mypyc_attrs__: ('type', 'args', 'type_ref', 'invalid', 'last_known_value', '_hash', 'extra_attrs', '_can_be_true', '_can_be_false', 'line', 'column', 'end_line', 'end_column')
  72. __ne__: <method-wrapper '__ne__' of Instance object at 0x7fce2e12b010>
  73. __new__: <built-in method __new__ of type object at 0x1e16e40>
  74. __reduce__: <built-in method __reduce__ of Instance object at 0x7fce2e12b010>
  75. __reduce_ex__: <built-in method __reduce_ex__ of Instance object at 0x7fce2e12b010>
  76. __repr__: <method-wrapper '__repr__' of Instance object at 0x7fce2e12b010>
  77. __setattr__: <method-wrapper '__setattr__' of Instance object at 0x7fce2e12b010>
  78. __setstate__: <built-in method __setstate__ of Instance object at 0x7fce2e12b010>
  79. __sizeof__: <built-in method __sizeof__ of Instance object at 0x7fce2e12b010>
  80. __str__: <method-wrapper '__str__' of Instance object at 0x7fce2e12b010>
  81. __subclasshook__: <built-in method __subclasshook__ of type object at 0x1e16e40>
  82. _can_be_false: 1
  83. _can_be_true: 1
  84. _hash: -1
  85. accept: <built-in method accept of Instance object at 0x7fce2e12b010>
  86. args: ()
  87. can_be_false: True
  88. can_be_false_default: <built-in method can_be_false_default of Instance object at 0x7fce2e12b010>
  89. can_be_true: True
  90. can_be_true_default: <built-in method can_be_true_default of Instance object at 0x7fce2e12b010>
  91. column: 37
  92. copy_modified: <built-in method copy_modified of Instance object at 0x7fce2e12b010>
  93. copy_with_extra_attr: <built-in method copy_with_extra_attr of Instance object at 0x7fce2e12b010>
  94. deserialize: <built-in method deserialize of type object at 0x1e16e40>
  95. end_column: None
  96. end_line: None
  97. extra_attrs: None
  98. invalid: False
  99. is_singleton_type: <built-in method is_singleton_type of Instance object at 0x7fce2e12b010>
  100. last_known_value: None
  101. line: 7
  102. serialize: <built-in method serialize of Instance object at 0x7fce2e12b010>
  103. set_line: <built-in method set_line of Instance object at 0x7fce2e12b010>
  104. str_with_options: <built-in method str_with_options of Instance object at 0x7fce2e12b010>
  105. type: TypeInfo(
  106. Name(builtins.str)
  107. Bases(typing.Sequence[builtins.str])
  108. Mro(builtins.str, typing.Sequence, typing.Reversible, typing.Collection, typing.Iterable, typing.Container, builtins.object)
  109. Names(
  110. __add__
  111. __contains__
  112. __eq__
  113. __ge__
  114. __getitem__
  115. __getnewargs__
  116. __gt__
  117. __hash__
  118. __iter__
  119. __le__
  120. __len__
  121. __lt__
  122. __mod__
  123. __mul__
  124. __ne__
  125. __new__
  126. __rmul__
  127. capitalize
  128. casefold
  129. center
  130. count
  131. encode
  132. endswith
  133. expandtabs
  134. find
  135. format
  136. format_map
  137. index
  138. isalnum
  139. isalpha
  140. isascii
  141. isdecimal
  142. isdigit
  143. isidentifier
  144. islower
  145. isnumeric
  146. isprintable
  147. isspace
  148. istitle
  149. isupper
  150. join
  151. ljust
  152. lower
  153. lstrip
  154. maketrans
  155. partition
  156. removeprefix
  157. removesuffix
  158. replace
  159. rfind
  160. rindex
  161. rjust
  162. rpartition
  163. rsplit
  164. rstrip
  165. split
  166. splitlines
  167. startswith
  168. strip
  169. swapcase
  170. title
  171. translate
  172. upper
  173. zfill)
  174. MetaclassType(abc.ABCMeta))
  175. type_ref: None
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement