fake-bpy-module 20250603__py3-none-any.whl → 20250606__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 (284) hide show
  1. _bpy_internal/addons/cli/__init__.pyi +1 -1
  2. _bpy_internal/extensions/junction_module/__init__.pyi +7 -7
  3. _bpy_internal/extensions/stale_file_manager/__init__.pyi +8 -8
  4. _bpy_internal/extensions/wheel_manager/__init__.pyi +3 -3
  5. _bpy_internal/freedesktop/__init__.pyi +16 -16
  6. _bpy_internal/grease_pencil/stroke/__init__.pyi +4 -4
  7. _bpy_internal/system_info/text_generate_runtime/__init__.pyi +1 -1
  8. _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +1 -1
  9. _bpy_internal/system_info/url_prefill_startup/__init__.pyi +2 -2
  10. addon_utils/__init__.pyi +12 -12
  11. animsys_refactor/__init__.pyi +6 -6
  12. aud/__init__.pyi +11 -11
  13. bgl/__init__.pyi +272 -252
  14. bl_app_override/__init__.pyi +3 -3
  15. bl_app_override/helpers/__init__.pyi +2 -2
  16. bl_app_template_utils/__init__.pyi +4 -4
  17. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -2
  18. bl_i18n_utils/bl_extract_messages/__init__.pyi +18 -16
  19. bl_i18n_utils/merge_po/__init__.pyi +1 -1
  20. bl_i18n_utils/settings/__init__.pyi +6 -6
  21. bl_i18n_utils/utils/__init__.pyi +48 -46
  22. bl_i18n_utils/utils_cli/__init__.pyi +6 -6
  23. bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -1
  24. bl_i18n_utils/utils_rtl/__init__.pyi +2 -2
  25. bl_keymap_utils/io/__init__.pyi +9 -9
  26. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +1 -1
  27. bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -1
  28. bl_keymap_utils/platform_helpers/__init__.pyi +2 -2
  29. bl_keymap_utils/versioning/__init__.pyi +1 -1
  30. bl_operators/__init__.pyi +2 -2
  31. bl_operators/add_mesh_torus/__init__.pyi +6 -6
  32. bl_operators/anim/__init__.pyi +24 -24
  33. bl_operators/assets/__init__.pyi +9 -9
  34. bl_operators/bmesh/find_adjacent/__init__.pyi +11 -9
  35. bl_operators/bone_selection_sets/__init__.pyi +18 -18
  36. bl_operators/clip/__init__.pyi +26 -26
  37. bl_operators/connect_to_output/__init__.pyi +17 -15
  38. bl_operators/console/__init__.pyi +10 -10
  39. bl_operators/constraint/__init__.pyi +8 -8
  40. bl_operators/file/__init__.pyi +6 -6
  41. bl_operators/freestyle/__init__.pyi +9 -9
  42. bl_operators/geometry_nodes/__init__.pyi +24 -24
  43. bl_operators/grease_pencil/__init__.pyi +2 -2
  44. bl_operators/image/__init__.pyi +7 -7
  45. bl_operators/image_as_planes/__init__.pyi +32 -32
  46. bl_operators/mesh/__init__.pyi +7 -7
  47. bl_operators/node/__init__.pyi +31 -31
  48. bl_operators/node_editor/node_functions/__init__.pyi +9 -9
  49. bl_operators/object/__init__.pyi +31 -31
  50. bl_operators/object_align/__init__.pyi +5 -5
  51. bl_operators/object_quick_effects/__init__.pyi +9 -9
  52. bl_operators/object_randomize_transform/__init__.pyi +3 -3
  53. bl_operators/presets/__init__.pyi +18 -18
  54. bl_operators/rigidbody/__init__.pyi +7 -7
  55. bl_operators/screen_play_rendered_anim/__init__.pyi +2 -2
  56. bl_operators/sequencer/__init__.pyi +19 -19
  57. bl_operators/spreadsheet/__init__.pyi +4 -4
  58. bl_operators/userpref/__init__.pyi +42 -42
  59. bl_operators/uvcalc_follow_active/__init__.pyi +5 -5
  60. bl_operators/uvcalc_lightmap/__init__.pyi +8 -8
  61. bl_operators/uvcalc_transform/__init__.pyi +20 -20
  62. bl_operators/vertexpaint_dirt/__init__.pyi +4 -4
  63. bl_operators/view3d/__init__.pyi +21 -19
  64. bl_operators/wm/__init__.pyi +88 -88
  65. bl_operators/world/__init__.pyi +2 -2
  66. bl_previews_utils/bl_previews_render/__init__.pyi +9 -7
  67. bl_rna_utils/data_path/__init__.pyi +2 -2
  68. bl_text_utils/external_editor/__init__.pyi +1 -1
  69. bl_ui/__init__.pyi +10 -10
  70. bl_ui/anim/__init__.pyi +2 -2
  71. bl_ui/asset_shelf/__init__.pyi +2 -2
  72. bl_ui/generic_ui_list/__init__.pyi +6 -6
  73. bl_ui/node_add_menu/__init__.pyi +15 -13
  74. bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
  75. bl_ui/node_add_menu_geometry/__init__.pyi +54 -54
  76. bl_ui/node_add_menu_shader/__init__.pyi +16 -16
  77. bl_ui/node_add_menu_texture/__init__.pyi +9 -9
  78. bl_ui/properties_animviz/__init__.pyi +2 -2
  79. bl_ui/properties_collection/__init__.pyi +10 -8
  80. bl_ui/properties_constraint/__init__.pyi +125 -125
  81. bl_ui/properties_data_armature/__init__.pyi +22 -22
  82. bl_ui/properties_data_bone/__init__.pyi +20 -20
  83. bl_ui/properties_data_camera/__init__.pyi +19 -19
  84. bl_ui/properties_data_curve/__init__.pyi +23 -23
  85. bl_ui/properties_data_curves/__init__.pyi +9 -9
  86. bl_ui/properties_data_empty/__init__.pyi +4 -4
  87. bl_ui/properties_data_grease_pencil/__init__.pyi +25 -25
  88. bl_ui/properties_data_lattice/__init__.pyi +4 -4
  89. bl_ui/properties_data_light/__init__.pyi +14 -14
  90. bl_ui/properties_data_lightprobe/__init__.pyi +18 -18
  91. bl_ui/properties_data_mesh/__init__.pyi +26 -26
  92. bl_ui/properties_data_metaball/__init__.pyi +6 -6
  93. bl_ui/properties_data_modifier/__init__.pyi +12 -12
  94. bl_ui/properties_data_pointcloud/__init__.pyi +8 -8
  95. bl_ui/properties_data_shaderfx/__init__.pyi +1 -1
  96. bl_ui/properties_data_speaker/__init__.pyi +5 -5
  97. bl_ui/properties_data_volume/__init__.pyi +9 -9
  98. bl_ui/properties_freestyle/__init__.pyi +51 -51
  99. bl_ui/properties_grease_pencil_common/__init__.pyi +30 -30
  100. bl_ui/properties_mask_common/__init__.pyi +24 -24
  101. bl_ui/properties_material/__init__.pyi +27 -27
  102. bl_ui/properties_material_gpencil/__init__.pyi +12 -12
  103. bl_ui/properties_object/__init__.pyi +29 -29
  104. bl_ui/properties_output/__init__.pyi +29 -29
  105. bl_ui/properties_paint_common/__init__.pyi +59 -49
  106. bl_ui/properties_particle/__init__.pyi +101 -101
  107. bl_ui/properties_physics_cloth/__init__.pyi +20 -20
  108. bl_ui/properties_physics_common/__init__.pyi +8 -8
  109. bl_ui/properties_physics_dynamicpaint/__init__.pyi +57 -57
  110. bl_ui/properties_physics_field/__init__.pyi +23 -23
  111. bl_ui/properties_physics_fluid/__init__.pyi +76 -76
  112. bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -3
  113. bl_ui/properties_physics_rigidbody/__init__.pyi +18 -18
  114. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +29 -29
  115. bl_ui/properties_physics_softbody/__init__.pyi +21 -21
  116. bl_ui/properties_render/__init__.pyi +81 -81
  117. bl_ui/properties_scene/__init__.pyi +22 -22
  118. bl_ui/properties_texture/__init__.pyi +39 -39
  119. bl_ui/properties_view_layer/__init__.pyi +12 -12
  120. bl_ui/properties_workspace/__init__.pyi +5 -5
  121. bl_ui/properties_world/__init__.pyi +18 -18
  122. bl_ui/space_clip/__init__.pyi +81 -81
  123. bl_ui/space_console/__init__.pyi +6 -6
  124. bl_ui/space_dopesheet/__init__.pyi +32 -32
  125. bl_ui/space_filebrowser/__init__.pyi +45 -45
  126. bl_ui/space_graph/__init__.pyi +21 -21
  127. bl_ui/space_image/__init__.pyi +73 -73
  128. bl_ui/space_info/__init__.pyi +6 -6
  129. bl_ui/space_nla/__init__.pyi +18 -18
  130. bl_ui/space_node/__init__.pyi +42 -42
  131. bl_ui/space_outliner/__init__.pyi +21 -21
  132. bl_ui/space_properties/__init__.pyi +6 -6
  133. bl_ui/space_sequencer/__init__.pyi +133 -133
  134. bl_ui/space_spreadsheet/__init__.pyi +4 -4
  135. bl_ui/space_statusbar/__init__.pyi +1 -1
  136. bl_ui/space_text/__init__.pyi +17 -17
  137. bl_ui/space_time/__init__.pyi +12 -12
  138. bl_ui/space_toolsystem_common/__init__.pyi +28 -26
  139. bl_ui/space_toolsystem_toolbar/__init__.pyi +36 -36
  140. bl_ui/space_topbar/__init__.pyi +32 -32
  141. bl_ui/space_userpref/__init__.pyi +132 -132
  142. bl_ui/space_view3d/__init__.pyi +297 -297
  143. bl_ui/space_view3d_toolbar/__init__.pyi +148 -149
  144. bl_ui/utils/__init__.pyi +5 -5
  145. bl_ui_utils/layout/__init__.pyi +1 -1
  146. blend_render_info/__init__.pyi +2 -2
  147. blf/__init__.pyi +15 -15
  148. bmesh/__init__.pyi +1 -1
  149. bmesh/ops/__init__.pyi +366 -357
  150. bmesh/types/__init__.pyi +59 -57
  151. bmesh/utils/__init__.pyi +2 -2
  152. bpy/app/__init__.pyi +5 -5
  153. bpy/app/icons/__init__.pyi +1 -1
  154. bpy/app/timers/__init__.pyi +2 -2
  155. bpy/app/translations/__init__.pyi +9 -9
  156. bpy/msgbus/__init__.pyi +3 -3
  157. bpy/ops/action/__init__.pyi +62 -38
  158. bpy/ops/anim/__init__.pyi +63 -61
  159. bpy/ops/armature/__init__.pyi +58 -48
  160. bpy/ops/asset/__init__.pyi +31 -17
  161. bpy/ops/boid/__init__.pyi +18 -8
  162. bpy/ops/brush/__init__.pyi +19 -13
  163. bpy/ops/buttons/__init__.pyi +14 -6
  164. bpy/ops/cachefile/__init__.pyi +9 -5
  165. bpy/ops/camera/__init__.pyi +2 -2
  166. bpy/ops/clip/__init__.pyi +112 -92
  167. bpy/ops/cloth/__init__.pyi +1 -1
  168. bpy/ops/collection/__init__.pyi +11 -9
  169. bpy/ops/console/__init__.pyi +37 -21
  170. bpy/ops/constraint/__init__.pyi +20 -18
  171. bpy/ops/curve/__init__.pyi +81 -51
  172. bpy/ops/curves/__init__.pyi +50 -30
  173. bpy/ops/cycles/__init__.pyi +3 -3
  174. bpy/ops/dpaint/__init__.pyi +5 -5
  175. bpy/ops/ed/__init__.pyi +19 -13
  176. bpy/ops/export_anim/__init__.pyi +1 -1
  177. bpy/ops/export_scene/__init__.pyi +2 -2
  178. bpy/ops/extensions/__init__.pyi +38 -32
  179. bpy/ops/file/__init__.pyi +72 -40
  180. bpy/ops/fluid/__init__.pyi +36 -14
  181. bpy/ops/font/__init__.pyi +41 -23
  182. bpy/ops/geometry/__init__.pyi +10 -10
  183. bpy/ops/gizmogroup/__init__.pyi +4 -2
  184. bpy/ops/gpencil/__init__.pyi +12 -8
  185. bpy/ops/graph/__init__.pyi +81 -65
  186. bpy/ops/grease_pencil/__init__.pyi +159 -115
  187. bpy/ops/image/__init__.pyi +63 -49
  188. bpy/ops/import_anim/__init__.pyi +1 -1
  189. bpy/ops/import_curve/__init__.pyi +1 -1
  190. bpy/ops/import_scene/__init__.pyi +2 -2
  191. bpy/ops/info/__init__.pyi +13 -7
  192. bpy/ops/lattice/__init__.pyi +14 -8
  193. bpy/ops/marker/__init__.pyi +13 -11
  194. bpy/ops/mask/__init__.pyi +59 -39
  195. bpy/ops/material/__init__.pyi +3 -3
  196. bpy/ops/mball/__init__.pyi +8 -8
  197. bpy/ops/mesh/__init__.pyi +182 -164
  198. bpy/ops/nla/__init__.pyi +65 -39
  199. bpy/ops/node/__init__.pyi +181 -147
  200. bpy/ops/object/__init__.pyi +262 -242
  201. bpy/ops/outliner/__init__.pyi +98 -72
  202. bpy/ops/paint/__init__.pyi +58 -54
  203. bpy/ops/paintcurve/__init__.pyi +12 -8
  204. bpy/ops/palette/__init__.pyi +11 -7
  205. bpy/ops/particle/__init__.pyi +58 -36
  206. bpy/ops/pointcloud/__init__.pyi +13 -7
  207. bpy/ops/pose/__init__.pyi +65 -51
  208. bpy/ops/poselib/__init__.pyi +17 -11
  209. bpy/ops/preferences/__init__.pyi +41 -35
  210. bpy/ops/ptcache/__init__.pyi +13 -7
  211. bpy/ops/render/__init__.pyi +17 -13
  212. bpy/ops/rigidbody/__init__.pyi +19 -13
  213. bpy/ops/scene/__init__.pyi +39 -37
  214. bpy/ops/screen/__init__.pyi +59 -39
  215. bpy/ops/script/__init__.pyi +5 -3
  216. bpy/ops/sculpt/__init__.pyi +44 -40
  217. bpy/ops/sculpt_curves/__init__.pyi +4 -4
  218. bpy/ops/sequencer/__init__.pyi +142 -100
  219. bpy/ops/sound/__init__.pyi +7 -7
  220. bpy/ops/spreadsheet/__init__.pyi +13 -7
  221. bpy/ops/surface/__init__.pyi +6 -6
  222. bpy/ops/text/__init__.pyi +73 -43
  223. bpy/ops/text_editor/__init__.pyi +1 -1
  224. bpy/ops/texture/__init__.pyi +8 -4
  225. bpy/ops/transform/__init__.pyi +29 -27
  226. bpy/ops/ui/__init__.pyi +42 -34
  227. bpy/ops/uilist/__init__.pyi +3 -3
  228. bpy/ops/uv/__init__.pyi +59 -49
  229. bpy/ops/view2d/__init__.pyi +14 -14
  230. bpy/ops/view3d/__init__.pyi +87 -67
  231. bpy/ops/wm/__init__.pyi +138 -116
  232. bpy/ops/workspace/__init__.pyi +11 -7
  233. bpy/ops/world/__init__.pyi +2 -2
  234. bpy/props/__init__.pyi +16 -13
  235. bpy/types/__init__.pyi +1220 -1157
  236. bpy/utils/__init__.pyi +23 -23
  237. bpy/utils/previews/__init__.pyi +3 -3
  238. bpy_extras/anim_utils/__init__.pyi +7 -7
  239. bpy_extras/bmesh_utils/__init__.pyi +1 -1
  240. bpy_extras/id_map_utils/__init__.pyi +3 -3
  241. bpy_extras/io_utils/__init__.pyi +14 -12
  242. bpy_extras/keyconfig_utils/__init__.pyi +3 -3
  243. bpy_extras/mesh_utils/__init__.pyi +2 -2
  244. bpy_extras/node_shader_utils/__init__.pyi +63 -63
  245. bpy_extras/node_utils/__init__.pyi +3 -3
  246. bpy_extras/object_utils/__init__.pyi +4 -4
  247. bpy_extras/wm_utils/progress_report/__init__.pyi +10 -10
  248. bpy_types/__init__.pyi +4 -4
  249. console_python/__init__.pyi +7 -7
  250. console_shell/__init__.pyi +5 -5
  251. {fake_bpy_module-20250603.dist-info → fake_bpy_module-20250606.dist-info}/METADATA +1 -1
  252. fake_bpy_module-20250606.dist-info/RECORD +367 -0
  253. freestyle/chainingiterators/__init__.pyi +35 -33
  254. freestyle/functions/__init__.pyi +55 -55
  255. freestyle/predicates/__init__.pyi +8 -8
  256. freestyle/shaders/__init__.pyi +79 -75
  257. freestyle/types/__init__.pyi +146 -142
  258. freestyle/utils/ContextFunctions/__init__.pyi +3 -1
  259. freestyle/utils/__init__.pyi +25 -25
  260. gpu/matrix/__init__.pyi +14 -14
  261. gpu/select/__init__.pyi +1 -1
  262. gpu/shader/__init__.pyi +1 -1
  263. gpu/state/__init__.pyi +19 -19
  264. gpu/types/__init__.pyi +50 -44
  265. gpu_extras/presets/__init__.pyi +2 -2
  266. graphviz_export/__init__.pyi +2 -2
  267. idprop/types/__init__.pyi +9 -9
  268. imbuf/__init__.pyi +3 -1
  269. imbuf/types/__init__.pyi +3 -3
  270. keyingsets_builtins/__init__.pyi +26 -26
  271. keyingsets_utils/__init__.pyi +14 -14
  272. mathutils/__init__.pyi +61 -53
  273. mathutils/bvhtree/__init__.pyi +4 -4
  274. mathutils/kdtree/__init__.pyi +3 -3
  275. mathutils/noise/__init__.pyi +1 -1
  276. nodeitems_builtins/__init__.pyi +4 -4
  277. nodeitems_utils/__init__.pyi +9 -9
  278. rna_info/__init__.pyi +25 -25
  279. rna_keymap_ui/__init__.pyi +6 -6
  280. rna_prop_ui/__init__.pyi +12 -12
  281. rna_xml/__init__.pyi +6 -6
  282. fake_bpy_module-20250603.dist-info/RECORD +0 -367
  283. {fake_bpy_module-20250603.dist-info → fake_bpy_module-20250606.dist-info}/WHEEL +0 -0
  284. {fake_bpy_module-20250603.dist-info → fake_bpy_module-20250606.dist-info}/top_level.txt +0 -0
