fake-bpy-module 20240517__py3-none-any.whl → 20240519__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

Files changed (312) hide show
  1. _bpy_internal/__init__.pyi +2 -1
  2. _bpy_internal/freedesktop/__init__.pyi +20 -86
  3. addon_utils/__init__.pyi +7 -31
  4. animsys_refactor/__init__.pyi +7 -26
  5. aud/__init__.pyi +3 -5
  6. bgl/__init__.pyi +2 -1630
  7. bl_app_override/__init__.pyi +5 -15
  8. bl_app_override/helpers/__init__.pyi +4 -23
  9. bl_app_template_utils/__init__.pyi +5 -16
  10. bl_console_utils/__init__.pyi +2 -1
  11. bl_console_utils/autocomplete/__init__.pyi +2 -1
  12. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -1
  13. bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -1
  14. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
  15. bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -1
  16. bl_i18n_utils/__init__.pyi +2 -1
  17. bl_i18n_utils/bl_extract_messages/__init__.pyi +15 -65
  18. bl_i18n_utils/merge_po/__init__.pyi +3 -5
  19. bl_i18n_utils/settings/__init__.pyi +4 -23
  20. bl_i18n_utils/utils/__init__.pyi +10 -66
  21. bl_i18n_utils/utils_cli/__init__.pyi +9 -31
  22. bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -5
  23. bl_i18n_utils/utils_rtl/__init__.pyi +2 -1
  24. bl_keymap_utils/__init__.pyi +2 -1
  25. bl_keymap_utils/io/__init__.pyi +10 -40
  26. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
  27. bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -5
  28. bl_keymap_utils/platform_helpers/__init__.pyi +3 -6
  29. bl_keymap_utils/versioning/__init__.pyi +3 -5
  30. bl_math/__init__.pyi +2 -1
  31. bl_operators/__init__.pyi +4 -10
  32. bl_operators/add_mesh_torus/__init__.pyi +4 -19
  33. bl_operators/anim/__init__.pyi +2 -71
  34. bl_operators/assets/__init__.pyi +2 -30
  35. bl_operators/bmesh/__init__.pyi +2 -1
  36. bl_operators/bmesh/find_adjacent/__init__.pyi +9 -35
  37. bl_operators/clip/__init__.pyi +7 -115
  38. bl_operators/console/__init__.pyi +2 -38
  39. bl_operators/constraint/__init__.pyi +2 -37
  40. bl_operators/file/__init__.pyi +2 -28
  41. bl_operators/freestyle/__init__.pyi +2 -37
  42. bl_operators/geometry_nodes/__init__.pyi +15 -103
  43. bl_operators/image/__init__.pyi +2 -52
  44. bl_operators/mesh/__init__.pyi +2 -28
  45. bl_operators/node/__init__.pyi +2 -105
  46. bl_operators/object/__init__.pyi +2 -138
  47. bl_operators/object_align/__init__.pyi +5 -24
  48. bl_operators/object_quick_effects/__init__.pyi +4 -49
  49. bl_operators/object_randomize_transform/__init__.pyi +5 -14
  50. bl_operators/presets/__init__.pyi +4 -376
  51. bl_operators/rigidbody/__init__.pyi +2 -28
  52. bl_operators/screen_play_rendered_anim/__init__.pyi +3 -14
  53. bl_operators/sequencer/__init__.pyi +3 -104
  54. bl_operators/spreadsheet/__init__.pyi +2 -10
  55. bl_operators/userpref/__init__.pyi +3 -201
  56. bl_operators/uvcalc_follow_active/__init__.pyi +4 -19
  57. bl_operators/uvcalc_lightmap/__init__.pyi +4 -34
  58. bl_operators/uvcalc_transform/__init__.pyi +13 -73
  59. bl_operators/vertexpaint_dirt/__init__.pyi +4 -19
  60. bl_operators/view3d/__init__.pyi +2 -64
  61. bl_operators/wm/__init__.pyi +16 -451
  62. bl_operators/world/__init__.pyi +2 -10
  63. bl_previews_utils/__init__.pyi +2 -1
  64. bl_previews_utils/bl_previews_render/__init__.pyi +10 -36
  65. bl_rna_utils/__init__.pyi +2 -1
  66. bl_rna_utils/data_path/__init__.pyi +2 -2
  67. bl_text_utils/__init__.pyi +2 -1
  68. bl_text_utils/external_editor/__init__.pyi +3 -5
  69. bl_ui/__init__.pyi +32 -141
  70. bl_ui/anim/__init__.pyi +3 -12
  71. bl_ui/asset_shelf/__init__.pyi +3 -16
  72. bl_ui/generic_ui_list/__init__.pyi +4 -31
  73. bl_ui/node_add_menu/__init__.pyi +6 -28
  74. bl_ui/node_add_menu_compositor/__init__.pyi +20 -237
  75. bl_ui/node_add_menu_geometry/__init__.pyi +50 -629
  76. bl_ui/node_add_menu_shader/__init__.pyi +20 -170
  77. bl_ui/node_add_menu_texture/__init__.pyi +11 -118
  78. bl_ui/properties_animviz/__init__.pyi +2 -15
  79. bl_ui/properties_collection/__init__.pyi +9 -112
  80. bl_ui/properties_constraint/__init__.pyi +81 -1524
  81. bl_ui/properties_data_armature/__init__.pyi +14 -214
  82. bl_ui/properties_data_bone/__init__.pyi +12 -198
  83. bl_ui/properties_data_camera/__init__.pyi +17 -312
  84. bl_ui/properties_data_curve/__init__.pyi +17 -319
  85. bl_ui/properties_data_curves/__init__.pyi +8 -108
  86. bl_ui/properties_data_empty/__init__.pyi +4 -44
  87. bl_ui/properties_data_gpencil/__init__.pyi +20 -350
  88. bl_ui/properties_data_grease_pencil/__init__.pyi +16 -257
  89. bl_ui/properties_data_lattice/__init__.pyi +5 -65
  90. bl_ui/properties_data_light/__init__.pyi +14 -264
  91. bl_ui/properties_data_lightprobe/__init__.pyi +15 -277
  92. bl_ui/properties_data_mesh/__init__.pyi +23 -325
  93. bl_ui/properties_data_metaball/__init__.pyi +7 -103
  94. bl_ui/properties_data_modifier/__init__.pyi +10 -178
  95. bl_ui/properties_data_pointcloud/__init__.pyi +7 -89
  96. bl_ui/properties_data_shaderfx/__init__.pyi +3 -27
  97. bl_ui/properties_data_speaker/__init__.pyi +7 -111
  98. bl_ui/properties_data_volume/__init__.pyi +10 -156
  99. bl_ui/properties_freestyle/__init__.pyi +31 -615
  100. bl_ui/properties_grease_pencil_common/__init__.pyi +17 -216
  101. bl_ui/properties_mask_common/__init__.pyi +10 -111
  102. bl_ui/properties_material/__init__.pyi +20 -331
  103. bl_ui/properties_material_gpencil/__init__.pyi +12 -182
  104. bl_ui/properties_object/__init__.pyi +16 -276
  105. bl_ui/properties_output/__init__.pyi +20 -370
  106. bl_ui/properties_paint_common/__init__.pyi +14 -106
  107. bl_ui/properties_particle/__init__.pyi +58 -1159
  108. bl_ui/properties_physics_cloth/__init__.pyi +17 -314
  109. bl_ui/properties_physics_common/__init__.pyi +9 -58
  110. bl_ui/properties_physics_dynamicpaint/__init__.pyi +24 -490
  111. bl_ui/properties_physics_field/__init__.pyi +13 -218
  112. bl_ui/properties_physics_fluid/__init__.pyi +30 -626
  113. bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -20
  114. bl_ui/properties_physics_rigidbody/__init__.pyi +11 -188
  115. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +15 -279
  116. bl_ui/properties_physics_softbody/__init__.pyi +18 -353
  117. bl_ui/properties_render/__init__.pyi +56 -1146
  118. bl_ui/properties_scene/__init__.pyi +17 -298
  119. bl_ui/properties_texture/__init__.pyi +30 -577
  120. bl_ui/properties_view_layer/__init__.pyi +20 -346
  121. bl_ui/properties_workspace/__init__.pyi +6 -80
  122. bl_ui/properties_world/__init__.pyi +12 -220
  123. bl_ui/space_clip/__init__.pyi +73 -1090
  124. bl_ui/space_console/__init__.pyi +9 -73
  125. bl_ui/space_dopesheet/__init__.pyi +33 -485
  126. bl_ui/space_filebrowser/__init__.pyi +36 -431
  127. bl_ui/space_graph/__init__.pyi +22 -237
  128. bl_ui/space_image/__init__.pyi +70 -1089
  129. bl_ui/space_info/__init__.pyi +8 -71
  130. bl_ui/space_nla/__init__.pyi +19 -210
  131. bl_ui/space_node/__init__.pyi +32 -436
  132. bl_ui/space_outliner/__init__.pyi +17 -165
  133. bl_ui/space_properties/__init__.pyi +5 -42
  134. bl_ui/space_sequencer/__init__.pyi +79 -1142
  135. bl_ui/space_spreadsheet/__init__.pyi +3 -12
  136. bl_ui/space_statusbar/__init__.pyi +3 -12
  137. bl_ui/space_text/__init__.pyi +18 -193
  138. bl_ui/space_time/__init__.pyi +10 -111
  139. bl_ui/space_toolsystem_common/__init__.pyi +42 -200
  140. bl_ui/space_toolsystem_toolbar/__init__.pyi +119 -863
  141. bl_ui/space_topbar/__init__.pyi +29 -335
  142. bl_ui/space_userpref/__init__.pyi +94 -1576
  143. bl_ui/space_view3d/__init__.pyi +271 -3438
  144. bl_ui/space_view3d_toolbar/__init__.pyi +95 -1899
  145. bl_ui/temp_anim_layers/__init__.pyi +4 -22
  146. bl_ui/utils/__init__.pyi +2 -8
  147. bl_ui_utils/__init__.pyi +2 -1
  148. bl_ui_utils/bug_report_url/__init__.pyi +3 -5
  149. bl_ui_utils/layout/__init__.pyi +2 -1
  150. blend_render_info/__init__.pyi +4 -10
  151. blf/__init__.pyi +2 -1
  152. bmesh/__init__.pyi +2 -1
  153. bmesh/geometry/__init__.pyi +2 -1
  154. bmesh/ops/__init__.pyi +2 -1
  155. bmesh/types/__init__.pyi +29 -45
  156. bmesh/utils/__init__.pyi +2 -1
  157. bpy/__init__.pyi +2 -1
  158. bpy/app/__init__.pyi +2 -1
  159. bpy/app/handlers/__init__.pyi +2 -1
  160. bpy/app/icons/__init__.pyi +2 -1
  161. bpy/app/timers/__init__.pyi +8 -15
  162. bpy/app/translations/__init__.pyi +2 -1
  163. bpy/msgbus/__init__.pyi +2 -1
  164. bpy/ops/__init__.pyi +2 -1
  165. bpy/ops/action/__init__.pyi +22 -21
  166. bpy/ops/anim/__init__.pyi +32 -31
  167. bpy/ops/armature/__init__.pyi +22 -21
  168. bpy/ops/asset/__init__.pyi +8 -7
  169. bpy/ops/bl_pkg/__init__.pyi +4 -3
  170. bpy/ops/boid/__init__.pyi +2 -1
  171. bpy/ops/brush/__init__.pyi +10 -9
  172. bpy/ops/buttons/__init__.pyi +10 -9
  173. bpy/ops/cachefile/__init__.pyi +12 -11
  174. bpy/ops/camera/__init__.pyi +2 -1
  175. bpy/ops/clip/__init__.pyi +38 -37
  176. bpy/ops/cloth/__init__.pyi +2 -1
  177. bpy/ops/collection/__init__.pyi +8 -7
  178. bpy/ops/console/__init__.pyi +8 -7
  179. bpy/ops/constraint/__init__.pyi +30 -29
  180. bpy/ops/curve/__init__.pyi +32 -31
  181. bpy/ops/curves/__init__.pyi +10 -9
  182. bpy/ops/cycles/__init__.pyi +2 -1
  183. bpy/ops/dpaint/__init__.pyi +4 -3
  184. bpy/ops/ed/__init__.pyi +6 -5
  185. bpy/ops/export_anim/__init__.pyi +4 -3
  186. bpy/ops/export_scene/__init__.pyi +40 -39
  187. bpy/ops/file/__init__.pyi +20 -19
  188. bpy/ops/fluid/__init__.pyi +2 -1
  189. bpy/ops/font/__init__.pyi +22 -21
  190. bpy/ops/geometry/__init__.pyi +4 -3
  191. bpy/ops/gizmogroup/__init__.pyi +2 -1
  192. bpy/ops/gpencil/__init__.pyi +134 -133
  193. bpy/ops/graph/__init__.pyi +40 -39
  194. bpy/ops/grease_pencil/__init__.pyi +42 -41
  195. bpy/ops/image/__init__.pyi +22 -21
  196. bpy/ops/import_anim/__init__.pyi +10 -9
  197. bpy/ops/import_curve/__init__.pyi +2 -1
  198. bpy/ops/import_scene/__init__.pyi +20 -19
  199. bpy/ops/info/__init__.pyi +6 -5
  200. bpy/ops/lattice/__init__.pyi +8 -7
  201. bpy/ops/marker/__init__.pyi +10 -9
  202. bpy/ops/mask/__init__.pyi +14 -13
  203. bpy/ops/material/__init__.pyi +2 -1
  204. bpy/ops/mball/__init__.pyi +8 -7
  205. bpy/ops/mesh/__init__.pyi +112 -111
  206. bpy/ops/nla/__init__.pyi +16 -15
  207. bpy/ops/node/__init__.pyi +32 -31
  208. bpy/ops/object/__init__.pyi +186 -185
  209. bpy/ops/outliner/__init__.pyi +38 -37
  210. bpy/ops/paint/__init__.pyi +50 -49
  211. bpy/ops/paintcurve/__init__.pyi +2 -1
  212. bpy/ops/palette/__init__.pyi +6 -5
  213. bpy/ops/particle/__init__.pyi +16 -15
  214. bpy/ops/pose/__init__.pyi +32 -31
  215. bpy/ops/poselib/__init__.pyi +2 -1
  216. bpy/ops/preferences/__init__.pyi +14 -13
  217. bpy/ops/ptcache/__init__.pyi +2 -1
  218. bpy/ops/render/__init__.pyi +4 -3
  219. bpy/ops/rigidbody/__init__.pyi +10 -9
  220. bpy/ops/scene/__init__.pyi +18 -17
  221. bpy/ops/screen/__init__.pyi +16 -15
  222. bpy/ops/script/__init__.pyi +2 -1
  223. bpy/ops/sculpt/__init__.pyi +68 -67
  224. bpy/ops/sculpt_curves/__init__.pyi +4 -3
  225. bpy/ops/sequencer/__init__.pyi +74 -73
  226. bpy/ops/sound/__init__.pyi +20 -19
  227. bpy/ops/spreadsheet/__init__.pyi +2 -1
  228. bpy/ops/surface/__init__.pyi +14 -13
  229. bpy/ops/text/__init__.pyi +24 -23
  230. bpy/ops/text_editor/__init__.pyi +2 -1
  231. bpy/ops/texture/__init__.pyi +4 -3
  232. bpy/ops/transform/__init__.pyi +32 -31
  233. bpy/ops/ui/__init__.pyi +8 -7
  234. bpy/ops/uilist/__init__.pyi +4 -3
  235. bpy/ops/uv/__init__.pyi +66 -65
  236. bpy/ops/view2d/__init__.pyi +2 -1
  237. bpy/ops/view3d/__init__.pyi +36 -35
  238. bpy/ops/wm/__init__.pyi +191 -187
  239. bpy/ops/workspace/__init__.pyi +2 -1
  240. bpy/ops/world/__init__.pyi +2 -1
  241. bpy/path/__init__.pyi +2 -1
  242. bpy/props/__init__.pyi +2 -1
  243. bpy/types/__init__.pyi +546 -4852
  244. bpy/utils/__init__.pyi +16 -71
  245. bpy/utils/previews/__init__.pyi +2 -1
  246. bpy/utils/units/__init__.pyi +2 -1
  247. bpy_extras/__init__.pyi +2 -1
  248. bpy_extras/anim_utils/__init__.pyi +2 -2
  249. bpy_extras/asset_utils/__init__.pyi +2 -11
  250. bpy_extras/bmesh_utils/__init__.pyi +3 -5
  251. bpy_extras/extensions/__init__.pyi +2 -1
  252. bpy_extras/extensions/junction_module/__init__.pyi +3 -7
  253. bpy_extras/id_map_utils/__init__.pyi +2 -1
  254. bpy_extras/image_utils/__init__.pyi +2 -1
  255. bpy_extras/io_utils/__init__.pyi +6 -25
  256. bpy_extras/keyconfig_utils/__init__.pyi +4 -10
  257. bpy_extras/mesh_utils/__init__.pyi +2 -1
  258. bpy_extras/node_shader_utils/__init__.pyi +46 -286
  259. bpy_extras/node_utils/__init__.pyi +4 -10
  260. bpy_extras/object_utils/__init__.pyi +2 -3
  261. bpy_extras/view3d_utils/__init__.pyi +2 -1
  262. bpy_extras/wm_utils/__init__.pyi +2 -1
  263. bpy_extras/wm_utils/progress_report/__init__.pyi +4 -29
  264. bpy_restrict_state/__init__.pyi +3 -15
  265. bpy_types/__init__.pyi +10 -275
  266. console_python/__init__.pyi +8 -37
  267. console_shell/__init__.pyi +8 -26
  268. {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/METADATA +1 -1
  269. fake_bpy_module-20240519.dist-info/RECORD +353 -0
  270. freestyle/__init__.pyi +2 -1
  271. freestyle/chainingiterators/__init__.pyi +12 -41
  272. freestyle/functions/__init__.pyi +9 -34
  273. freestyle/predicates/__init__.pyi +46 -218
  274. freestyle/shaders/__init__.pyi +2 -11
  275. freestyle/types/__init__.pyi +2 -1
  276. freestyle/utils/ContextFunctions/__init__.pyi +2 -1
  277. freestyle/utils/__init__.pyi +5 -16
  278. gpu/__init__.pyi +2 -1
  279. gpu/capabilities/__init__.pyi +2 -1
  280. gpu/matrix/__init__.pyi +2 -1
  281. gpu/platform/__init__.pyi +2 -1
  282. gpu/select/__init__.pyi +2 -1
  283. gpu/shader/__init__.pyi +2 -1
  284. gpu/state/__init__.pyi +2 -1
  285. gpu/texture/__init__.pyi +2 -1
  286. gpu/types/__init__.pyi +2 -1
  287. gpu_extras/__init__.pyi +2 -1
  288. gpu_extras/batch/__init__.pyi +2 -1
  289. gpu_extras/presets/__init__.pyi +2 -1
  290. graphviz_export/__init__.pyi +4 -10
  291. idprop/__init__.pyi +2 -1
  292. idprop/types/__init__.pyi +8 -34
  293. imbuf/__init__.pyi +2 -1
  294. imbuf/types/__init__.pyi +2 -3
  295. keyingsets_builtins/__init__.pyi +4 -157
  296. keyingsets_utils/__init__.pyi +17 -71
  297. mathutils/__init__.pyi +2 -1
  298. mathutils/bvhtree/__init__.pyi +2 -3
  299. mathutils/geometry/__init__.pyi +2 -1
  300. mathutils/interpolate/__init__.pyi +2 -1
  301. mathutils/kdtree/__init__.pyi +2 -1
  302. mathutils/noise/__init__.pyi +2 -1
  303. nodeitems_builtins/__init__.pyi +7 -31
  304. nodeitems_utils/__init__.pyi +10 -46
  305. rna_info/__init__.pyi +24 -201
  306. rna_keymap_ui/__init__.pyi +9 -31
  307. rna_prop_ui/__init__.pyi +11 -50
  308. rna_xml/__init__.pyi +8 -30
  309. sys_info/__init__.pyi +3 -5
  310. fake_bpy_module-20240517.dist-info/RECORD +0 -353
  311. {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/WHEEL +0 -0
  312. {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/top_level.txt +0 -0
@@ -2,28 +2,16 @@ import typing
2
2
  import bpy.types
3
3
  import bpy_types
4
4
 
5
- GenericType = typing.TypeVar("GenericType")
5
+ GenericType1 = typing.TypeVar("GenericType1")
6
+ GenericType2 = typing.TypeVar("GenericType2")
6
7
 
7
8
  class VIEW3D_PT_animation_layers(bpy_types.Panel, bpy_types._GenericUI):
8
- """ """
9
-
10
9
  bl_category: typing.Any
11
- """ """
12
-
13
10
  bl_label: typing.Any
14
- """ """
15
-
16
11
  bl_region_type: typing.Any
17
- """ """
18
-
19
12
  bl_rna: typing.Any
20
- """ """
21
-
22
13
  bl_space_type: typing.Any
23
- """ """
24
-
25
14
  id_data: typing.Any
26
- """ """
27
15
 
28
16
  def append(self, draw_func):
29
17
  """Append a draw function to this menu,
@@ -108,10 +96,7 @@ class VIEW3D_PT_animation_layers(bpy_types.Panel, bpy_types._GenericUI):
108
96
  """
109
97
  ...
110
98
 
111
- def is_extended(self):
112
- """ """
113
- ...
114
-
99
+ def is_extended(self): ...
115
100
  def is_property_hidden(self) -> bool:
116
101
  """Check if a property is hidden.
117
102
 
@@ -246,7 +231,4 @@ class VIEW3D_PT_animation_layers(bpy_types.Panel, bpy_types._GenericUI):
246
231
  """
247
232
  ...
248
233
 
249
- def register_props():
250
- """ """
251
-
252
- ...
234
+ def register_props(): ...
bl_ui/utils/__init__.pyi CHANGED
@@ -1,18 +1,12 @@
1
1
  import typing
2
2
 
3
- GenericType = typing.TypeVar("GenericType")
3
+ GenericType1 = typing.TypeVar("GenericType1")
4
+ GenericType2 = typing.TypeVar("GenericType2")
4
5
 
5
6
  class PresetPanel:
6
- """ """
7
-
8
7
  bl_label: typing.Any
9
- """ """
10
-
11
8
  bl_region_type: typing.Any
12
- """ """
13
-
14
9
  bl_space_type: typing.Any
15
- """ """
16
10
 
17
11
  def draw(self, context):
18
12
  """
bl_ui_utils/__init__.pyi CHANGED
@@ -2,4 +2,5 @@ import typing
2
2
  from . import bug_report_url
3
3
  from . import layout
4
4
 
5
- GenericType = typing.TypeVar("GenericType")
5
+ GenericType1 = typing.TypeVar("GenericType1")
6
+ GenericType2 = typing.TypeVar("GenericType2")
@@ -1,8 +1,6 @@
1
1
  import typing
2
2
 
3
- GenericType = typing.TypeVar("GenericType")
3
+ GenericType1 = typing.TypeVar("GenericType1")
4
+ GenericType2 = typing.TypeVar("GenericType2")
4
5
 
5
- def url_prefill_from_blender(addon_info=None):
6
- """ """
7
-
8
- ...
6
+ def url_prefill_from_blender(addon_info=None): ...
@@ -1,6 +1,7 @@
1
1
  import typing
2
2
 
3
- GenericType = typing.TypeVar("GenericType")
3
+ GenericType1 = typing.TypeVar("GenericType1")
4
+ GenericType2 = typing.TypeVar("GenericType2")
4
5
 
5
6
  def operator_context(layout, op_context):
6
7
  """Context manager that temporarily overrides the operator context."""
@@ -1,18 +1,12 @@
1
1
  import typing
2
2
 
3
- GenericType = typing.TypeVar("GenericType")
3
+ GenericType1 = typing.TypeVar("GenericType1")
4
+ GenericType2 = typing.TypeVar("GenericType2")
4
5
 
5
6
  class RawBlendFileReader:
6
7
  """Return a file handle to the raw blend file data (abstracting compressed formats)."""
7
8
 
8
9
  ...
9
10
 
10
- def main():
11
- """ """
12
-
13
- ...
14
-
15
- def read_blend_rend_chunk(filepath):
16
- """ """
17
-
18
- ...
11
+ def main(): ...
12
+ def read_blend_rend_chunk(filepath): ...
blf/__init__.pyi CHANGED
@@ -13,7 +13,8 @@ need to use the OpenGL wrapper ~bgl as well.
13
13
 
14
14
  import typing
15
15
 
16
- GenericType = typing.TypeVar("GenericType")
16
+ GenericType1 = typing.TypeVar("GenericType1")
17
+ GenericType2 = typing.TypeVar("GenericType2")
17
18
 
18
19
  def aspect(fontid: int, aspect: float):
19
20
  """Set the aspect for drawing text.
bmesh/__init__.pyi CHANGED
@@ -20,7 +20,8 @@ from . import ops
20
20
  from . import types
21
21
  from . import utils
22
22
 
23
- GenericType = typing.TypeVar("GenericType")
23
+ GenericType1 = typing.TypeVar("GenericType1")
24
+ GenericType2 = typing.TypeVar("GenericType2")
24
25
 
25
26
  def from_edit_mesh(mesh: bpy.types.Mesh) -> bmesh.types.BMesh:
26
27
  """Return a BMesh from this mesh, currently the mesh must already be in editmode.
@@ -7,7 +7,8 @@ import typing
7
7
  import bmesh.types
8
8
  import mathutils
9
9
 
10
- GenericType = typing.TypeVar("GenericType")
10
+ GenericType1 = typing.TypeVar("GenericType1")
11
+ GenericType2 = typing.TypeVar("GenericType2")
11
12
 
12
13
  def intersect_face_point(
13
14
  face: bmesh.types.BMFace, point: typing.Sequence[float] | mathutils.Vector
bmesh/ops/__init__.pyi CHANGED
@@ -18,7 +18,8 @@ import bmesh.types
18
18
  import bpy.types
19
19
  import mathutils
20
20
 
21
- GenericType = typing.TypeVar("GenericType")
21
+ GenericType1 = typing.TypeVar("GenericType1")
22
+ GenericType2 = typing.TypeVar("GenericType2")
22
23
 
23
24
  def average_vert_facedata(bm: bmesh.types.BMesh, verts: list[bmesh.types.BMVert] = []):
24
25
  """Average Vertices Face-vert Data.Merge uv/vcols associated with the input vertices at
bmesh/types/__init__.pyi CHANGED
@@ -23,11 +23,10 @@ import typing
23
23
  import bpy.types
24
24
  import mathutils
25
25
 
26
- GenericType = typing.TypeVar("GenericType")
26
+ GenericType1 = typing.TypeVar("GenericType1")
27
+ GenericType2 = typing.TypeVar("GenericType2")
27
28
 
28
29
  class BMDeformVert:
29
- """ """
30
-
31
30
  def clear(self):
32
31
  """Clears all weights."""
33
32
  ...
@@ -243,8 +242,6 @@ class BMEdge:
243
242
  ...
244
243
 
245
244
  class BMEdgeSeq:
246
- """ """
247
-
248
245
  layers: BMLayerAccessEdge
249
246
  """ custom-data layers (read-only).
250
247
 
@@ -328,19 +325,19 @@ class BMEdgeSeq:
328
325
  """
329
326
  ...
330
327
 
331
- def __iter__(self) -> typing.Iterator[GenericType]:
328
+ def __iter__(self) -> typing.Iterator[GenericType1]:
332
329
  """
333
330
 
334
331
  :return:
335
- :rtype: typing.Iterator[GenericType]
332
+ :rtype: typing.Iterator[GenericType1]
336
333
  """
337
334
  ...
338
335
 
339
- def __next__(self) -> GenericType:
336
+ def __next__(self) -> GenericType1:
340
337
  """
341
338
 
342
339
  :return:
343
- :rtype: GenericType
340
+ :rtype: GenericType1
344
341
  """
345
342
  ...
346
343
 
@@ -352,14 +349,9 @@ class BMEdgeSeq:
352
349
  """
353
350
  ...
354
351
 
355
- class BMEditSelIter:
356
- """ """
357
-
358
- ...
352
+ class BMEditSelIter: ...
359
353
 
360
354
  class BMEditSelSeq:
361
- """ """
362
-
363
355
  active: BMVert | BMEdge | BMFace
364
356
  """ The last selected element or None (read-only).
365
357
 
@@ -405,49 +397,49 @@ class BMElemSeq:
405
397
  """Initialize the index values of this sequence.This is the equivalent of looping over all elements and assigning the index values."""
406
398
  ...
407
399
 
408
- def __getitem__(self, key: int) -> GenericType:
400
+ def __getitem__(self, key: int) -> GenericType1:
409
401
  """
410
402
 
411
403
  :param key:
412
404
  :type key: int
413
405
  :return:
414
- :rtype: GenericType
406
+ :rtype: GenericType1
415
407
  """
416
408
  ...
417
409
 
418
- def __setitem__(self, key: int, value: GenericType):
410
+ def __setitem__(self, key: int, value: GenericType1):
419
411
  """
420
412
 
421
413
  :param key:
422
414
  :type key: int
423
415
  :param value:
424
- :type value: GenericType
416
+ :type value: GenericType1
425
417
  """
426
418
  ...
427
419
 
428
- def __delitem__(self, key: int) -> GenericType:
420
+ def __delitem__(self, key: int) -> GenericType1:
429
421
  """
430
422
 
431
423
  :param key:
432
424
  :type key: int
433
425
  :return:
434
- :rtype: GenericType
426
+ :rtype: GenericType1
435
427
  """
436
428
  ...
437
429
 
438
- def __iter__(self) -> typing.Iterator[GenericType]:
430
+ def __iter__(self) -> typing.Iterator[GenericType1]:
439
431
  """
440
432
 
441
433
  :return:
442
- :rtype: typing.Iterator[GenericType]
434
+ :rtype: typing.Iterator[GenericType1]
443
435
  """
444
436
  ...
445
437
 
446
- def __next__(self) -> GenericType:
438
+ def __next__(self) -> GenericType1:
447
439
  """
448
440
 
449
441
  :return:
450
- :rtype: GenericType
442
+ :rtype: GenericType1
451
443
  """
452
444
  ...
453
445
 
@@ -659,8 +651,6 @@ class BMFace:
659
651
  ...
660
652
 
661
653
  class BMFaceSeq:
662
- """ """
663
-
664
654
  active: BMFace
665
655
  """ active face.
666
656
 
@@ -751,19 +741,19 @@ class BMFaceSeq:
751
741
  """
752
742
  ...
753
743
 
754
- def __iter__(self) -> typing.Iterator[GenericType]:
744
+ def __iter__(self) -> typing.Iterator[GenericType1]:
755
745
  """
756
746
 
757
747
  :return:
758
- :rtype: typing.Iterator[GenericType]
748
+ :rtype: typing.Iterator[GenericType1]
759
749
  """
760
750
  ...
761
751
 
762
- def __next__(self) -> GenericType:
752
+ def __next__(self) -> GenericType1:
763
753
  """
764
754
 
765
755
  :return:
766
- :rtype: GenericType
756
+ :rtype: GenericType1
767
757
  """
768
758
  ...
769
759
 
@@ -1105,8 +1095,6 @@ class BMLoop:
1105
1095
  ...
1106
1096
 
1107
1097
  class BMLoopSeq:
1108
- """ """
1109
-
1110
1098
  layers: BMLayerAccessLoop
1111
1099
  """ custom-data layers (read-only).
1112
1100
 
@@ -1143,19 +1131,19 @@ class BMLoopSeq:
1143
1131
  """
1144
1132
  ...
1145
1133
 
1146
- def __iter__(self) -> typing.Iterator[GenericType]:
1134
+ def __iter__(self) -> typing.Iterator[GenericType1]:
1147
1135
  """
1148
1136
 
1149
1137
  :return:
1150
- :rtype: typing.Iterator[GenericType]
1138
+ :rtype: typing.Iterator[GenericType1]
1151
1139
  """
1152
1140
  ...
1153
1141
 
1154
- def __next__(self) -> GenericType:
1142
+ def __next__(self) -> GenericType1:
1155
1143
  """
1156
1144
 
1157
1145
  :return:
1158
- :rtype: GenericType
1146
+ :rtype: GenericType1
1159
1147
  """
1160
1148
  ...
1161
1149
 
@@ -1168,8 +1156,6 @@ class BMLoopSeq:
1168
1156
  ...
1169
1157
 
1170
1158
  class BMLoopUV:
1171
- """ """
1172
-
1173
1159
  pin_uv: bool
1174
1160
  """ UV pin state.
1175
1161
 
@@ -1346,8 +1332,6 @@ class BMVert:
1346
1332
  ...
1347
1333
 
1348
1334
  class BMVertSeq:
1349
- """ """
1350
-
1351
1335
  layers: BMLayerAccessVert
1352
1336
  """ custom-data layers (read-only).
1353
1337
 
@@ -1425,19 +1409,19 @@ class BMVertSeq:
1425
1409
  """
1426
1410
  ...
1427
1411
 
1428
- def __iter__(self) -> typing.Iterator[GenericType]:
1412
+ def __iter__(self) -> typing.Iterator[GenericType1]:
1429
1413
  """
1430
1414
 
1431
1415
  :return:
1432
- :rtype: typing.Iterator[GenericType]
1416
+ :rtype: typing.Iterator[GenericType1]
1433
1417
  """
1434
1418
  ...
1435
1419
 
1436
- def __next__(self) -> GenericType:
1420
+ def __next__(self) -> GenericType1:
1437
1421
  """
1438
1422
 
1439
1423
  :return:
1440
- :rtype: GenericType
1424
+ :rtype: GenericType1
1441
1425
  """
1442
1426
  ...
1443
1427
 
bmesh/utils/__init__.pyi CHANGED
@@ -6,7 +6,8 @@ This module provides access to blenders bmesh data structures.
6
6
  import typing
7
7
  import bmesh.types
8
8
 
9
- GenericType = typing.TypeVar("GenericType")
9
+ GenericType1 = typing.TypeVar("GenericType1")
10
+ GenericType2 = typing.TypeVar("GenericType2")
10
11
 
11
12
  def edge_rotate(edge: bmesh.types.BMEdge, ccw: bool = False) -> bmesh.types.BMEdge:
12
13
  """Rotate the edge and return the newly created edge.
bpy/__init__.pyi CHANGED
@@ -16,7 +16,8 @@ from . import props
16
16
  from . import types
17
17
  from . import utils
18
18
 
19
- GenericType = typing.TypeVar("GenericType")
19
+ GenericType1 = typing.TypeVar("GenericType1")
20
+ GenericType2 = typing.TypeVar("GenericType2")
20
21
  context: bpy.types.Context
21
22
 
22
23
  data: bpy.types.BlendData
bpy/app/__init__.pyi CHANGED
@@ -17,7 +17,8 @@ from . import icons
17
17
  from . import timers
18
18
  from . import translations
19
19
 
20
- GenericType = typing.TypeVar("GenericType")
20
+ GenericType1 = typing.TypeVar("GenericType1")
21
+ GenericType2 = typing.TypeVar("GenericType2")
21
22
 
22
23
  def help_text(all: bool | None = False):
23
24
  """Return the help text as a string.
@@ -42,7 +42,8 @@ Below is an example of a mesh that is altered from a handler:
42
42
  import typing
43
43
  import bpy.types
44
44
 
45
- GenericType = typing.TypeVar("GenericType")
45
+ GenericType1 = typing.TypeVar("GenericType1")
46
+ GenericType2 = typing.TypeVar("GenericType2")
46
47
  animation_playback_post: list[typing.Callable[[bpy.types.Scene, None]]]
47
48
  """ on ending animation playback
48
49
  """
@@ -1,6 +1,7 @@
1
1
  import typing
2
2
 
3
- GenericType = typing.TypeVar("GenericType")
3
+ GenericType1 = typing.TypeVar("GenericType1")
4
+ GenericType2 = typing.TypeVar("GenericType2")
4
5
 
5
6
  def new_triangles(
6
7
  range: tuple | None,
@@ -32,24 +32,21 @@ Pythons queue.Queue can be used here, because it implements the required locking
32
32
 
33
33
  import typing
34
34
 
35
- GenericType = typing.TypeVar("GenericType")
35
+ GenericType1 = typing.TypeVar("GenericType1")
36
+ GenericType2 = typing.TypeVar("GenericType2")
36
37
 
37
- def is_registered(function: int | None) -> bool:
38
+ def is_registered(function: typing.Callable[[], float]) -> bool:
38
39
  """Check if this function is registered as a timer.
39
40
 
40
41
  :param function: Function to check.
41
- :type function: int | None
42
+ :type function: typing.Callable[[], float]
42
43
  :return: True when this function is registered, otherwise False.
43
44
  :rtype: bool
44
45
  """
45
46
 
46
47
  ...
47
48
 
48
- def register(
49
- function: typing.Callable | None,
50
- first_interval: float | None = 0,
51
- persistent: bool | None = False,
52
- ):
49
+ def register(function: typing.Callable[[], float]):
53
50
  """Add a new function that will be called after the specified amount of seconds.
54
51
  The function gets no arguments and is expected to return either None or a float.
55
52
  If None is returned, the timer will be unregistered.
@@ -57,20 +54,16 @@ def register(
57
54
  functools.partial can be used to assign some parameters.
58
55
 
59
56
  :param function: The function that should called.
60
- :type function: typing.Callable | None
61
- :param first_interval: Seconds until the callback should be called the first time.
62
- :type first_interval: float | None
63
- :param persistent: Don't remove timer when a new file is loaded.
64
- :type persistent: bool | None
57
+ :type function: typing.Callable[[], float]
65
58
  """
66
59
 
67
60
  ...
68
61
 
69
- def unregister(function: typing.Any | None):
62
+ def unregister(function: typing.Callable[[], float]):
70
63
  """Unregister timer.
71
64
 
72
65
  :param function: Function to unregister.
73
- :type function: typing.Any | None
66
+ :type function: typing.Callable[[], float]
74
67
  """
75
68
 
76
69
  ...
@@ -58,7 +58,8 @@ for more info.
58
58
 
59
59
  import typing
60
60
 
61
- GenericType = typing.TypeVar("GenericType")
61
+ GenericType1 = typing.TypeVar("GenericType1")
62
+ GenericType2 = typing.TypeVar("GenericType2")
62
63
 
63
64
  def locale_explode(locale):
64
65
  """Return all components and their combinations of the given ISO locale string.For non-complete locales, missing elements will be None.
bpy/msgbus/__init__.pyi CHANGED
@@ -46,7 +46,8 @@ see bpy.app.handlers.load_post.
46
46
 
47
47
  import typing
48
48
 
49
- GenericType = typing.TypeVar("GenericType")
49
+ GenericType1 = typing.TypeVar("GenericType1")
50
+ GenericType2 = typing.TypeVar("GenericType2")
50
51
 
51
52
  def clear_by_owner(owner):
52
53
  """Clear all subscribers using this owner."""
bpy/ops/__init__.pyi CHANGED
@@ -227,4 +227,5 @@ from . import wm
227
227
  from . import workspace
228
228
  from . import world
229
229
 
230
- GenericType = typing.TypeVar("GenericType")
230
+ GenericType1 = typing.TypeVar("GenericType1")
231
+ GenericType2 = typing.TypeVar("GenericType2")