fake-bge-module 20250312__py3-none-any.whl → 20260203__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.
Files changed (395) hide show
  1. {animsys_refactor → _animsys_refactor}/__init__.pyi +7 -6
  2. {bl_console_utils → _bl_console_utils}/__init__.pyi +1 -0
  3. {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +1 -0
  4. {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +1 -13
  5. {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +1 -5
  6. {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +3 -13
  7. {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +1 -10
  8. {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +2 -0
  9. _bl_i18n_utils/bl_extract_messages/__init__.pyi +28 -0
  10. {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +2 -1
  11. {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +10 -7
  12. {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +53 -50
  13. _bl_i18n_utils/utils_cli/__init__.pyi +11 -0
  14. _bl_i18n_utils/utils_languages_menu/__init__.pyi +6 -0
  15. {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +3 -2
  16. _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
  17. {bl_previews_utils → _bl_previews_utils}/__init__.pyi +1 -0
  18. _bl_previews_utils/bl_previews_render/__init__.pyi +14 -0
  19. {bl_rna_utils → _bl_rna_utils}/__init__.pyi +1 -0
  20. {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +3 -2
  21. {bl_text_utils → _bl_text_utils}/__init__.pyi +1 -0
  22. _bl_text_utils/external_editor/__init__.pyi +6 -0
  23. {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
  24. {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +2 -1
  25. _blendfile_header/__init__.pyi +48 -0
  26. _bpy_internal/__init__.pyi +5 -1
  27. _bpy_internal/addons/__init__.pyi +1 -0
  28. _bpy_internal/addons/cli/__init__.pyi +2 -1
  29. _bpy_internal/assets/__init__.pyi +5 -0
  30. _bpy_internal/assets/remote_library_listing/__init__.pyi +5 -0
  31. _bpy_internal/assets/remote_library_listing/blender_asset_library_openapi/__init__.pyi +13 -0
  32. _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
  33. _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
  34. _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
  35. _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
  36. _bpy_internal/extensions/__init__.pyi +1 -0
  37. _bpy_internal/extensions/junction_module/__init__.pyi +8 -7
  38. _bpy_internal/extensions/stale_file_manager/__init__.pyi +9 -8
  39. _bpy_internal/extensions/wheel_manager/__init__.pyi +6 -5
  40. {bl_i18n_utils/utils_languages_menu → _bpy_internal/filesystem}/__init__.pyi +2 -2
  41. _bpy_internal/filesystem/locking/__init__.pyi +28 -0
  42. _bpy_internal/grease_pencil/__init__.pyi +1 -0
  43. _bpy_internal/grease_pencil/stroke/__init__.pyi +22 -6
  44. _bpy_internal/platform/__init__.pyi +5 -0
  45. _bpy_internal/platform/freedesktop/__init__.pyi +21 -0
  46. _bpy_internal/system_info/__init__.pyi +1 -0
  47. _bpy_internal/system_info/text_generate_runtime/__init__.pyi +2 -1
  48. _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +2 -1
  49. _bpy_internal/system_info/url_prefill_startup/__init__.pyi +3 -2
  50. {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +1 -0
  51. _bpy_types/__init__.pyi +1635 -0
  52. {console_python → _console_python}/__init__.pyi +8 -7
  53. _console_shell/__init__.pyi +10 -0
  54. {graphviz_export → _graphviz_export}/__init__.pyi +3 -2
  55. _keyingsets_utils/__init__.pyi +21 -0
  56. {rna_info → _rna_info}/__init__.pyi +32 -27
  57. {rna_xml → _rna_xml}/__init__.pyi +7 -6
  58. addon_utils/__init__.pyi +13 -25
  59. aud/__init__.pyi +133 -155
  60. bge/__init__.pyi +1 -0
  61. bge/app/__init__.pyi +1 -0
  62. bge/constraints/__init__.pyi +22 -51
  63. bge/types/__init__.pyi +618 -1913
  64. bge_extras/__init__.pyi +1 -0
  65. bge_extras/logger/__init__.pyi +4 -3
  66. bgui/__init__.pyi +1 -0
  67. bgui/frame/__init__.pyi +1 -0
  68. bgui/frame_button/__init__.pyi +1 -0
  69. bgui/image/__init__.pyi +1 -1
  70. bgui/image_button/__init__.pyi +1 -0
  71. bgui/label/__init__.pyi +1 -0
  72. bgui/list_box/__init__.pyi +1 -1
  73. bgui/progress_bar/__init__.pyi +2 -1
  74. bgui/system/__init__.pyi +3 -5
  75. bgui/text_block/__init__.pyi +1 -0
  76. bgui/text_input/__init__.pyi +9 -8
  77. bgui/theme/__init__.pyi +4 -3
  78. bgui/widget/__init__.pyi +5 -4
  79. bl_app_override/__init__.pyi +4 -3
  80. bl_app_override/helpers/__init__.pyi +3 -2
  81. bl_app_template_utils/__init__.pyi +5 -4
  82. bl_app_templates_system/Game_Engine/__init__.pyi +5 -4
  83. bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
  84. bl_app_templates_system/__init__.pyi +2 -0
  85. bl_keymap_utils/__init__.pyi +1 -0
  86. bl_keymap_utils/io/__init__.pyi +10 -9
  87. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
  88. bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -1
  89. bl_keymap_utils/platform_helpers/__init__.pyi +3 -2
  90. bl_keymap_utils/versioning/__init__.pyi +2 -1
  91. bl_math/__init__.pyi +4 -13
  92. bl_operators/__init__.pyi +4 -2
  93. bl_operators/add_mesh_torus/__init__.pyi +9 -9
  94. bl_operators/anim/__init__.pyi +90 -62
  95. bl_operators/assets/__init__.pyi +14 -18
  96. bl_operators/bmesh/__init__.pyi +1 -0
  97. bl_operators/bmesh/find_adjacent/__init__.pyi +12 -9
  98. bl_operators/bone_selection_sets/__init__.pyi +34 -60
  99. bl_operators/clip/__init__.pyi +39 -57
  100. bl_operators/connect_to_output/__init__.pyi +20 -18
  101. bl_operators/console/__init__.pyi +17 -25
  102. bl_operators/constraint/__init__.pyi +15 -21
  103. bl_operators/copy_global_transform/__init__.pyi +261 -0
  104. bl_operators/file/__init__.pyi +13 -17
  105. bl_operators/freestyle/__init__.pyi +15 -21
  106. bl_operators/geometry_nodes/__init__.pyi +30 -36
  107. bl_operators/grease_pencil/__init__.pyi +5 -5
  108. bl_operators/image/__init__.pyi +14 -22
  109. bl_operators/image_as_planes/__init__.pyi +36 -42
  110. bl_operators/mesh/__init__.pyi +8 -53
  111. bl_operators/node/__init__.pyi +375 -92
  112. bl_operators/node_editor/__init__.pyi +1 -0
  113. bl_operators/node_editor/node_functions/__init__.pyi +10 -9
  114. bl_operators/object/__init__.pyi +57 -98
  115. bl_operators/object_align/__init__.pyi +8 -8
  116. bl_operators/object_quick_effects/__init__.pyi +15 -21
  117. bl_operators/object_randomize_transform/__init__.pyi +6 -6
  118. bl_operators/presets/__init__.pyi +46 -94
  119. bl_operators/rigidbody/__init__.pyi +12 -16
  120. bl_operators/screen_play_rendered_anim/__init__.pyi +5 -5
  121. bl_operators/sequencer/__init__.pyi +40 -54
  122. bl_operators/spreadsheet/__init__.pyi +7 -7
  123. bl_operators/userpref/__init__.pyi +69 -117
  124. bl_operators/uvcalc_follow_active/__init__.pyi +8 -8
  125. bl_operators/uvcalc_lightmap/__init__.pyi +12 -12
  126. bl_operators/uvcalc_transform/__init__.pyi +39 -28
  127. bl_operators/vertexpaint_dirt/__init__.pyi +7 -7
  128. bl_operators/view3d/__init__.pyi +31 -43
  129. bl_operators/wm/__init__.pyi +139 -231
  130. bl_operators/world/__init__.pyi +6 -6
  131. bl_ui/__init__.pyi +18 -17
  132. bl_ui/anim/__init__.pyi +5 -5
  133. bl_ui/asset_shelf/__init__.pyi +5 -5
  134. bl_ui/generic_ui_list/__init__.pyi +12 -26
  135. bl_ui/node_add_menu/__init__.pyi +281 -12
  136. bl_ui/node_add_menu_compositor/__init__.pyi +135 -91
  137. bl_ui/node_add_menu_geometry/__init__.pyi +407 -263
  138. bl_ui/node_add_menu_shader/__init__.pyi +67 -67
  139. bl_ui/node_add_menu_texture/__init__.pyi +25 -69
  140. bl_ui/properties_animviz/__init__.pyi +3 -2
  141. bl_ui/properties_collection/__init__.pyi +20 -30
  142. bl_ui/properties_constraint/__init__.pyi +228 -450
  143. bl_ui/properties_data_armature/__init__.pyi +45 -79
  144. bl_ui/properties_data_bone/__init__.pyi +33 -51
  145. bl_ui/properties_data_camera/__init__.pyi +43 -75
  146. bl_ui/properties_data_curve/__init__.pyi +42 -101
  147. bl_ui/properties_data_curves/__init__.pyi +21 -35
  148. bl_ui/properties_data_empty/__init__.pyi +8 -10
  149. bl_ui/properties_data_grease_pencil/__init__.pyi +49 -87
  150. bl_ui/properties_data_lattice/__init__.pyi +12 -18
  151. bl_ui/properties_data_light/__init__.pyi +28 -46
  152. bl_ui/properties_data_lightprobe/__init__.pyi +35 -61
  153. bl_ui/properties_data_mesh/__init__.pyi +73 -120
  154. bl_ui/properties_data_metaball/__init__.pyi +16 -26
  155. bl_ui/properties_data_modifier/__init__.pyi +34 -39
  156. bl_ui/properties_data_pointcloud/__init__.pyi +17 -27
  157. bl_ui/properties_data_shaderfx/__init__.pyi +4 -4
  158. bl_ui/properties_data_speaker/__init__.pyi +15 -25
  159. bl_ui/properties_data_volume/__init__.pyi +22 -38
  160. bl_ui/properties_freestyle/__init__.pyi +79 -127
  161. bl_ui/properties_game/__init__.pyi +88 -84
  162. bl_ui/properties_grease_pencil_common/__init__.pyi +33 -190
  163. bl_ui/properties_mask_common/__init__.pyi +33 -45
  164. bl_ui/properties_material/__init__.pyi +52 -111
  165. bl_ui/properties_material_gpencil/__init__.pyi +48 -68
  166. bl_ui/properties_object/__init__.pyi +123 -93
  167. bl_ui/properties_output/__init__.pyi +103 -81
  168. bl_ui/properties_paint_common/__init__.pyi +78 -59
  169. bl_ui/properties_particle/__init__.pyi +160 -262
  170. bl_ui/properties_physics_cloth/__init__.pyi +36 -62
  171. bl_ui/properties_physics_common/__init__.pyi +11 -11
  172. bl_ui/properties_physics_dynamicpaint/__init__.pyi +81 -123
  173. bl_ui/properties_physics_field/__init__.pyi +35 -53
  174. bl_ui/properties_physics_fluid/__init__.pyi +106 -160
  175. bl_ui/properties_physics_geometry_nodes/__init__.pyi +6 -6
  176. bl_ui/properties_physics_rigidbody/__init__.pyi +28 -42
  177. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +44 -68
  178. bl_ui/properties_physics_softbody/__init__.pyi +38 -66
  179. bl_ui/properties_render/__init__.pyi +267 -259
  180. bl_ui/properties_scene/__init__.pyi +69 -72
  181. bl_ui/properties_strip/__init__.pyi +744 -0
  182. bl_ui/properties_strip_modifier/__init__.pyi +45 -0
  183. bl_ui/properties_texture/__init__.pyi +69 -122
  184. bl_ui/properties_view_layer/__init__.pyi +97 -51
  185. bl_ui/properties_workspace/__init__.pyi +12 -18
  186. bl_ui/properties_world/__init__.pyi +33 -53
  187. bl_ui/space_clip/__init__.pyi +231 -311
  188. bl_ui/space_console/__init__.pyi +14 -24
  189. bl_ui/space_dopesheet/__init__.pyi +193 -125
  190. bl_ui/space_filebrowser/__init__.pyi +107 -131
  191. bl_ui/space_graph/__init__.pyi +93 -80
  192. bl_ui/space_image/__init__.pyi +207 -291
  193. bl_ui/space_info/__init__.pyi +14 -24
  194. bl_ui/space_logic/__init__.pyi +14 -22
  195. bl_ui/space_nla/__init__.pyi +63 -69
  196. bl_ui/space_node/__init__.pyi +215 -154
  197. bl_ui/space_outliner/__init__.pyi +65 -61
  198. bl_ui/space_properties/__init__.pyi +41 -16
  199. bl_ui/space_sequencer/__init__.pyi +276 -979
  200. bl_ui/space_spreadsheet/__init__.pyi +27 -23
  201. bl_ui/space_statusbar/__init__.pyi +4 -4
  202. bl_ui/space_text/__init__.pyi +39 -73
  203. bl_ui/space_time/__init__.pyi +33 -78
  204. bl_ui/space_toolsystem_common/__init__.pyi +31 -28
  205. bl_ui/space_toolsystem_toolbar/__init__.pyi +67 -43
  206. bl_ui/space_topbar/__init__.pyi +68 -111
  207. bl_ui/space_userpref/__init__.pyi +310 -445
  208. bl_ui/space_view3d/__init__.pyi +667 -1122
  209. bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
  210. bl_ui/space_view3d_toolbar/__init__.pyi +237 -966
  211. bl_ui/utils/__init__.pyi +4 -3
  212. blend_render_info/__init__.pyi +4 -2
  213. blf/__init__.pyi +92 -59
  214. bmesh/__init__.pyi +4 -10
  215. bmesh/geometry/__init__.pyi +2 -4
  216. bmesh/ops/__init__.pyi +442 -815
  217. bmesh/types/__init__.pyi +377 -720
  218. bmesh/utils/__init__.pyi +20 -45
  219. bpy/__init__.pyi +2 -1
  220. bpy/app/__init__.pyi +96 -90
  221. bpy/app/handlers/__init__.pyi +24 -19
  222. bpy/app/icons/__init__.pyi +2 -7
  223. bpy/app/timers/__init__.pyi +5 -18
  224. bpy/app/translations/__init__.pyi +21 -35
  225. bpy/msgbus/__init__.pyi +20 -9
  226. bpy/ops/__init__.pyi +21 -3
  227. bpy/ops/action/__init__.pyi +121 -226
  228. bpy/ops/anim/__init__.pyi +204 -358
  229. bpy/ops/armature/__init__.pyi +129 -249
  230. bpy/ops/asset/__init__.pyi +82 -111
  231. bpy/ops/bge_bricknodes/__init__.pyi +61 -0
  232. bpy/ops/boid/__init__.pyi +44 -50
  233. bpy/ops/bricknodes/__init__.pyi +37 -0
  234. bpy/ops/brush/__init__.pyi +33 -120
  235. bpy/ops/buttons/__init__.pyi +27 -83
  236. bpy/ops/cachefile/__init__.pyi +16 -74
  237. bpy/ops/camera/__init__.pyi +3 -13
  238. bpy/ops/clip/__init__.pyi +278 -558
  239. bpy/ops/cloth/__init__.pyi +2 -6
  240. bpy/ops/collection/__init__.pyi +34 -44
  241. bpy/ops/console/__init__.pyi +70 -111
  242. bpy/ops/constraint/__init__.pyi +34 -102
  243. bpy/ops/curve/__init__.pyi +163 -315
  244. bpy/ops/curves/__init__.pyi +163 -189
  245. bpy/ops/cycles/__init__.pyi +8 -18
  246. bpy/ops/dpaint/__init__.pyi +21 -30
  247. bpy/ops/ed/__init__.pyi +59 -103
  248. bpy/ops/export_anim/__init__.pyi +4 -11
  249. bpy/ops/export_scene/__init__.pyi +29 -174
  250. bpy/ops/extensions/__init__.pyi +102 -194
  251. bpy/ops/file/__init__.pyi +166 -272
  252. bpy/ops/fluid/__init__.pyi +78 -86
  253. bpy/ops/font/__init__.pyi +73 -164
  254. bpy/ops/geometry/__init__.pyi +33 -144
  255. bpy/ops/gizmogroup/__init__.pyi +8 -14
  256. bpy/ops/gpencil/__init__.pyi +31 -58
  257. bpy/ops/graph/__init__.pyi +176 -411
  258. bpy/ops/grease_pencil/__init__.pyi +416 -639
  259. bpy/ops/image/__init__.pyi +148 -492
  260. bpy/ops/import_anim/__init__.pyi +5 -18
  261. bpy/ops/import_curve/__init__.pyi +4 -6
  262. bpy/ops/import_scene/__init__.pyi +22 -49
  263. bpy/ops/info/__init__.pyi +27 -43
  264. bpy/ops/lattice/__init__.pyi +26 -43
  265. bpy/ops/logic/__init__.pyi +49 -122
  266. bpy/ops/logic_nodes/__init__.pyi +461 -0
  267. bpy/ops/marker/__init__.pyi +24 -60
  268. bpy/ops/mask/__init__.pyi +118 -222
  269. bpy/ops/material/__init__.pyi +19 -18
  270. bpy/ops/mball/__init__.pyi +13 -39
  271. bpy/ops/mesh/__init__.pyi +409 -1264
  272. bpy/ops/nla/__init__.pyi +140 -232
  273. bpy/ops/node/__init__.pyi +1189 -807
  274. bpy/ops/object/__init__.pyi +806 -1659
  275. bpy/ops/outliner/__init__.pyi +284 -432
  276. bpy/ops/paint/__init__.pyi +189 -381
  277. bpy/ops/paintcurve/__init__.pyi +29 -44
  278. bpy/ops/palette/__init__.pyi +23 -34
  279. bpy/ops/particle/__init__.pyi +135 -201
  280. bpy/ops/pointcloud/__init__.pyi +23 -42
  281. bpy/ops/pose/__init__.pyi +195 -310
  282. bpy/ops/poselib/__init__.pyi +45 -73
  283. bpy/ops/preferences/__init__.pyi +89 -221
  284. bpy/ops/ptcache/__init__.pyi +32 -39
  285. bpy/ops/render/__init__.pyi +36 -83
  286. bpy/ops/rigidbody/__init__.pyi +47 -78
  287. bpy/ops/scene/__init__.pyi +169 -222
  288. bpy/ops/screen/__init__.pyi +146 -259
  289. bpy/ops/script/__init__.pyi +9 -15
  290. bpy/ops/sculpt/__init__.pyi +194 -354
  291. bpy/ops/sculpt_curves/__init__.pyi +21 -29
  292. bpy/ops/sequencer/__init__.pyi +586 -836
  293. bpy/ops/sound/__init__.pyi +25 -131
  294. bpy/ops/spreadsheet/__init__.pyi +34 -21
  295. bpy/ops/surface/__init__.pyi +7 -54
  296. bpy/ops/text/__init__.pyi +166 -281
  297. bpy/ops/text_editor/__init__.pyi +2 -6
  298. bpy/ops/texture/__init__.pyi +20 -22
  299. bpy/ops/transform/__init__.pyi +108 -445
  300. bpy/ops/ui/__init__.pyi +157 -219
  301. bpy/ops/uilist/__init__.pyi +4 -16
  302. bpy/ops/uv/__init__.pyi +291 -347
  303. bpy/ops/view2d/__init__.pyi +29 -88
  304. bpy/ops/view3d/__init__.pyi +238 -438
  305. bpy/ops/wm/__init__.pyi +651 -1510
  306. bpy/ops/workspace/__init__.pyi +42 -44
  307. bpy/ops/world/__init__.pyi +12 -13
  308. bpy/path/__init__.pyi +6 -37
  309. bpy/props/__init__.pyi +395 -259
  310. bpy/{_typing → stub_internal}/__init__.pyi +1 -0
  311. bpy/{_typing → stub_internal}/rna_enums/__init__.pyi +214 -114
  312. bpy/types/__init__.pyi +93286 -103826
  313. bpy/utils/__init__.pyi +46 -104
  314. bpy/utils/previews/__init__.pyi +7 -15
  315. bpy/utils/units/__init__.pyi +6 -15
  316. bpy_extras/__init__.pyi +1 -0
  317. bpy_extras/anim_utils/__init__.pyi +32 -23
  318. bpy_extras/asset_utils/__init__.pyi +1 -0
  319. bpy_extras/bmesh_utils/__init__.pyi +2 -2
  320. bpy_extras/id_map_utils/__init__.pyi +15 -6
  321. bpy_extras/image_utils/__init__.pyi +3 -11
  322. bpy_extras/io_utils/__init__.pyi +22 -38
  323. bpy_extras/keyconfig_utils/__init__.pyi +5 -4
  324. bpy_extras/mesh_utils/__init__.pyi +3 -14
  325. bpy_extras/node_shader_utils/__init__.pyi +63 -70
  326. bpy_extras/node_utils/__init__.pyi +4 -3
  327. bpy_extras/object_utils/__init__.pyi +6 -19
  328. bpy_extras/view3d_utils/__init__.pyi +1 -18
  329. bpy_extras/wm_utils/__init__.pyi +1 -0
  330. bpy_extras/wm_utils/progress_report/__init__.pyi +12 -11
  331. {fake_bge_module-20250312.dist-info → fake_bge_module-20260203.dist-info}/METADATA +9 -3
  332. fake_bge_module-20260203.dist-info/RECORD +414 -0
  333. {fake_bge_module-20250312.dist-info → fake_bge_module-20260203.dist-info}/WHEEL +1 -1
  334. {fake_bge_module-20250312.dist-info → fake_bge_module-20260203.dist-info}/top_level.txt +16 -16
  335. freestyle/__init__.pyi +1 -0
  336. freestyle/chainingiterators/__init__.pyi +41 -60
  337. freestyle/functions/__init__.pyi +56 -194
  338. freestyle/predicates/__init__.pyi +11 -61
  339. freestyle/shaders/__init__.pyi +95 -156
  340. freestyle/types/__init__.pyi +306 -941
  341. freestyle/utils/ContextFunctions/__init__.pyi +4 -24
  342. freestyle/utils/__init__.pyi +46 -36
  343. gpu/__init__.pyi +84 -5
  344. gpu/capabilities/__init__.pyi +1 -21
  345. gpu/matrix/__init__.pyi +16 -24
  346. gpu/platform/__init__.pyi +3 -7
  347. gpu/select/__init__.pyi +2 -1
  348. gpu/shader/__init__.pyi +43 -9
  349. gpu/state/__init__.pyi +66 -44
  350. gpu/texture/__init__.pyi +4 -5
  351. gpu/types/__init__.pyi +216 -216
  352. gpu_extras/__init__.pyi +1 -0
  353. gpu_extras/batch/__init__.pyi +2 -5
  354. gpu_extras/presets/__init__.pyi +9 -10
  355. idprop/__init__.pyi +17 -0
  356. idprop/types/__init__.pyi +18 -17
  357. imbuf/__init__.pyi +13 -9
  358. imbuf/types/__init__.pyi +10 -23
  359. keyingsets_builtins/__init__.pyi +51 -93
  360. mathutils/__init__.pyi +296 -2255
  361. mathutils/bvhtree/__init__.pyi +24 -30
  362. mathutils/geometry/__init__.pyi +83 -132
  363. mathutils/interpolate/__init__.pyi +7 -5
  364. mathutils/kdtree/__init__.pyi +5 -14
  365. mathutils/noise/__init__.pyi +62 -106
  366. nodeitems_builtins/__init__.pyi +5 -4
  367. nodeitems_utils/__init__.pyi +10 -9
  368. rna_keymap_ui/__init__.pyi +7 -6
  369. rna_prop_ui/__init__.pyi +14 -13
  370. _bpy_internal/freedesktop/__init__.pyi +0 -20
  371. bgl/__init__.pyi +0 -4235
  372. bl_i18n_utils/bl_extract_messages/__init__.pyi +0 -24
  373. bl_i18n_utils/utils_cli/__init__.pyi +0 -10
  374. bl_previews_utils/bl_previews_render/__init__.pyi +0 -11
  375. bl_text_utils/external_editor/__init__.pyi +0 -5
  376. bpy_types/__init__.pyi +0 -29
  377. console_shell/__init__.pyi +0 -9
  378. fake_bge_module-20250312.dist-info/RECORD +0 -395
  379. keyingsets_utils/__init__.pyi +0 -18
  380. {animsys_refactor → _animsys_refactor}/py.typed +0 -0
  381. {bgl → _bl_console_utils}/py.typed +0 -0
  382. {bl_console_utils → _bl_i18n_utils}/py.typed +0 -0
  383. {bl_i18n_utils → _bl_previews_utils}/py.typed +0 -0
  384. {bl_previews_utils → _bl_rna_utils}/py.typed +0 -0
  385. {bl_rna_utils → _bl_text_utils}/py.typed +0 -0
  386. {bl_text_utils → _bl_ui_utils}/py.typed +0 -0
  387. {bl_ui_utils → _blendfile_header}/py.typed +0 -0
  388. {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
  389. {bpy_types → _bpy_types}/py.typed +0 -0
  390. {console_python → _console_python}/py.typed +0 -0
  391. {console_shell → _console_shell}/py.typed +0 -0
  392. {graphviz_export → _graphviz_export}/py.typed +0 -0
  393. {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
  394. {rna_info → _rna_info}/py.typed +0 -0
  395. {rna_xml → _rna_xml}/py.typed +0 -0
@@ -42,60 +42,65 @@ Below is an example of a mesh that is altered from a handler:
42
42
  import typing
43
43
  import collections.abc
44
44
  import typing_extensions
45
+ import numpy.typing as npt
45
46
  import bpy.types
46
47
 
47
48
  animation_playback_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
48
- """ on ending animation playback
49
+ """ on ending animation playback. Accepts two arguments: The scene data-block and the dependency graph being updated
49
50
  """
50
51
 
51
52
  animation_playback_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
52
- """ on starting animation playback
53
+ """ on starting animation playback. Accepts two arguments: The scene data-block and the dependency graph being updated
53
54
  """
54
55
 
55
56
  annotation_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
56
- """ on drawing an annotation (after)
57
+ """ on drawing an annotation (after). Accepts two arguments: the annotation data-block and dependency graph
57
58
  """
58
59
 
59
60
  annotation_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
60
- """ on drawing an annotation (before)
61
+ """ on drawing an annotation (before). Accepts two arguments: the annotation data-block and dependency graph
61
62
  """
62
63
 
63
64
  blend_import_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
64
- """ on linking or appending data (after), get a single BlendImportContext parameter
65
+ """ on linking or appending data (after). Accepts one argument: a BlendImportContext
65
66
  """
66
67
 
67
68
  blend_import_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
68
- """ on linking or appending data (before), get a single BlendImportContext parameter
69
+ """ on linking or appending data (before). Accepts one argument: a BlendImportContext
69
70
  """
70
71
 
71
72
  composite_cancel: list[collections.abc.Callable[[bpy.types.Scene], None]]
72
- """ on a compositing background job (cancel)
73
+ """ on a compositing background job (cancel). Accepts one argument: the scene data-block
73
74
  """
74
75
 
75
76
  composite_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
76
- """ on a compositing background job (after)
77
+ """ on a compositing background job (after). Accepts one argument: the scene data-block
77
78
  """
78
79
 
79
80
  composite_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
80
- """ on a compositing background job (before)
81
+ """ on a compositing background job (before). Accepts one argument: the scene data-block
81
82
  """
82
83
 
83
84
  depsgraph_update_post: list[
84
85
  collections.abc.Callable[[bpy.types.Scene, bpy.types.Depsgraph], None]
85
86
  ]
86
- """ on depsgraph update (post)
87
+ """ on depsgraph update (post). Accepts two arguments: The scene data-block and the dependency graph being updated
87
88
  """
88
89
 
89
90
  depsgraph_update_pre: list[collections.abc.Callable[[bpy.types.Scene, None], None]]
90
- """ on depsgraph update (pre)
91
+ """ on depsgraph update (pre). Accepts two arguments: The scene data-block and the dependency graph being updated
92
+ """
93
+
94
+ exit_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
95
+ """ just before Blender shuts down, while all data is still valid. Accepts one boolean argument. True indicates either that a user has been using Blender and exited, or that Blender is exiting in a circumstance that should be treated as if that were the case. False indicates that Blender is running in background mode, or is exiting due to failed command line arguments, etc.
91
96
  """
92
97
 
93
98
  frame_change_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
94
- """ Called after frame change for playback and rendering, after the data has been evaluated for the new frame.
99
+ """ Called after frame change for playback and rendering, after the data has been evaluated for the new frame. Accepts two arguments: The scene data-block and the dependency graph being updated
95
100
  """
96
101
 
97
102
  frame_change_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
98
- """ Called after frame change for playback and rendering, before any data is evaluated for the new frame. This makes it possible to change data and relations (for example swap an object to another mesh) for the new frame. Note that this handler is not to be used as 'before the frame changes' event. The dependency graph is not available in this handler, as data and relations may have been altered and the dependency graph has not yet been updated for that.
103
+ """ Called after frame change for playback and rendering, before any data is evaluated for the new frame. This makes it possible to change data and relations (for example swap an object to another mesh) for the new frame. Note that this handler is not to be used as before the frame changes event. The dependency graph is not available in this handler, as data and relations may have been altered and the dependency graph has not yet been updated for that. Accepts two arguments: The scene data-block and the dependency graph being updated
99
104
  """
100
105
 
101
106
  game_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
@@ -127,15 +132,15 @@ load_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
127
132
  """
128
133
 
129
134
  object_bake_cancel: list[collections.abc.Callable[[bpy.types.Scene], None]]
130
- """ on canceling a bake job; will be called in the main thread
135
+ """ on canceling a bake job; will be called in the main thread. Accepts one argument: the object data-block being baked
131
136
  """
132
137
 
133
138
  object_bake_complete: list[collections.abc.Callable[[bpy.types.Scene], None]]
134
- """ on completing a bake job; will be called in the main thread
139
+ """ on completing a bake job; will be called in the main thread. Accepts one argument: the object data-block being baked
135
140
  """
136
141
 
137
142
  object_bake_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
138
- """ before starting a bake job
143
+ """ before starting a bake job. Accepts one argument: the object data-block being baked
139
144
  """
140
145
 
141
146
  persistent: typing.Any
@@ -151,15 +156,15 @@ redo_pre: list[collections.abc.Callable[[bpy.types.Scene], None]]
151
156
  """
152
157
 
153
158
  render_cancel: list[collections.abc.Callable[[bpy.types.Scene], None]]
154
- """ on canceling a render job
159
+ """ on canceling a render job. Accepts one argument: the scene data-block being rendered
155
160
  """
156
161
 
157
162
  render_complete: list[collections.abc.Callable[[bpy.types.Scene], None]]
158
- """ on completion of render job
163
+ """ on completion of render job. Accepts one argument: the scene data-block being rendered
159
164
  """
160
165
 
161
166
  render_init: list[collections.abc.Callable[[bpy.types.Scene], None]]
162
- """ on initialization of a render job
167
+ """ on initialization of a render job. Accepts one argument: the scene data-block being rendered
163
168
  """
164
169
 
165
170
  render_post: list[collections.abc.Callable[[bpy.types.Scene], None]]
@@ -1,6 +1,7 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
+ import numpy.typing as npt
4
5
 
5
6
  def new_triangles(
6
7
  range: tuple[int, int] | None, coords: bytes | None, colors: bytes | None
@@ -8,23 +9,17 @@ def new_triangles(
8
9
  """Create a new icon from triangle geometry.
9
10
 
10
11
  :param range: Pair of ints.
11
- :type range: tuple[int, int] | None
12
12
  :param coords: Sequence of bytes (6 floats for one triangle) for (X, Y) coordinates.
13
- :type coords: bytes | None
14
13
  :param colors: Sequence of bytes (12 for one triangles) for RGBA.
15
- :type colors: bytes | None
16
14
  :return: Unique icon value (pass to interface icon_value argument).
17
- :rtype: int
18
15
  """
19
16
 
20
17
  def new_triangles_from_file(filepath: str | None) -> int:
21
18
  """Create a new icon from triangle geometry.
22
19
 
23
20
  :param filepath: File path.
24
- :type filepath: str | None
25
21
  :return: Unique icon value (pass to interface icon_value argument).
26
- :rtype: int
27
22
  """
28
23
 
29
- def release(icon_id):
24
+ def release(icon_id) -> None:
30
25
  """Release the icon."""
@@ -19,35 +19,26 @@
19
19
 
20
20
  ```../examples/bpy.app.timers.4.py```
21
21
 
22
-
23
- --------------------
24
-
25
- You should never modify Blender data at arbitrary points in time in separate threads.
26
- However you can use a queue to collect all the actions that should be executed when Blender is in the right state again.
27
- Pythons queue.Queue can be used here, because it implements the required locking semantics.
28
-
29
- ```../examples/bpy.app.timers.5.py```
30
-
31
22
  """
32
23
 
33
24
  import typing
34
25
  import collections.abc
35
26
  import typing_extensions
27
+ import numpy.typing as npt
36
28
 
37
29
  def is_registered(function: collections.abc.Callable[[], float | None]) -> bool:
38
30
  """Check if this function is registered as a timer.
39
31
 
40
32
  :param function: Function to check.
41
- :type function: collections.abc.Callable[[], float | None]
42
33
  :return: True when this function is registered, otherwise False.
43
- :rtype: bool
44
34
  """
45
35
 
46
36
  def register(
47
37
  function: collections.abc.Callable[[], float | None],
38
+ *,
48
39
  first_interval: float | None = 0,
49
40
  persistent: bool | None = False,
50
- ):
41
+ ) -> None:
51
42
  """Add a new function that will be called after the specified amount of seconds.
52
43
  The function gets no arguments and is expected to return either None or a float.
53
44
  If None is returned, the timer will be unregistered.
@@ -55,16 +46,12 @@ def register(
55
46
  functools.partial can be used to assign some parameters.
56
47
 
57
48
  :param function: The function that should called.
58
- :type function: collections.abc.Callable[[], float | None]
59
49
  :param first_interval: Seconds until the callback should be called the first time.
60
- :type first_interval: float | None
61
- :param persistent: Don't remove timer when a new file is loaded.
62
- :type persistent: bool | None
50
+ :param persistent: Dont remove timer when a new file is loaded.
63
51
  """
64
52
 
65
- def unregister(function: collections.abc.Callable[[], float | None]):
53
+ def unregister(function: collections.abc.Callable[[], float | None]) -> None:
66
54
  """Unregister timer.
67
55
 
68
56
  :param function: Function to unregister.
69
- :type function: collections.abc.Callable[[], float | None]
70
57
  """
@@ -11,12 +11,12 @@ If you are a regular add-on, you should only bother about contexts member,
11
11
  and the register/unregister functions! The pgettext family of functions
12
12
  should only be used in rare, specific cases (like e.g. complex "composited" UI strings...).
13
13
 
14
- To add translations to your python script, you must define a dictionary formatted like that:
14
+ To add translations to your Python script, you must define a dictionary formatted like that:
15
15
  {locale: {msg_key: msg_translation, ...}, ...}
16
16
 
17
17
  where:
18
18
 
19
- * locale is either a lang iso code (e.g. fr
19
+ * locale is either a lang ISO code (e.g. fr
20
20
 
21
21
  ), a lang+country code (e.g. pt_BR
22
22
 
@@ -43,7 +43,7 @@ bpy.app.translations.unregister(__name__)
43
43
  The Manage UI translations
44
44
 
45
45
  add-on has several functions to help you collect strings to translate, and
46
- generate the needed python code (the translation dictionary), as well as optional intermediary po files
46
+ generate the needed Python code (the translation dictionary), as well as optional intermediary po files
47
47
  if you want some... See
48
48
  How to Translate Blender and
49
49
  Using i18n in Blender Code
@@ -59,99 +59,85 @@ for more info.
59
59
  import typing
60
60
  import collections.abc
61
61
  import typing_extensions
62
+ import numpy.typing as npt
62
63
 
63
- def locale_explode(locale):
64
+ def locale_explode(locale) -> None:
64
65
  """Return all components and their combinations of the given ISO locale string.For non-complete locales, missing elements will be None.
65
66
 
66
67
  :param locale: The ISO locale string to explode.
67
68
  :return: A tuple (language, country, variant, language_country, language@variant).
68
69
  """
69
70
 
70
- def pgettext(msgid: str | None, msgctxt: None | str | None = None):
71
+ def pgettext(msgid: str | None, msgctxt: None | str | None = None) -> None:
71
72
  """Try to translate the given msgid (with optional msgctxt).
72
73
 
73
74
  :param msgid: The string to translate.
74
- :type msgid: str | None
75
75
  :param msgctxt: The translation context (defaults to BLT_I18NCONTEXT_DEFAULT).
76
- :type msgctxt: None | str | None
77
76
  :return: The translated string (or msgid if no translation was found).
78
77
  """
79
78
 
80
- def pgettext_data(msgid: str | None, msgctxt: None | str | None = None):
81
- """Try to translate the given msgid (with optional msgctxt), if new data name's translation is enabled.
79
+ def pgettext_data(msgid: str | None, msgctxt: None | str | None = None) -> None:
80
+ """Try to translate the given msgid (with optional msgctxt), if new data names translation is enabled.
82
81
 
83
82
  :param msgid: The string to translate.
84
- :type msgid: str | None
85
83
  :param msgctxt: The translation context (defaults to BLT_I18NCONTEXT_DEFAULT).
86
- :type msgctxt: None | str | None
87
84
  :return: The translated string (or msgid if no translation was found).
88
85
  """
89
86
 
90
- def pgettext_iface(msgid: str | None, msgctxt: None | str | None = None):
91
- """Try to translate the given msgid (with optional msgctxt), if labels' translation is enabled.
87
+ def pgettext_iface(msgid: str | None, msgctxt: None | str | None = None) -> None:
88
+ """Try to translate the given msgid (with optional msgctxt), if labels translation is enabled.
92
89
 
93
90
  :param msgid: The string to translate.
94
- :type msgid: str | None
95
91
  :param msgctxt: The translation context (defaults to BLT_I18NCONTEXT_DEFAULT).
96
- :type msgctxt: None | str | None
97
92
  :return: The translated string (or msgid if no translation was found).
98
93
  """
99
94
 
100
- def pgettext_n(msgid: str | None, msgctxt: None | str | None = None):
95
+ def pgettext_n(msgid: str | None, msgctxt: None | str | None = None) -> None:
101
96
  """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.
102
97
 
103
98
  :param msgid: The string to extract.
104
- :type msgid: str | None
105
99
  :param msgctxt: The translation context (defaults to BLT_I18NCONTEXT_DEFAULT).
106
- :type msgctxt: None | str | None
107
100
  :return: The original string.
108
101
  """
109
102
 
110
- def pgettext_rpt(msgid: str | None, msgctxt: None | str | None = None):
111
- """Try to translate the given msgid (with optional msgctxt), if reports' translation is enabled.
103
+ def pgettext_rpt(msgid: str | None, msgctxt: None | str | None = None) -> None:
104
+ """Try to translate the given msgid (with optional msgctxt), if reports translation is enabled.
112
105
 
113
106
  :param msgid: The string to translate.
114
- :type msgid: str | None
115
107
  :param msgctxt: The translation context (defaults to BLT_I18NCONTEXT_DEFAULT).
116
- :type msgctxt: None | str | None
117
108
  :return: The translated string (or msgid if no translation was found).
118
109
  """
119
110
 
120
- def pgettext_tip(msgid: str | None, msgctxt: None | str | None = None):
121
- """Try to translate the given msgid (with optional msgctxt), if tooltips' translation is enabled.
111
+ def pgettext_tip(msgid: str | None, msgctxt: None | str | None = None) -> None:
112
+ """Try to translate the given msgid (with optional msgctxt), if tooltips translation is enabled.
122
113
 
123
114
  :param msgid: The string to translate.
124
- :type msgid: str | None
125
115
  :param msgctxt: The translation context (defaults to BLT_I18NCONTEXT_DEFAULT).
126
- :type msgctxt: None | str | None
127
116
  :return: The translated string (or msgid if no translation was found).
128
117
  """
129
118
 
130
119
  def register(
131
120
  module_name: str | None, translations_dict: dict[str, dict[str, str]] | None
132
- ):
133
- """Registers an addon's UI translations.
121
+ ) -> None:
122
+ """Registers an addons UI translations.
134
123
 
135
124
  :param module_name: The name identifying the addon.
136
- :type module_name: str | None
137
125
  :param translations_dict: A dictionary built like that:
138
126
  {locale: {msg_key: msg_translation, ...}, ...}
139
- :type translations_dict: dict[str, dict[str, str]] | None
140
127
  """
141
128
 
142
- def unregister(module_name: str | None):
143
- """Unregisters an addon's UI translations.
129
+ def unregister(module_name: str | None) -> None:
130
+ """Unregisters an addons UI translations.
144
131
 
145
132
  :param module_name: The name identifying the addon.
146
- :type module_name: str | None
147
133
  """
148
134
 
149
135
  contexts: typing.Any
150
- """ Constant value bpy.app.translations.contexts(default_real=None, default='*', operator_default='Operator', ui_events_keymaps='UI_Events_KeyMaps', plural='Plural', id_action='Action', id_armature='Armature', id_brush='Brush', id_cachefile='CacheFile', id_camera='Camera', id_collection='Collection', id_curves='Curves', id_curve='Curve', id_fs_linestyle='FreestyleLineStyle', id_gpencil='GPencil', id_id='ID', id_image='Image', id_lattice='Lattice', id_library='Library', id_light='Light', id_lightprobe='LightProbe', id_mask='Mask', id_material='Material', id_mesh='Mesh', id_metaball='Metaball', id_movieclip='MovieClip', id_nodetree='NodeTree', id_object='Object', id_paintcurve='PaintCurve', id_palette='Palette', id_particlesettings='ParticleSettings', id_pointcloud='PointCloud', id_scene='Scene', id_screen='Screen', id_sequence='Sequence', id_shapekey='Key', id_simulation='Simulation', id_sound='Sound', id_speaker='Speaker', id_text='Text', id_texture='Texture', id_vfont='VFont', id_volume='Volume', id_windowmanager='WindowManager', id_workspace='WorkSpace', id_world='World', editor_filebrowser='File browser', editor_python_console='Python console', editor_preferences='Preferences', editor_view3d='View3D', amount='Amount', color='Color', constraint='Constraint', modifier='Modifier', navigation='Navigation', render_layer='Render Layer', time='Time', unit='Unit')
136
+ """ Constant value bpy.app.translations.contexts(default_real=None, default=*, operator_default=Operator, ui_events_keymaps=UI_Events_KeyMaps, plural=Plural, countable=Countable, id_action=Action, id_armature=Armature, no_translation=Do not translate, id_brush=Brush, id_cachefile=CacheFile, id_camera=Camera, id_collection=Collection, id_curves=Curves, id_curve=Curve, id_fs_linestyle=FreestyleLineStyle, id_gpencil=GPencil, id_id=ID, id_image=Image, id_lattice=Lattice, id_library=Library, id_light=Light, id_lightprobe=LightProbe, id_mask=Mask, id_material=Material, id_mesh=Mesh, id_metaball=Metaball, id_movieclip=MovieClip, id_nodetree=NodeTree, id_object=Object, id_paintcurve=PaintCurve, id_palette=Palette, id_particlesettings=ParticleSettings, id_pointcloud=PointCloud, id_scene=Scene, id_screen=Screen, id_sequence=Sequence, id_shapekey=Key, id_simulation=Simulation, id_sound=Sound, id_speaker=Speaker, id_text=Text, id_texture=Texture, id_vfont=VFont, id_volume=Volume, id_windowmanager=WindowManager, id_workspace=WorkSpace, id_world=World, editor_filebrowser=File browser, editor_python_console=Python console, editor_preferences=Preferences, editor_view3d=View3D, amount=Amount, color=Color, constraint=Constraint, modifier=Modifier, navigation=Navigation, render_layer=Render Layer, time=Time, unit=Unit)
151
137
  """
152
138
 
153
139
  contexts_C_to_py: typing.Any
154
- """ A readonly dict mapping contexts' C-identifiers to their py-identifiers.
140
+ """ A readonly dict mapping contexts C-identifiers to their py-identifiers.
155
141
  """
156
142
 
157
143
  locale: typing.Any
bpy/msgbus/__init__.pyi CHANGED
@@ -1,6 +1,6 @@
1
1
  """
2
2
  The message bus system can be used to receive notifications when properties of
3
- Blender datablocks are changed via the data API.
3
+ Blender data-blocks are changed via the data API.
4
4
 
5
5
 
6
6
  --------------------
@@ -18,6 +18,18 @@ The following updates do not trigger message bus notifications:
18
18
  * Moving objects in the 3D Viewport.
19
19
  * Changes performed by the animation system.
20
20
 
21
+ Changes done from msgbus
22
+
23
+ callbacks are not included in related undo steps,
24
+ so users can easily skip their effects by using Undo followed by Redo.
25
+
26
+ Unlike properties update
27
+
28
+ callbacks, message bus update callbacks are postponed
29
+ until all operators have finished executing.
30
+ Additionally, for each property the callback is only triggered once per update cycle,
31
+ even if the property was changed multiple times during that period.
32
+
21
33
 
22
34
  --------------------
23
35
 
@@ -47,16 +59,17 @@ see bpy.app.handlers.load_post.
47
59
  import typing
48
60
  import collections.abc
49
61
  import typing_extensions
62
+ import numpy.typing as npt
50
63
  import bpy.types
51
64
 
52
- def clear_by_owner(owner):
65
+ def clear_by_owner(owner) -> None:
53
66
  """Clear all subscribers using this owner."""
54
67
 
55
68
  def publish_rna(
56
69
  key: bpy.types.Property | bpy.types.Struct | tuple[bpy.types.Struct, str] | None,
57
- ):
70
+ ) -> None:
58
71
  """Notify subscribers of changes to this property
59
- (this typically doesn't need to be called explicitly since changes will automatically publish updates).
72
+ (this typically doesnt need to be called explicitly since changes will automatically publish updates).
60
73
  In some cases it may be useful to publish changes explicitly using more general keys.
61
74
 
62
75
  :param key: Represents the type of data being subscribed to
@@ -65,7 +78,6 @@ def publish_rna(
65
78
  - A property instance.
66
79
  - A struct type.
67
80
  - A tuple representing a (struct, property name) pair.
68
- :type key: bpy.types.Property | bpy.types.Struct | tuple[bpy.types.Struct, str] | None
69
81
  """
70
82
 
71
83
  def subscribe_rna(
@@ -73,8 +85,9 @@ def subscribe_rna(
73
85
  owner: typing.Any | None,
74
86
  args,
75
87
  notify,
76
- options=set(),
77
- ):
88
+ *,
89
+ options: set[str] | None = set(),
90
+ ) -> None:
78
91
  """Register a message bus subscription. It will be cleared when another blend file is
79
92
  loaded, or can be cleared explicitly via `bpy.msgbus.clear_by_owner`.
80
93
 
@@ -84,9 +97,7 @@ def subscribe_rna(
84
97
  - A property instance.
85
98
  - A struct type.
86
99
  - A tuple representing a (struct, property name) pair.
87
- :type key: bpy.types.Property | bpy.types.Struct | tuple[bpy.types.Struct, str] | None
88
100
  :param owner: Handle for this subscription (compared by identity).
89
- :type owner: typing.Any | None
90
101
  :param options: Change the behavior of the subscriber.
91
102
 
92
103
  PERSISTENT when set, the subscriber will be kept when remapping ID data.
bpy/ops/__init__.pyi CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  --------------------
4
4
 
5
- Provides python access to calling operators, this includes operators written in
6
- C, Python or macros.
5
+ Provides Python access to calling operators, this includes operators written in
6
+ C++, Python or macros.
7
7
 
8
8
  Only keyword arguments can be used to pass operator properties.
9
9
 
@@ -20,6 +20,20 @@ Common return values are {'FINISHED'}
20
20
  meaning that the operator execution was aborted without making any changes or
21
21
  saving an undo history entry.
22
22
 
23
+ If operator was cancelled but there wasn't any reports from it with {'ERROR'}
24
+
25
+ type,
26
+ it will just return {'CANCELLED'}
27
+
28
+ without raising any exceptions.
29
+ However, if there are error reports, a RuntimeError
30
+
31
+ will be raised
32
+ after the operator finishes execution, including all error report messages,
33
+ regardless of the return status (even if it was {'FINISHED'}
34
+
35
+ ).
36
+
23
37
  Calling an operator in the wrong context will raise a RuntimeError
24
38
 
25
39
  ,
@@ -30,7 +44,7 @@ Note that the operator ID (bl_idname) in this example is mesh.subdivide
30
44
  ,
31
45
  bpy.ops
32
46
 
33
- is just the access path for python.
47
+ is just the access path for Python.
34
48
 
35
49
 
36
50
  --------------------
@@ -158,11 +172,14 @@ bpy.ops.*
158
172
  import typing
159
173
  import collections.abc
160
174
  import typing_extensions
175
+ import numpy.typing as npt
161
176
  from . import action as action
162
177
  from . import anim as anim
163
178
  from . import armature as armature
164
179
  from . import asset as asset
180
+ from . import bge_bricknodes as bge_bricknodes
165
181
  from . import boid as boid
182
+ from . import bricknodes as bricknodes
166
183
  from . import brush as brush
167
184
  from . import buttons as buttons
168
185
  from . import cachefile as cachefile
@@ -195,6 +212,7 @@ from . import import_scene as import_scene
195
212
  from . import info as info
196
213
  from . import lattice as lattice
197
214
  from . import logic as logic
215
+ from . import logic_nodes as logic_nodes
198
216
  from . import marker as marker
199
217
  from . import mask as mask
200
218
  from . import material as material