bmesh/types/__init__.pyi CHANGED
@@ -27,10 +27,10 @@ import bpy.types
27
27
  import mathutils
28
28
 
29
29
  class BMDeformVert:
30
- def clear(self):
30
+ def clear(self) -> None:
31
31
  """Clears all weights."""
32
32
 
33
- def get(self, key: int, default: typing.Any | None = None):
33
+ def get(self, key: int, default: typing.Any | None = None) -> None:
34
34
  """Returns the deform weight matching the key or default
35
35
  when not found (matches Python's dictionary function of the same name).
36
36
 
@@ -195,14 +195,14 @@ class BMEdge:
195
195
  :rtype: mathutils.Vector
196
196
  """
197
197
 
198
- def copy_from(self, other: typing_extensions.Self):
198
+ def copy_from(self, other: typing_extensions.Self) -> None:
199
199
  """Copy values from another element of matching type.
200
200
 
201
201
  :param other:
202
202
  :type other: typing_extensions.Self
203
203
  """
204
204
 
205
- def hide_set(self, hide: bool):
205
+ def hide_set(self, hide: bool) -> None:
206
206
  """Set the hide state.
207
207
  This is different from the hide attribute because it updates the selection and hide state of associated geometry.
208
208
 
@@ -210,7 +210,7 @@ class BMEdge:
210
210
  :type hide: bool
211
211
  """
212
212
 
213
- def normal_update(self):
213
+ def normal_update(self) -> None:
214
214
  """Update normals of all connected faces and the edge verts."""
215
215
 
216
216
  def other_vert(self, vert: BMVert) -> BMVert | None:
@@ -222,7 +222,7 @@ class BMEdge:
222
222
  :rtype: BMVert | None
223
223
  """
224
224
 
225
- def select_set(self, select: bool):
225
+ def select_set(self, select: bool) -> None:
226
226
  """Set the selection.
227
227
  This is different from the select attribute because it updates the selection state of associated geometry.
228
228
 
@@ -243,7 +243,7 @@ class BMEdge:
243
243
 
244
244
  def __setitem__[_GenericType1](
245
245
  self, key: BMLayerItem[_GenericType1], value: _GenericType1
246
- ):
246
+ ) -> None:
247
247
  """
248
248
 
249
249
  :param key:
@@ -252,7 +252,7 @@ class BMEdge:
252
252
  :type value: _GenericType1
253
253
  """
254
254
 
255
- def __delitem__[_GenericType1](self, key: BMLayerItem[_GenericType1]):
255
+ def __delitem__[_GenericType1](self, key: BMLayerItem[_GenericType1]) -> None:
256
256
  """
257
257
 
258
258
  :param key:
@@ -266,7 +266,7 @@ class BMEdgeSeq:
266
266
  :type: BMLayerAccessEdge
267
267
  """
268
268
 
269
- def ensure_lookup_table(self):
269
+ def ensure_lookup_table(self) -> None:
270
270
  """Ensure internal data needed for int subscription is initialized with verts/edges/faces, eg bm.verts[index].This needs to be called again after adding/removing data in this sequence."""
271
271
 
272
272
  def get(self, verts: collections.abc.Sequence[BMVert], fallback=None) -> BMEdge:
@@ -279,7 +279,7 @@ class BMEdgeSeq:
279
279
  :rtype: BMEdge
280
280
  """
281
281
 
282
- def index_update(self):
282
+ def index_update(self) -> None:
283
283
  """Initialize the index values of this sequence.This is the equivalent of looping over all elements and assigning the index values."""
284
284
 
285
285
  def new(
@@ -295,7 +295,7 @@ class BMEdgeSeq:
295
295
  :rtype: BMEdge
296
296
  """
297
297
 
298
- def remove(self, edge: BMEdge):
298
+ def remove(self, edge: BMEdge) -> None:
299
299
  """Remove an edge.
300
300
 
301
301
  :param edge:
@@ -308,7 +308,7 @@ class BMEdgeSeq:
308
308
  | collections.abc.Callable[[BMVert | BMEdge | BMFace], int]
309
309
  | None = None,
310
310
  reverse: bool = False,
311
- ):
311
+ ) -> None:
312
312
  """Sort the elements of this sequence, using an optional custom sort key.
313
313
  Indices of elements are not changed, `BMElemSeq.index_update` can be used for that.
314
314
 
@@ -361,28 +361,28 @@ class BMEditSelSeq:
361
361
  :type: BMEdge | BMFace | BMVert
362
362
  """
363
363
 
364
- def add(self, element):
364
+ def add(self, element) -> None:
365
365
  """Add an element to the selection history (no action taken if its already added).
366
366
 
367
367
  :param element:
368
368
  """
369
369
 
370
- def clear(self):
370
+ def clear(self) -> None:
371
371
  """Empties the selection history."""
372
372
 
373
- def discard(self, element):
373
+ def discard(self, element) -> None:
374
374
  """Discard an element from the selection history.Like remove but doesn't raise an error when the elements not in the selection list.
375
375
 
376
376
  :param element:
377
377
  """
378
378
 
379
- def remove(self, element):
379
+ def remove(self, element) -> None:
380
380
  """Remove an element from the selection history.
381
381
 
382
382
  :param element:
383
383
  """
384
384
 
385
- def validate(self):
385
+ def validate(self) -> None:
386
386
  """Ensures all elements in the selection history are selected."""
387
387
 
388
388
  class BMElemSeq[_GenericType1]:
@@ -391,7 +391,7 @@ class BMElemSeq[_GenericType1]:
391
391
  there are also functions to create/remove items.
392
392
  """
393
393
 
394
- def index_update(self):
394
+ def index_update(self) -> None:
395
395
  """Initialize the index values of this sequence.This is the equivalent of looping over all elements and assigning the index values."""
396
396
 
397
397
  @typing.overload
@@ -571,14 +571,16 @@ class BMFace:
571
571
  :rtype: typing_extensions.Self
572
572
  """
573
573
 
574
- def copy_from(self, other: typing_extensions.Self):
574
+ def copy_from(self, other: typing_extensions.Self) -> None:
575
575
  """Copy values from another element of matching type.
576
576
 
577
577
  :param other:
578
578
  :type other: typing_extensions.Self
579
579
  """
580
580
 
581
- def copy_from_face_interp(self, face: typing_extensions.Self, vert: bool = True):
581
+ def copy_from_face_interp(
582
+ self, face: typing_extensions.Self, vert: bool = True
583
+ ) -> None:
582
584
  """Interpolate the customdata from another face onto this one (faces should overlap).
583
585
 
584
586
  :param face: The face to interpolate data from.
@@ -587,7 +589,7 @@ class BMFace:
587
589
  :type vert: bool
588
590
  """
589
591
 
590
- def hide_set(self, hide: bool):
592
+ def hide_set(self, hide: bool) -> None:
591
593
  """Set the hide state.
592
594
  This is different from the hide attribute because it updates the selection and hide state of associated geometry.
593
595
 
@@ -595,16 +597,16 @@ class BMFace:
595
597
  :type hide: bool
596
598
  """
597
599
 
598
- def normal_flip(self):
600
+ def normal_flip(self) -> None:
599
601
  """Reverses winding of a face, which flips its normal."""
600
602
 
601
- def normal_update(self):
603
+ def normal_update(self) -> None:
602
604
  """Update face normal based on the positions of the face verts.
603
605
  This does not update the normals of face verts.
604
606
 
605
607
  """
606
608
 
607
- def select_set(self, select: bool):
609
+ def select_set(self, select: bool) -> None:
608
610
  """Set the selection.
609
611
  This is different from the select attribute because it updates the selection state of associated geometry.
610
612
 
@@ -625,7 +627,7 @@ class BMFace:
625
627
 
626
628
  def __setitem__[_GenericType1](
627
629
  self, key: BMLayerItem[_GenericType1], value: _GenericType1
628
- ):
630
+ ) -> None:
629
631
  """
630
632
 
631
633
  :param key:
@@ -634,7 +636,7 @@ class BMFace:
634
636
  :type value: _GenericType1
635
637
  """
636
638
 
637
- def __delitem__[_GenericType1](self, key: BMLayerItem[_GenericType1]):
639
+ def __delitem__[_GenericType1](self, key: BMLayerItem[_GenericType1]) -> None:
638
640
  """
639
641
 
640
642
  :param key:
@@ -654,7 +656,7 @@ class BMFaceSeq:
654
656
  :type: BMLayerAccessFace
655
657
  """
656
658
 
657
- def ensure_lookup_table(self):
659
+ def ensure_lookup_table(self) -> None:
658
660
  """Ensure internal data needed for int subscription is initialized with verts/edges/faces, eg bm.verts[index].This needs to be called again after adding/removing data in this sequence."""
659
661
 
660
662
  def get(self, verts: collections.abc.Sequence[BMVert], fallback=None) -> BMFace:
@@ -667,7 +669,7 @@ class BMFaceSeq:
667
669
  :rtype: BMFace
668
670
  """
669
671
 
670
- def index_update(self):
672
+ def index_update(self) -> None:
671
673
  """Initialize the index values of this sequence.This is the equivalent of looping over all elements and assigning the index values."""
672
674
 
673
675
  def new(
@@ -683,7 +685,7 @@ class BMFaceSeq:
683
685
  :rtype: BMFace
684
686
  """
685
687
 
686
- def remove(self, face: BMFace):
688
+ def remove(self, face: BMFace) -> None:
687
689
  """Remove a face.
688
690
 
689
691
  :param face:
@@ -696,7 +698,7 @@ class BMFaceSeq:
696
698
  | collections.abc.Callable[[BMVert | BMEdge | BMFace], int]
697
699
  | None = None,
698
700
  reverse: bool = False,
699
- ):
701
+ ) -> None:
700
702
  """Sort the elements of this sequence, using an optional custom sort key.
701
703
  Indices of elements are not changed, `BMElemSeq.index_update` can be used for that.
702
704
 
@@ -1027,7 +1029,7 @@ class BMLayerCollection[_GenericType1]:
1027
1029
  :rtype: BMLayerItem[_GenericType1]
1028
1030
  """
1029
1031
 
1030
- def remove(self, layer: BMLayerItem[_GenericType1]):
1032
+ def remove(self, layer: BMLayerItem[_GenericType1]) -> None:
1031
1033
  """Remove a layer
1032
1034
 
1033
1035
  :param layer: The layer to remove.
@@ -1058,7 +1060,7 @@ class BMLayerItem[_GenericType1]:
1058
1060
  :type: str
1059
1061
  """
1060
1062
 
1061
- def copy_from(self, other: typing_extensions.Self):
1063
+ def copy_from(self, other: typing_extensions.Self) -> None:
1062
1064
  """Return a copy of the layer
1063
1065
 
1064
1066
  :param other: Another layer to copy from.
@@ -1164,7 +1166,7 @@ class BMLoop:
1164
1166
  :rtype: mathutils.Vector
1165
1167
  """
1166
1168
 
1167
- def copy_from(self, other: typing_extensions.Self):
1169
+ def copy_from(self, other: typing_extensions.Self) -> None:
1168
1170
  """Copy values from another element of matching type.
1169
1171
 
1170
1172
  :param other:
@@ -1173,7 +1175,7 @@ class BMLoop:
1173
1175
 
1174
1176
  def copy_from_face_interp(
1175
1177
  self, face: BMFace, vert: bool = True, multires: bool = True
1176
- ):
1178
+ ) -> None:
1177
1179
  """Interpolate the customdata from a face onto this loop (the loops vert should overlap the face).
1178
1180
 
1179
1181
  :param face: The face to interpolate data from.
@@ -1197,7 +1199,7 @@ class BMLoop:
1197
1199
 
1198
1200
  def __setitem__[_GenericType1](
1199
1201
  self, key: BMLayerItem[_GenericType1], value: _GenericType1
1200
- ):
1202
+ ) -> None:
1201
1203
  """
1202
1204
 
1203
1205
  :param key:
@@ -1206,7 +1208,7 @@ class BMLoop:
1206
1208
  :type value: _GenericType1
1207
1209
  """
1208
1210
 
1209
- def __delitem__[_GenericType1](self, key: BMLayerItem[_GenericType1]):
1211
+ def __delitem__[_GenericType1](self, key: BMLayerItem[_GenericType1]) -> None:
1210
1212
  """
1211
1213
 
1212
1214
  :param key:
@@ -1379,14 +1381,14 @@ class BMVert:
1379
1381
  :rtype: float
1380
1382
  """
1381
1383
 
1382
- def copy_from(self, other: typing_extensions.Self):
1384
+ def copy_from(self, other: typing_extensions.Self) -> None:
1383
1385
  """Copy values from another element of matching type.
1384
1386
 
1385
1387
  :param other:
1386
1388
  :type other: typing_extensions.Self
1387
1389
  """
1388
1390
 
1389
- def copy_from_face_interp(self, face: BMFace):
1391
+ def copy_from_face_interp(self, face: BMFace) -> None:
1390
1392
  """Interpolate the customdata from a face onto this loop (the loops vert should overlap the face).
1391
1393
 
1392
1394
  :param face: The face to interpolate data from.
@@ -1395,7 +1397,7 @@ class BMVert:
1395
1397
 
1396
1398
  def copy_from_vert_interp(
1397
1399
  self, vert_pair: collections.abc.Sequence[BMVert], fac: float
1398
- ):
1400
+ ) -> None:
1399
1401
  """Interpolate the customdata from a vert between 2 other verts.
1400
1402
 
1401
1403
  :param vert_pair: The verts between which to interpolate data from.
@@ -1404,7 +1406,7 @@ class BMVert:
1404
1406
  :type fac: float
1405
1407
  """
1406
1408
 
1407
- def hide_set(self, hide: bool):
1409
+ def hide_set(self, hide: bool) -> None:
1408
1410
  """Set the hide state.
1409
1411
  This is different from the hide attribute because it updates the selection and hide state of associated geometry.
1410
1412
 
@@ -1412,13 +1414,13 @@ class BMVert:
1412
1414
  :type hide: bool
1413
1415
  """
1414
1416
 
1415
- def normal_update(self):
1417
+ def normal_update(self) -> None:
1416
1418
  """Update vertex normal.
1417
1419
  This does not update the normals of adjoining faces.
1418
1420
 
1419
1421
  """
1420
1422
 
1421
- def select_set(self, select: bool):
1423
+ def select_set(self, select: bool) -> None:
1422
1424
  """Set the selection.
1423
1425
  This is different from the select attribute because it updates the selection state of associated geometry.
1424
1426
 
@@ -1439,7 +1441,7 @@ class BMVert:
1439
1441
 
1440
1442
  def __setitem__[_GenericType1](
1441
1443
  self, key: BMLayerItem[_GenericType1], value: _GenericType1
1442
- ):
1444
+ ) -> None:
1443
1445
  """
1444
1446
 
1445
1447
  :param key:
@@ -1448,7 +1450,7 @@ class BMVert:
1448
1450
  :type value: _GenericType1
1449
1451
  """
1450
1452
 
1451
- def __delitem__[_GenericType1](self, key: BMLayerItem[_GenericType1]):
1453
+ def __delitem__[_GenericType1](self, key: BMLayerItem[_GenericType1]) -> None:
1452
1454
  """
1453
1455
 
1454
1456
  :param key:
@@ -1462,10 +1464,10 @@ class BMVertSeq:
1462
1464
  :type: BMLayerAccessVert
1463
1465
  """
1464
1466
 
1465
- def ensure_lookup_table(self):
1467
+ def ensure_lookup_table(self) -> None:
1466
1468
  """Ensure internal data needed for int subscription is initialized with verts/edges/faces, eg bm.verts[index].This needs to be called again after adding/removing data in this sequence."""
1467
1469
 
1468
- def index_update(self):
1470
+ def index_update(self) -> None:
1469
1471
  """Initialize the index values of this sequence.This is the equivalent of looping over all elements and assigning the index values."""
1470
1472
 
1471
1473
  def new(
@@ -1483,7 +1485,7 @@ class BMVertSeq:
1483
1485
  :rtype: BMVert
1484
1486
  """
1485
1487
 
1486
- def remove(self, vert: BMVert):
1488
+ def remove(self, vert: BMVert) -> None:
1487
1489
  """Remove a vert.
1488
1490
 
1489
1491
  :param vert:
@@ -1496,7 +1498,7 @@ class BMVertSeq:
1496
1498
  | collections.abc.Callable[[BMVert | BMEdge | BMFace], int]
1497
1499
  | None = None,
1498
1500
  reverse: bool = False,
1499
- ):
1501
+ ) -> None:
1500
1502
  """Sort the elements of this sequence, using an optional custom sort key.
1501
1503
  Indices of elements are not changed, `BMElemSeq.index_update` can be used for that.
1502
1504
 
@@ -1607,7 +1609,7 @@ class BMesh:
1607
1609
  :rtype: float
1608
1610
  """
1609
1611
 
1610
- def clear(self):
1612
+ def clear(self) -> None:
1611
1613
  """Clear all mesh data."""
1612
1614
 
1613
1615
  def copy(self) -> typing_extensions.Self:
@@ -1617,7 +1619,7 @@ class BMesh:
1617
1619
  :rtype: typing_extensions.Self
1618
1620
  """
1619
1621
 
1620
- def free(self):
1622
+ def free(self) -> None:
1621
1623
  """Explicitly free the BMesh data from memory, causing exceptions on further access."""
1622
1624
 
1623
1625
  def from_mesh(
@@ -1627,7 +1629,7 @@ class BMesh:
1627
1629
  vertex_normals: bool = True,
1628
1630
  use_shape_key: bool = False,
1629
1631
  shape_key_index: int = 0,
1630
- ):
1632
+ ) -> None:
1631
1633
  """Initialize this bmesh from existing mesh datablock.
1632
1634
 
1633
1635
  :param mesh: The mesh data to load.
@@ -1649,7 +1651,7 @@ class BMesh:
1649
1651
  cage: bool = False,
1650
1652
  face_normals: bool = True,
1651
1653
  vertex_normals: bool = True,
1652
- ):
1654
+ ) -> None:
1653
1655
  """Initialize this bmesh from existing object data-block (only meshes are currently supported).
1654
1656
 
1655
1657
  :param object: The object data to load.
@@ -1664,20 +1666,20 @@ class BMesh:
1664
1666
  :type vertex_normals: bool
1665
1667
  """
1666
1668
 
1667
- def normal_update(self):
1669
+ def normal_update(self) -> None:
1668
1670
  """Update normals of mesh faces and verts."""
1669
1671
 
1670
- def select_flush(self, select: bool):
1672
+ def select_flush(self, select: bool) -> None:
1671
1673
  """Flush selection, independent of the current selection mode.
1672
1674
 
1673
1675
  :param select: flush selection or de-selected elements.
1674
1676
  :type select: bool
1675
1677
  """
1676
1678
 
1677
- def select_flush_mode(self):
1679
+ def select_flush_mode(self) -> None:
1678
1680
  """flush selection based on the current mode current `BMesh.select_mode`."""
1679
1681
 
1680
- def to_mesh(self, mesh: bpy.types.Mesh):
1682
+ def to_mesh(self, mesh: bpy.types.Mesh) -> None:
1681
1683
  """Writes this BMesh data into an existing Mesh datablock.
1682
1684
 
1683
1685
  :param mesh: The mesh data to write into.
@@ -1689,7 +1691,7 @@ class BMesh:
1689
1691
  matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
1690
1692
  | mathutils.Matrix,
1691
1693
  filter=None,
1692
- ):
1694
+ ) -> None:
1693
1695
  """Transform the mesh (optionally filtering flagged data only).
1694
1696
 
1695
1697
  :param matrix: 4x4x transform matrix.
bmesh/utils/__init__.pyi CHANGED
@@ -36,7 +36,7 @@ def edge_split(
36
36
  :rtype: tuple[bmesh.types.BMEdge, bmesh.types.BMVert]
37
37
  """
38
38
 
39
- def face_flip(faces):
39
+ def face_flip(faces) -> None:
40
40
  """Flip the faces direction."""
41
41
 
42
42
  def face_join(faces: bmesh.types.BMFace, remove: bool = True) -> bmesh.types.BMFace:
@@ -163,7 +163,7 @@ def vert_separate(
163
163
  :rtype: tuple[bmesh.types.BMVert, ...]
164
164
  """
165
165
 
166
- def vert_splice(vert: bmesh.types.BMVert, vert_target: bmesh.types.BMVert):
166
+ def vert_splice(vert: bmesh.types.BMVert, vert_target: bmesh.types.BMVert) -> None:
167
167
  """Splice vert into vert_target.
168
168
 
169
169
  :param vert: The vertex to be removed.
bpy/app/__init__.pyi CHANGED
@@ -22,14 +22,14 @@ from . import icons as icons
22
22
  from . import timers as timers
23
23
  from . import translations as translations
24
24
 
25
- def help_text(all: bool | None = False):
25
+ def help_text(all: bool | None = False) -> None:
26
26
  """Return the help text as a string.
27
27
 
28
28
  :param all: Return all arguments, even those which aren't available for the current platform.
29
29
  :type all: bool | None
30
30
  """
31
31
 
32
- def is_job_running(job_type: bpy.stub_internal.rna_enums.WmJobTypeItems):
32
+ def is_job_running(job_type: bpy.stub_internal.rna_enums.WmJobTypeItems) -> None:
33
33
  """Check whether a job of the given type is running.
34
34
 
35
35
  :param job_type: job type in `rna_enum_wm_job_type_items`.
@@ -98,7 +98,7 @@ build_linkflags: typing.Any
98
98
  """
99
99
 
100
100
  build_options: typing.Any
101
- """ Constant value bpy.app.build_options(bullet=True, codec_avi=False, codec_ffmpeg=True, codec_sndfile=True, compositor_cpu=True, cycles=True, cycles_osl=True, freestyle=True, image_cineon=True, image_dds=True, image_hdr=True, image_openexr=True, image_openjpeg=True, image_tiff=True, image_webp=True, input_ndof=True, audaspace=True, international=True, openal=True, opensubdiv=True, sdl=False, coreaudio=False, jack=False, pulseaudio=False, wasapi=False, libmv=True, mod_oceansim=True, mod_remesh=True, collada=True, io_wavefront_obj=True, io_ply=True, io_stl=True, io_fbx=True, io_gpencil=True, opencolorio=True, openmp=False, openvdb=True, alembic=True, usd=True, fluid=True, xr_openxr=True, potrace=True, pugixml=True, haru=True)
101
+ """ Constant value bpy.app.build_options(bullet=True, codec_avi=False, codec_ffmpeg=True, codec_sndfile=True, compositor_cpu=True, cycles=True, cycles_osl=True, freestyle=True, image_cineon=True, image_dds=True, image_hdr=True, image_openexr=True, image_openjpeg=True, image_tiff=True, image_webp=True, input_ndof=True, audaspace=True, international=True, openal=True, opensubdiv=True, sdl=False, coreaudio=False, jack=False, pulseaudio=False, wasapi=False, libmv=True, mod_oceansim=True, mod_remesh=True, collada=True, io_wavefront_obj=True, io_ply=True, io_stl=True, io_fbx=True, io_gpencil=True, opencolorio=True, openmp=False, openvdb=True, alembic=True, usd=True, fluid=True, xr_openxr=True, potrace=True, pugixml=True, haru=True, experimental_features=True)
102
102
  """
103
103
 
104
104
  build_platform: typing.Any
@@ -190,7 +190,7 @@ factory_startup: typing.Any
190
190
  """
191
191
 
192
192
  ffmpeg: typing.Any
193
- """ Constant value bpy.app.ffmpeg(supported=True, avcodec_version=(60, 31, 102), avcodec_version_string='60, 31, 102', avdevice_version=(60, 3, 100), avdevice_version_string='60, 3, 100', avformat_version=(60, 16, 100), avformat_version_string='60, 16, 100', avutil_version=(58, 29, 100), avutil_version_string='58, 29, 100', swscale_version=(7, 5, 100), swscale_version_string=' 7, 5, 100')
193
+ """ Constant value bpy.app.ffmpeg(supported=True, avcodec_version=(61, 19, 101), avcodec_version_string='61, 19, 101', avdevice_version=(61, 3, 100), avdevice_version_string='61, 3, 100', avformat_version=(61, 7, 100), avformat_version_string='61, 7, 100', avutil_version=(59, 39, 100), avutil_version_string='59, 39, 100', swscale_version=(8, 3, 100), swscale_version_string=' 8, 3, 100')
194
194
  """
195
195
 
196
196
  module: typing.Any
@@ -202,7 +202,7 @@ ocio: typing.Any
202
202
  """
203
203
 
204
204
  oiio: typing.Any
205
- """ Constant value bpy.app.oiio(supported=True, version=(3, 0, 3), version_string=' 3, 0, 3')
205
+ """ Constant value bpy.app.oiio(supported=True, version=(3, 0, 6), version_string=' 3, 0, 6')
206
206
  """
207
207
 
208
208
  online_access: typing.Any
@@ -27,5 +27,5 @@ def new_triangles_from_file(filepath: str | None) -> int:
27
27
  :rtype: int
28
28
  """
29
29
 
30
- def release(icon_id):
30
+ def release(icon_id) -> None:
31
31
  """Release the icon."""
@@ -39,7 +39,7 @@ def register(
39
39
  function: collections.abc.Callable[[], float | None],
40
40
  first_interval: float | None = 0,
41
41
  persistent: bool | None = False,
42
- ):
42
+ ) -> None:
43
43
  """Add a new function that will be called after the specified amount of seconds.
44
44
  The function gets no arguments and is expected to return either None or a float.
45
45
  If None is returned, the timer will be unregistered.
@@ -54,7 +54,7 @@ def register(
54
54
  :type persistent: bool | None
55
55
  """
56
56
 
57
- def unregister(function: collections.abc.Callable[[], float | None]):
57
+ def unregister(function: collections.abc.Callable[[], float | None]) -> None:
58
58
  """Unregister timer.
59
59
 
60
60
  :param function: Function to unregister.
@@ -61,14 +61,14 @@ import collections.abc
61
61
  import typing_extensions
62
62
  import numpy.typing as npt
63
63
 
64
- def locale_explode(locale):
64
+ def locale_explode(locale) -> None:
65
65
  """Return all components and their combinations of the given ISO locale string.For non-complete locales, missing elements will be None.
66
66
 
67
67
  :param locale: The ISO locale string to explode.
68
68
  :return: A tuple (language, country, variant, language_country, language@variant).
69
69
  """
70
70
 
71
- def pgettext(msgid: str | None, msgctxt: None | str | None = None):
71
+ def pgettext(msgid: str | None, msgctxt: None | str | None = None) -> None:
72
72
  """Try to translate the given msgid (with optional msgctxt).
73
73
 
74
74
  :param msgid: The string to translate.
@@ -78,7 +78,7 @@ def pgettext(msgid: str | None, msgctxt: None | str | None = None):
78
78
  :return: The translated string (or msgid if no translation was found).
79
79
  """
80
80
 
81
- def pgettext_data(msgid: str | None, msgctxt: None | str | None = None):
81
+ def pgettext_data(msgid: str | None, msgctxt: None | str | None = None) -> None:
82
82
  """Try to translate the given msgid (with optional msgctxt), if new data name's translation is enabled.
83
83
 
84
84
  :param msgid: The string to translate.
@@ -88,7 +88,7 @@ def pgettext_data(msgid: str | None, msgctxt: None | str | None = None):
88
88
  :return: The translated string (or msgid if no translation was found).
89
89
  """
90
90
 
91
- def pgettext_iface(msgid: str | None, msgctxt: None | str | None = None):
91
+ def pgettext_iface(msgid: str | None, msgctxt: None | str | None = None) -> None:
92
92
  """Try to translate the given msgid (with optional msgctxt), if labels' translation is enabled.
93
93
 
94
94
  :param msgid: The string to translate.
@@ -98,7 +98,7 @@ def pgettext_iface(msgid: str | None, msgctxt: None | str | None = None):
98
98
  :return: The translated string (or msgid if no translation was found).
99
99
  """
100
100
 
101
- def pgettext_n(msgid: str | None, msgctxt: None | str | None = None):
101
+ def pgettext_n(msgid: str | None, msgctxt: None | str | None = None) -> None:
102
102
  """Extract the given msgid to translation files. This is a no-op function that will only mark the string to extract, but not perform the actual translation.
103
103
 
104
104
  :param msgid: The string to extract.
@@ -108,7 +108,7 @@ def pgettext_n(msgid: str | None, msgctxt: None | str | None = None):
108
108
  :return: The original string.
109
109
  """
110
110
 
111
- def pgettext_rpt(msgid: str | None, msgctxt: None | str | None = None):
111
+ def pgettext_rpt(msgid: str | None, msgctxt: None | str | None = None) -> None:
112
112
  """Try to translate the given msgid (with optional msgctxt), if reports' translation is enabled.
113
113
 
114
114
  :param msgid: The string to translate.
@@ -118,7 +118,7 @@ def pgettext_rpt(msgid: str | None, msgctxt: None | str | None = None):
118
118
  :return: The translated string (or msgid if no translation was found).
119
119
  """
120
120
 
121
- def pgettext_tip(msgid: str | None, msgctxt: None | str | None = None):
121
+ def pgettext_tip(msgid: str | None, msgctxt: None | str | None = None) -> None:
122
122
  """Try to translate the given msgid (with optional msgctxt), if tooltips' translation is enabled.
123
123
 
124
124
  :param msgid: The string to translate.
@@ -130,7 +130,7 @@ def pgettext_tip(msgid: str | None, msgctxt: None | str | None = None):
130
130
 
131
131
  def register(
132
132
  module_name: str | None, translations_dict: dict[str, dict[str, str]] | None
133
- ):
133
+ ) -> None:
134
134
  """Registers an addon's UI translations.
135
135
 
136
136
  :param module_name: The name identifying the addon.
@@ -140,7 +140,7 @@ def register(
140
140
  :type translations_dict: dict[str, dict[str, str]] | None
141
141
  """
142
142
 
143
- def unregister(module_name: str | None):
143
+ def unregister(module_name: str | None) -> None:
144
144
  """Unregisters an addon's UI translations.
145
145
 
146
146
  :param module_name: The name identifying the addon.
bpy/msgbus/__init__.pyi CHANGED
@@ -50,12 +50,12 @@ import typing_extensions
50
50
  import numpy.typing as npt
51
51
  import bpy.types
52
52
 
53
- def clear_by_owner(owner):
53
+ def clear_by_owner(owner) -> None:
54
54
  """Clear all subscribers using this owner."""
55
55
 
56
56
  def publish_rna(
57
57
  key: bpy.types.Property | bpy.types.Struct | tuple[bpy.types.Struct, str] | None,
58
- ):
58
+ ) -> None:
59
59
  """Notify subscribers of changes to this property
60
60
  (this typically doesn't need to be called explicitly since changes will automatically publish updates).
61
61
  In some cases it may be useful to publish changes explicitly using more general keys.
@@ -75,7 +75,7 @@ def subscribe_rna(
75
75
  args,
76
76
  notify,
77
77
  options=set(),
78
- ):
78
+ ) -> None:
79
79
  """Register a message bus subscription. It will be cleared when another blend file is
80
80
  loaded, or can be cleared explicitly via `bpy.msgbus.clear_by_owner`.
81
81