fake-bpy-module 20240210__py3-none-any.whl → 20240326__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 (309) hide show
  1. addon_utils/__init__.pyi +54 -11
  2. animsys_refactor/__init__.pyi +36 -7
  3. aud/__init__.pyi +307 -321
  4. bgl/__init__.pyi +2926 -865
  5. bl_app_override/__init__.pyi +14 -4
  6. bl_app_override/helpers/__init__.pyi +24 -3
  7. bl_app_template_utils/__init__.pyi +19 -5
  8. bl_console_utils/__init__.pyi +0 -1
  9. bl_console_utils/autocomplete/__init__.pyi +2 -3
  10. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -6
  11. bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -4
  12. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -6
  13. bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -3
  14. bl_i18n_utils/__init__.pyi +2 -3
  15. bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -16
  16. bl_i18n_utils/merge_po/__init__.pyi +4 -2
  17. bl_i18n_utils/settings/__init__.pyi +53 -7
  18. bl_i18n_utils/utils/__init__.pyi +332 -45
  19. bl_i18n_utils/utils_cli/__init__.pyi +29 -7
  20. bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -2
  21. bl_i18n_utils/utils_rtl/__init__.pyi +9 -3
  22. bl_keymap_utils/__init__.pyi +2 -3
  23. bl_keymap_utils/io/__init__.pyi +44 -10
  24. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -2
  25. bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -2
  26. bl_keymap_utils/platform_helpers/__init__.pyi +9 -3
  27. bl_keymap_utils/versioning/__init__.pyi +4 -2
  28. bl_math/__init__.pyi +21 -22
  29. bl_operators/__init__.pyi +30 -24
  30. bl_operators/add_mesh_torus/__init__.pyi +171 -38
  31. bl_operators/anim/__init__.pyi +1065 -227
  32. bl_operators/assets/__init__.pyi +427 -93
  33. bl_operators/bmesh/__init__.pyi +0 -1
  34. bl_operators/bmesh/find_adjacent/__init__.pyi +44 -10
  35. bl_operators/clip/__init__.pyi +1342 -288
  36. bl_operators/console/__init__.pyi +647 -141
  37. bl_operators/constraint/__init__.pyi +524 -113
  38. bl_operators/file/__init__.pyi +396 -85
  39. bl_operators/freestyle/__init__.pyi +532 -114
  40. bl_operators/geometry_nodes/__init__.pyi +2412 -597
  41. bl_operators/image/__init__.pyi +380 -83
  42. bl_operators/mesh/__init__.pyi +401 -86
  43. bl_operators/node/__init__.pyi +1756 -385
  44. bl_operators/object/__init__.pyi +2022 -553
  45. bl_operators/object_align/__init__.pyi +145 -32
  46. bl_operators/object_quick_effects/__init__.pyi +555 -125
  47. bl_operators/object_randomize_transform/__init__.pyi +136 -33
  48. bl_operators/presets/__init__.pyi +3516 -709
  49. bl_operators/rigidbody/__init__.pyi +401 -86
  50. bl_operators/screen_play_rendered_anim/__init__.pyi +129 -30
  51. bl_operators/sequencer/__init__.pyi +731 -150
  52. bl_operators/spreadsheet/__init__.pyi +145 -31
  53. bl_operators/userpref/__init__.pyi +3416 -825
  54. bl_operators/uvcalc_follow_active/__init__.pyi +149 -33
  55. bl_operators/uvcalc_lightmap/__init__.pyi +187 -35
  56. bl_operators/uvcalc_transform/__init__.pyi +344 -74
  57. bl_operators/vertexpaint_dirt/__init__.pyi +140 -31
  58. bl_operators/view3d/__init__.pyi +697 -147
  59. bl_operators/wm/__init__.pyi +6287 -1534
  60. bl_previews_utils/__init__.pyi +0 -1
  61. bl_previews_utils/bl_previews_render/__init__.pyi +34 -8
  62. bl_rna_utils/__init__.pyi +0 -1
  63. bl_rna_utils/data_path/__init__.pyi +12 -3
  64. bl_text_utils/__init__.pyi +0 -1
  65. bl_text_utils/external_editor/__init__.pyi +4 -2
  66. bl_ui/__init__.pyi +567 -170
  67. bl_ui/anim/__init__.pyi +164 -34
  68. bl_ui/asset_shelf/__init__.pyi +146 -32
  69. bl_ui/generic_ui_list/__init__.pyi +471 -100
  70. bl_ui/node_add_menu/__init__.pyi +196 -41
  71. bl_ui/node_add_menu_compositor/__init__.pyi +3017 -622
  72. bl_ui/node_add_menu_geometry/__init__.pyi +8075 -1592
  73. bl_ui/node_add_menu_shader/__init__.pyi +1709 -349
  74. bl_ui/node_add_menu_texture/__init__.pyi +1502 -306
  75. bl_ui/properties_animviz/__init__.pyi +32 -3
  76. bl_ui/properties_collection/__init__.pyi +787 -180
  77. bl_ui/properties_constraint/__init__.pyi +28635 -5524
  78. bl_ui/properties_data_armature/__init__.pyi +1905 -449
  79. bl_ui/properties_data_bone/__init__.pyi +1560 -337
  80. bl_ui/properties_data_camera/__init__.pyi +2269 -495
  81. bl_ui/properties_data_curve/__init__.pyi +2362 -535
  82. bl_ui/properties_data_curves/__init__.pyi +951 -204
  83. bl_ui/properties_data_empty/__init__.pyi +317 -70
  84. bl_ui/properties_data_gpencil/__init__.pyi +2924 -735
  85. bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -189
  86. bl_ui/properties_data_lattice/__init__.pyi +472 -105
  87. bl_ui/properties_data_light/__init__.pyi +1570 -338
  88. bl_ui/properties_data_lightprobe/__init__.pyi +938 -209
  89. bl_ui/properties_data_mesh/__init__.pyi +3205 -768
  90. bl_ui/properties_data_metaball/__init__.pyi +774 -171
  91. bl_ui/properties_data_modifier/__init__.pyi +1554 -329
  92. bl_ui/properties_data_pointcloud/__init__.pyi +821 -195
  93. bl_ui/properties_data_shaderfx/__init__.pyi +154 -35
  94. bl_ui/properties_data_speaker/__init__.pyi +782 -169
  95. bl_ui/properties_data_volume/__init__.pyi +1243 -282
  96. bl_ui/properties_freestyle/__init__.pyi +4071 -1031
  97. bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -484
  98. bl_ui/properties_mask_common/__init__.pyi +1256 -250
  99. bl_ui/properties_material/__init__.pyi +2351 -543
  100. bl_ui/properties_material_gpencil/__init__.pyi +1590 -366
  101. bl_ui/properties_object/__init__.pyi +2179 -513
  102. bl_ui/properties_output/__init__.pyi +2956 -706
  103. bl_ui/properties_paint_common/__init__.pyi +947 -141
  104. bl_ui/properties_particle/__init__.pyi +8322 -1971
  105. bl_ui/properties_physics_cloth/__init__.pyi +2254 -509
  106. bl_ui/properties_physics_common/__init__.pyi +200 -45
  107. bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -966
  108. bl_ui/properties_physics_field/__init__.pyi +1695 -365
  109. bl_ui/properties_physics_fluid/__init__.pyi +6127 -1281
  110. bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -33
  111. bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -279
  112. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -484
  113. bl_ui/properties_physics_softbody/__init__.pyi +2394 -543
  114. bl_ui/properties_render/__init__.pyi +8312 -1934
  115. bl_ui/properties_scene/__init__.pyi +2211 -540
  116. bl_ui/properties_texture/__init__.pyi +4185 -1014
  117. bl_ui/properties_view_layer/__init__.pyi +2803 -665
  118. bl_ui/properties_workspace/__init__.pyi +626 -149
  119. bl_ui/properties_world/__init__.pyi +1092 -235
  120. bl_ui/space_clip/__init__.pyi +11475 -2806
  121. bl_ui/space_console/__init__.pyi +967 -203
  122. bl_ui/space_dopesheet/__init__.pyi +4260 -967
  123. bl_ui/space_filebrowser/__init__.pyi +4852 -1188
  124. bl_ui/space_graph/__init__.pyi +3251 -703
  125. bl_ui/space_image/__init__.pyi +12218 -2968
  126. bl_ui/space_info/__init__.pyi +964 -201
  127. bl_ui/space_nla/__init__.pyi +2756 -585
  128. bl_ui/space_node/__init__.pyi +5661 -1266
  129. bl_ui/space_outliner/__init__.pyi +2294 -479
  130. bl_ui/space_properties/__init__.pyi +417 -93
  131. bl_ui/space_sequencer/__init__.pyi +12436 -3010
  132. bl_ui/space_spreadsheet/__init__.pyi +184 -37
  133. bl_ui/space_statusbar/__init__.pyi +135 -31
  134. bl_ui/space_text/__init__.pyi +2556 -543
  135. bl_ui/space_time/__init__.pyi +1151 -244
  136. bl_ui/space_toolsystem_common/__init__.pyi +368 -67
  137. bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -229
  138. bl_ui/space_topbar/__init__.pyi +4214 -888
  139. bl_ui/space_userpref/__init__.pyi +13920 -3468
  140. bl_ui/space_view3d/__init__.pyi +42751 -9613
  141. bl_ui/space_view3d_toolbar/__init__.pyi +16379 -3860
  142. bl_ui/utils/__init__.pyi +42 -5
  143. bl_ui_utils/__init__.pyi +0 -1
  144. bl_ui_utils/bug_report_url/__init__.pyi +4 -2
  145. bl_ui_utils/layout/__init__.pyi +4 -2
  146. blend_render_info/__init__.pyi +13 -4
  147. blf/__init__.pyi +15 -18
  148. bmesh/__init__.pyi +18 -18
  149. bmesh/geometry/__init__.pyi +5 -6
  150. bmesh/ops/__init__.pyi +1337 -1158
  151. bmesh/types/__init__.pyi +464 -374
  152. bmesh/utils/__init__.pyi +64 -70
  153. bpy/__init__.pyi +6 -7
  154. bpy/app/__init__.pyi +36 -38
  155. bpy/app/handlers/__init__.pyi +37 -38
  156. bpy/app/icons/__init__.pyi +8 -11
  157. bpy/app/timers/__init__.pyi +18 -17
  158. bpy/app/translations/__init__.pyi +32 -30
  159. bpy/msgbus/__init__.pyi +25 -20
  160. bpy/ops/__init__.pyi +63 -64
  161. bpy/ops/action/__init__.pyi +408 -436
  162. bpy/ops/anim/__init__.pyi +459 -577
  163. bpy/ops/armature/__init__.pyi +396 -498
  164. bpy/ops/asset/__init__.pyi +187 -213
  165. bpy/ops/boid/__init__.pyi +50 -68
  166. bpy/ops/brush/__init__.pyi +72 -97
  167. bpy/ops/buttons/__init__.pyi +202 -193
  168. bpy/ops/cachefile/__init__.pyi +198 -188
  169. bpy/ops/camera/__init__.pyi +24 -31
  170. bpy/ops/clip/__init__.pyi +1021 -1082
  171. bpy/ops/cloth/__init__.pyi +11 -15
  172. bpy/ops/collection/__init__.pyi +36 -51
  173. bpy/ops/console/__init__.pyi +155 -209
  174. bpy/ops/constraint/__init__.pyi +286 -254
  175. bpy/ops/curve/__init__.pyi +597 -659
  176. bpy/ops/curves/__init__.pyi +191 -225
  177. bpy/ops/cycles/__init__.pyi +21 -30
  178. bpy/ops/dpaint/__init__.pyi +34 -47
  179. bpy/ops/ed/__init__.pyi +160 -176
  180. bpy/ops/export_anim/__init__.pyi +51 -34
  181. bpy/ops/export_mesh/__init__.pyi +47 -45
  182. bpy/ops/export_scene/__init__.pyi +659 -504
  183. bpy/ops/file/__init__.pyi +469 -474
  184. bpy/ops/fluid/__init__.pyi +89 -119
  185. bpy/ops/font/__init__.pyi +325 -361
  186. bpy/ops/geometry/__init__.pyi +86 -114
  187. bpy/ops/gizmogroup/__init__.pyi +22 -28
  188. bpy/ops/gpencil/__init__.pyi +1900 -1976
  189. bpy/ops/graph/__init__.pyi +875 -894
  190. bpy/ops/grease_pencil/__init__.pyi +572 -508
  191. bpy/ops/image/__init__.pyi +805 -855
  192. bpy/ops/import_anim/__init__.pyi +66 -46
  193. bpy/ops/import_curve/__init__.pyi +7 -11
  194. bpy/ops/import_mesh/__init__.pyi +19 -25
  195. bpy/ops/import_scene/__init__.pyi +164 -147
  196. bpy/ops/info/__init__.pyi +88 -85
  197. bpy/ops/lattice/__init__.pyi +86 -90
  198. bpy/ops/marker/__init__.pyi +135 -146
  199. bpy/ops/mask/__init__.pyi +372 -436
  200. bpy/ops/material/__init__.pyi +18 -25
  201. bpy/ops/mball/__init__.pyi +93 -99
  202. bpy/ops/mesh/__init__.pyi +2525 -2664
  203. bpy/ops/nla/__init__.pyi +398 -455
  204. bpy/ops/node/__init__.pyi +1015 -1207
  205. bpy/ops/object/__init__.pyi +3423 -3390
  206. bpy/ops/outliner/__init__.pyi +667 -685
  207. bpy/ops/paint/__init__.pyi +719 -672
  208. bpy/ops/paintcurve/__init__.pyi +64 -85
  209. bpy/ops/palette/__init__.pyi +48 -67
  210. bpy/ops/particle/__init__.pyi +323 -367
  211. bpy/ops/pose/__init__.pyi +569 -474
  212. bpy/ops/poselib/__init__.pyi +77 -100
  213. bpy/ops/preferences/__init__.pyi +460 -512
  214. bpy/ops/ptcache/__init__.pyi +46 -63
  215. bpy/ops/render/__init__.pyi +121 -155
  216. bpy/ops/rigidbody/__init__.pyi +148 -143
  217. bpy/ops/scene/__init__.pyi +336 -380
  218. bpy/ops/screen/__init__.pyi +454 -530
  219. bpy/ops/script/__init__.pyi +19 -28
  220. bpy/ops/sculpt/__init__.pyi +734 -587
  221. bpy/ops/sculpt_curves/__init__.pyi +51 -56
  222. bpy/ops/sequencer/__init__.pyi +1617 -1500
  223. bpy/ops/sound/__init__.pyi +392 -315
  224. bpy/ops/spreadsheet/__init__.pyi +31 -42
  225. bpy/ops/surface/__init__.pyi +198 -163
  226. bpy/ops/text/__init__.pyi +479 -545
  227. bpy/ops/text_editor/__init__.pyi +11 -15
  228. bpy/ops/texture/__init__.pyi +26 -36
  229. bpy/ops/transform/__init__.pyi +825 -941
  230. bpy/ops/ui/__init__.pyi +246 -295
  231. bpy/ops/uilist/__init__.pyi +34 -38
  232. bpy/ops/uv/__init__.pyi +912 -824
  233. bpy/ops/view2d/__init__.pyi +157 -197
  234. bpy/ops/view3d/__init__.pyi +777 -878
  235. bpy/ops/wm/__init__.pyi +4102 -3595
  236. bpy/ops/workspace/__init__.pyi +42 -58
  237. bpy/ops/world/__init__.pyi +6 -9
  238. bpy/path/__init__.pyi +166 -109
  239. bpy/props/__init__.pyi +478 -395
  240. bpy/types/__init__.pyi +87194 -81467
  241. bpy/utils/__init__.pyi +325 -169
  242. bpy/utils/previews/__init__.pyi +108 -21
  243. bpy/utils/units/__init__.pyi +37 -39
  244. bpy_extras/__init__.pyi +4 -9
  245. bpy_extras/anim_utils/__init__.pyi +25 -55
  246. bpy_extras/asset_utils/__init__.pyi +3 -13
  247. bpy_extras/id_map_utils/__init__.pyi +1 -4
  248. bpy_extras/image_utils/__init__.pyi +33 -23
  249. bpy_extras/io_utils/__init__.pyi +116 -66
  250. bpy_extras/keyconfig_utils/__init__.pyi +5 -3
  251. bpy_extras/mesh_utils/__init__.pyi +42 -34
  252. bpy_extras/node_utils/__init__.pyi +4 -4
  253. bpy_extras/object_utils/__init__.pyi +58 -43
  254. bpy_extras/view3d_utils/__init__.pyi +64 -63
  255. bpy_restrict_state/__init__.pyi +14 -2
  256. bpy_types/__init__.pyi +3873 -998
  257. console_python/__init__.pyi +41 -8
  258. console_shell/__init__.pyi +24 -6
  259. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
  260. fake_bpy_module-20240326.dist-info/RECORD +343 -0
  261. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
  262. freestyle/__init__.pyi +4 -5
  263. freestyle/chainingiterators/__init__.pyi +229 -73
  264. freestyle/functions/__init__.pyi +624 -402
  265. freestyle/predicates/__init__.pyi +381 -169
  266. freestyle/shaders/__init__.pyi +424 -155
  267. freestyle/types/__init__.pyi +1572 -726
  268. freestyle/utils/ContextFunctions/__init__.pyi +54 -43
  269. freestyle/utils/__init__.pyi +67 -31
  270. gpu/__init__.pyi +3 -4
  271. gpu/capabilities/__init__.pyi +57 -37
  272. gpu/matrix/__init__.pyi +14 -17
  273. gpu/platform/__init__.pyi +5 -6
  274. gpu/select/__init__.pyi +2 -5
  275. gpu/shader/__init__.pyi +14 -12
  276. gpu/state/__init__.pyi +48 -62
  277. gpu/texture/__init__.pyi +7 -7
  278. gpu/types/__init__.pyi +670 -229
  279. gpu_extras/__init__.pyi +1 -2
  280. gpu_extras/batch/__init__.pyi +27 -6
  281. gpu_extras/presets/__init__.pyi +67 -27
  282. graphviz_export/__init__.pyi +9 -3
  283. idprop/__init__.pyi +0 -1
  284. idprop/types/__init__.pyi +42 -13
  285. imbuf/__init__.pyi +6 -10
  286. imbuf/types/__init__.pyi +8 -16
  287. keyingsets_builtins/__init__.pyi +3149 -702
  288. keyingsets_utils/__init__.pyi +69 -15
  289. mathutils/__init__.pyi +951 -876
  290. mathutils/bvhtree/__init__.pyi +47 -48
  291. mathutils/geometry/__init__.pyi +237 -242
  292. mathutils/interpolate/__init__.pyi +3 -6
  293. mathutils/kdtree/__init__.pyi +23 -26
  294. mathutils/noise/__init__.pyi +50 -51
  295. nodeitems_builtins/__init__.pyi +50 -11
  296. nodeitems_utils/__init__.pyi +58 -11
  297. rna_info/__init__.pyi +230 -27
  298. rna_keymap_ui/__init__.pyi +29 -7
  299. rna_prop_ui/__init__.pyi +69 -13
  300. rna_xml/__init__.pyi +29 -7
  301. sys_info/__init__.pyi +4 -2
  302. bpy_extras/bmesh_utils/__init__.pyi +0 -7
  303. bpy_extras/extensions/__init__.pyi +0 -5
  304. bpy_extras/extensions/junction_module/__init__.pyi +0 -13
  305. bpy_extras/node_shader_utils/__init__.pyi +0 -132
  306. bpy_extras/wm_utils/__init__.pyi +0 -5
  307. bpy_extras/wm_utils/progress_report/__init__.pyi +0 -30
  308. fake_bpy_module-20240210.dist-info/RECORD +0 -349
  309. {fake_bpy_module-20240210.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
@@ -1,81 +1,80 @@
1
- import sys
2
1
  import typing
3
2
  import bpy.types
4
3
 
5
4
  GenericType = typing.TypeVar("GenericType")
6
- animation_playback_post: typing.List[typing.Callable[["bpy.types.Scene"], None]]
5
+ animation_playback_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
7
6
  """ on ending animation playback
8
7
  """
9
8
 
10
- animation_playback_pre: typing.List[typing.Callable[["bpy.types.Scene"], None]]
9
+ animation_playback_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
11
10
  """ on starting animation playback
12
11
  """
13
12
 
14
- annotation_post: typing.List[typing.Callable[["bpy.types.Scene"], None]]
13
+ annotation_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
15
14
  """ on drawing an annotation (after)
16
15
  """
17
16
 
18
- annotation_pre: typing.List[typing.Callable[["bpy.types.Scene"], None]]
17
+ annotation_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
19
18
  """ on drawing an annotation (before)
20
19
  """
21
20
 
22
- composite_cancel: typing.List[typing.Callable[["bpy.types.Scene"], None]]
21
+ composite_cancel: typing.List[typing.Callable[[bpy.types.Scene, None]]]
23
22
  """ on a compositing background job (cancel)
24
23
  """
25
24
 
26
- composite_post: typing.List[typing.Callable[["bpy.types.Scene"], None]]
25
+ composite_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
27
26
  """ on a compositing background job (after)
28
27
  """
29
28
 
30
- composite_pre: typing.List[typing.Callable[["bpy.types.Scene"], None]]
29
+ composite_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
31
30
  """ on a compositing background job (before)
32
31
  """
33
32
 
34
- depsgraph_update_post: typing.List[typing.Callable[["bpy.types.Scene"], None]]
33
+ depsgraph_update_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
35
34
  """ on depsgraph update (post)
36
35
  """
37
36
 
38
- depsgraph_update_pre: typing.List[typing.Callable[["bpy.types.Scene"], None]]
37
+ depsgraph_update_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
39
38
  """ on depsgraph update (pre)
40
39
  """
41
40
 
42
- frame_change_post: typing.List[typing.Callable[["bpy.types.Scene"], None]]
41
+ frame_change_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
43
42
  """ Called after frame change for playback and rendering, after the data has been evaluated for the new frame.
44
43
  """
45
44
 
46
- frame_change_pre: typing.List[typing.Callable[["bpy.types.Scene"], None]]
47
- """ 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.
45
+ frame_change_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
46
+ """ 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.
48
47
  """
49
48
 
50
- load_factory_preferences_post: typing.List[typing.Callable[["bpy.types.Scene"], None]]
49
+ load_factory_preferences_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
51
50
  """ on loading factory preferences (after)
52
51
  """
53
52
 
54
- load_factory_startup_post: typing.List[typing.Callable[["bpy.types.Scene"], None]]
53
+ load_factory_startup_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
55
54
  """ on loading factory startup (after)
56
55
  """
57
56
 
58
- load_post: typing.List[typing.Callable[["bpy.types.Scene"], None]]
57
+ load_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
59
58
  """ on loading a new blend file (after). Accepts one argument: the file being loaded, an empty string for the startup-file.
60
59
  """
61
60
 
62
- load_post_fail: typing.List[typing.Callable[["bpy.types.Scene"], None]]
61
+ load_post_fail: typing.List[typing.Callable[[bpy.types.Scene, None]]]
63
62
  """ on failure to load a new blend file (after). Accepts one argument: the file being loaded, an empty string for the startup-file.
64
63
  """
65
64
 
66
- load_pre: typing.List[typing.Callable[["bpy.types.Scene"], None]]
65
+ load_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
67
66
  """ on loading a new blend file (before).Accepts one argument: the file being loaded, an empty string for the startup-file.
68
67
  """
69
68
 
70
- object_bake_cancel: typing.List[typing.Callable[["bpy.types.Scene"], None]]
69
+ object_bake_cancel: typing.List[typing.Callable[[bpy.types.Scene, None]]]
71
70
  """ on canceling a bake job; will be called in the main thread
72
71
  """
73
72
 
74
- object_bake_complete: typing.List[typing.Callable[["bpy.types.Scene"], None]]
73
+ object_bake_complete: typing.List[typing.Callable[[bpy.types.Scene, None]]]
75
74
  """ on completing a bake job; will be called in the main thread
76
75
  """
77
76
 
78
- object_bake_pre: typing.List[typing.Callable[["bpy.types.Scene"], None]]
77
+ object_bake_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
79
78
  """ before starting a bake job
80
79
  """
81
80
 
@@ -83,70 +82,70 @@ persistent: typing.Any
83
82
  """ Function decorator for callback functions not to be removed when loading new files
84
83
  """
85
84
 
86
- redo_post: typing.List[typing.Callable[["bpy.types.Scene"], None]]
85
+ redo_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
87
86
  """ on loading a redo step (after)
88
87
  """
89
88
 
90
- redo_pre: typing.List[typing.Callable[["bpy.types.Scene"], None]]
89
+ redo_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
91
90
  """ on loading a redo step (before)
92
91
  """
93
92
 
94
- render_cancel: typing.List[typing.Callable[["bpy.types.Scene"], None]]
93
+ render_cancel: typing.List[typing.Callable[[bpy.types.Scene, None]]]
95
94
  """ on canceling a render job
96
95
  """
97
96
 
98
- render_complete: typing.List[typing.Callable[["bpy.types.Scene"], None]]
97
+ render_complete: typing.List[typing.Callable[[bpy.types.Scene, None]]]
99
98
  """ on completion of render job
100
99
  """
101
100
 
102
- render_init: typing.List[typing.Callable[["bpy.types.Scene"], None]]
101
+ render_init: typing.List[typing.Callable[[bpy.types.Scene, None]]]
103
102
  """ on initialization of a render job
104
103
  """
105
104
 
106
- render_post: typing.List[typing.Callable[["bpy.types.Scene"], None]]
105
+ render_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
107
106
  """ on render (after)
108
107
  """
109
108
 
110
- render_pre: typing.List[typing.Callable[["bpy.types.Scene"], None]]
109
+ render_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
111
110
  """ on render (before)
112
111
  """
113
112
 
114
- render_stats: typing.List[typing.Callable[["bpy.types.Scene"], None]]
113
+ render_stats: typing.List[typing.Callable[[bpy.types.Scene, None]]]
115
114
  """ on printing render statistics
116
115
  """
117
116
 
118
- render_write: typing.List[typing.Callable[["bpy.types.Scene"], None]]
117
+ render_write: typing.List[typing.Callable[[bpy.types.Scene, None]]]
119
118
  """ on writing a render frame (directly after the frame is written)
120
119
  """
121
120
 
122
- save_post: typing.List[typing.Callable[["bpy.types.Scene"], None]]
121
+ save_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
123
122
  """ on saving a blend file (after). Accepts one argument: the file being saved, an empty string for the startup-file.
124
123
  """
125
124
 
126
- save_post_fail: typing.List[typing.Callable[["bpy.types.Scene"], None]]
125
+ save_post_fail: typing.List[typing.Callable[[bpy.types.Scene, None]]]
127
126
  """ on failure to save a blend file (after). Accepts one argument: the file being saved, an empty string for the startup-file.
128
127
  """
129
128
 
130
- save_pre: typing.List[typing.Callable[["bpy.types.Scene"], None]]
129
+ save_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
131
130
  """ on saving a blend file (before). Accepts one argument: the file being saved, an empty string for the startup-file.
132
131
  """
133
132
 
134
- translation_update_post: typing.List[typing.Callable[["bpy.types.Scene"], None]]
133
+ translation_update_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
135
134
  """ on translation settings update
136
135
  """
137
136
 
138
- undo_post: typing.List[typing.Callable[["bpy.types.Scene"], None]]
137
+ undo_post: typing.List[typing.Callable[[bpy.types.Scene, None]]]
139
138
  """ on loading an undo step (after)
140
139
  """
141
140
 
142
- undo_pre: typing.List[typing.Callable[["bpy.types.Scene"], None]]
141
+ undo_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
143
142
  """ on loading an undo step (before)
144
143
  """
145
144
 
146
- version_update: typing.List[typing.Callable[["bpy.types.Scene"], None]]
145
+ version_update: typing.List[typing.Callable[[bpy.types.Scene, None]]]
147
146
  """ on ending the versioning code
148
147
  """
149
148
 
150
- xr_session_start_pre: typing.List[typing.Callable[["bpy.types.Scene"], None]]
149
+ xr_session_start_pre: typing.List[typing.Callable[[bpy.types.Scene, None]]]
151
150
  """ on starting an xr session (before)
152
151
  """
@@ -1,34 +1,31 @@
1
- import sys
2
1
  import typing
3
2
 
4
3
  GenericType = typing.TypeVar("GenericType")
5
4
 
6
5
  def new_triangles(
7
- range: typing.Optional[typing.Tuple],
8
- coords: typing.Optional[typing.Sequence[bytes]],
9
- colors: typing.Optional[typing.Sequence[bytes]],
6
+ range: tuple, coords: typing.Sequence[bytes], colors: typing.Sequence[bytes]
10
7
  ) -> int:
11
8
  """Create a new icon from triangle geometry.
12
9
 
13
10
  :param range: Pair of ints.
14
- :type range: typing.Optional[typing.Tuple]
11
+ :type range: tuple
15
12
  :param coords: Sequence of bytes (6 floats for one triangle) for (X, Y) coordinates.
16
- :type coords: typing.Optional[typing.Sequence[bytes]]
13
+ :type coords: typing.Sequence[bytes]
17
14
  :param colors: Sequence of ints (12 for one triangles) for RGBA.
18
- :type colors: typing.Optional[typing.Sequence[bytes]]
15
+ :type colors: typing.Sequence[bytes]
16
+ :return: Unique icon value (pass to interface icon_value argument).
19
17
  :rtype: int
20
- :return: Unique icon value (pass to interface ``icon_value`` argument).
21
18
  """
22
19
 
23
20
  ...
24
21
 
25
- def new_triangles_from_file(filepath: typing.Optional[str]) -> int:
22
+ def new_triangles_from_file(filepath: str) -> int:
26
23
  """Create a new icon from triangle geometry.
27
24
 
28
25
  :param filepath: File path.
29
- :type filepath: typing.Optional[str]
26
+ :type filepath: str
27
+ :return: Unique icon value (pass to interface icon_value argument).
30
28
  :rtype: int
31
- :return: Unique icon value (pass to interface ``icon_value`` argument).
32
29
  """
33
30
 
34
31
  ...
@@ -1,41 +1,42 @@
1
- import sys
2
1
  import typing
3
2
 
4
3
  GenericType = typing.TypeVar("GenericType")
5
4
 
6
- def is_registered(function: typing.Optional[int]) -> bool:
5
+ def is_registered(function: int) -> bool:
7
6
  """Check if this function is registered as a timer.
8
7
 
9
8
  :param function: Function to check.
10
- :type function: typing.Optional[int]
11
- :rtype: bool
9
+ :type function: int
12
10
  :return: True when this function is registered, otherwise False.
11
+ :rtype: bool
13
12
  """
14
13
 
15
14
  ...
16
15
 
17
16
  def register(
18
- function: typing.Optional[typing.Callable],
19
- first_interval: typing.Optional[float] = 0,
20
- persistent: typing.Optional[bool] = False,
17
+ function: typing.Callable, first_interval: float = 0, persistent: bool = False
21
18
  ):
22
- """Add a new function that will be called after the specified amount of seconds. The function gets no arguments and is expected to return either None or a float. If ``None`` is returned, the timer will be unregistered. A returned number specifies the delay until the function is called again. ``functools.partial`` can be used to assign some parameters.
23
-
24
- :param function: The function that should called.
25
- :type function: typing.Optional[typing.Callable]
26
- :param first_interval: Seconds until the callback should be called the first time.
27
- :type first_interval: typing.Optional[float]
28
- :param persistent: Don't remove timer when a new file is loaded.
29
- :type persistent: typing.Optional[bool]
19
+ """Add a new function that will be called after the specified amount of seconds.
20
+ The function gets no arguments and is expected to return either None or a float.
21
+ If None is returned, the timer will be unregistered.
22
+ A returned number specifies the delay until the function is called again.
23
+ functools.partial can be used to assign some parameters.
24
+
25
+ :param function: The function that should called.
26
+ :type function: typing.Callable
27
+ :param first_interval: Seconds until the callback should be called the first time.
28
+ :type first_interval: float
29
+ :param persistent: Don't remove timer when a new file is loaded.
30
+ :type persistent: bool
30
31
  """
31
32
 
32
33
  ...
33
34
 
34
- def unregister(function: typing.Optional[typing.Any]):
35
+ def unregister(function: typing.Any):
35
36
  """Unregister timer.
36
37
 
37
38
  :param function: Function to unregister.
38
- :type function: typing.Optional[typing.Any]
39
+ :type function: typing.Any
39
40
  """
40
41
 
41
42
  ...
@@ -1,91 +1,93 @@
1
- import sys
2
1
  import typing
3
2
 
4
3
  GenericType = typing.TypeVar("GenericType")
5
4
 
6
- def locale_explode(locale: typing.Optional[typing.Any]):
7
- """Return all components and their combinations of the given ISO locale string. >>> bpy.app.translations.locale_explode("sr_RS@latin") ("sr", "RS", "latin", "sr_RS", "sr@latin") For non-complete locales, missing elements will be None.
5
+ def locale_explode(locale):
6
+ """Return all components and their combinations of the given ISO locale string.For non-complete locales, missing elements will be None.
8
7
 
9
- :type msgid: typing.Optional[str]
10
- :param locale: The ISO locale string to explode.
11
- :type locale: typing.Optional[typing.Any]
8
+ :param locale: The ISO locale string to explode.
9
+ :return: A tuple (language, country, variant, language_country, language@variant).
12
10
  """
13
11
 
14
12
  ...
15
13
 
16
- def pgettext(msgid: typing.Optional[str], msgctxt: typing.Optional[str] = None):
14
+ def pgettext(msgid: str, msgctxt: str = None):
17
15
  """Try to translate the given msgid (with optional msgctxt).
18
16
 
19
17
  :param msgid: The string to translate.
20
- :type msgid: typing.Optional[str]
18
+ :type msgid: str
21
19
  :param msgctxt: The translation context (defaults to BLT_I18NCONTEXT_DEFAULT).
22
- :type msgctxt: typing.Optional[str]
20
+ :type msgctxt: str
21
+ :return: The translated string (or msgid if no translation was found).
23
22
  """
24
23
 
25
24
  ...
26
25
 
27
- def pgettext_data(msgid: typing.Optional[str], msgctxt: typing.Optional[str] = None):
26
+ def pgettext_data(msgid: str, msgctxt: str = None):
28
27
  """Try to translate the given msgid (with optional msgctxt), if new data name's translation is enabled.
29
28
 
30
29
  :param msgid: The string to translate.
31
- :type msgid: typing.Optional[str]
30
+ :type msgid: str
32
31
  :param msgctxt: The translation context (defaults to BLT_I18NCONTEXT_DEFAULT).
33
- :type msgctxt: typing.Optional[str]
32
+ :type msgctxt: str
33
+ :return: The translated string (or msgid if no translation was found).
34
34
  """
35
35
 
36
36
  ...
37
37
 
38
- def pgettext_iface(msgid: typing.Optional[str], msgctxt: typing.Optional[str] = None):
38
+ def pgettext_iface(msgid: str, msgctxt: str = None):
39
39
  """Try to translate the given msgid (with optional msgctxt), if labels' translation is enabled.
40
40
 
41
41
  :param msgid: The string to translate.
42
- :type msgid: typing.Optional[str]
42
+ :type msgid: str
43
43
  :param msgctxt: The translation context (defaults to BLT_I18NCONTEXT_DEFAULT).
44
- :type msgctxt: typing.Optional[str]
44
+ :type msgctxt: str
45
+ :return: The translated string (or msgid if no translation was found).
45
46
  """
46
47
 
47
48
  ...
48
49
 
49
- def pgettext_rpt(msgid: typing.Optional[str], msgctxt: typing.Optional[str] = None):
50
+ def pgettext_rpt(msgid: str, msgctxt: str = None):
50
51
  """Try to translate the given msgid (with optional msgctxt), if reports' translation is enabled.
51
52
 
52
53
  :param msgid: The string to translate.
53
- :type msgid: typing.Optional[str]
54
+ :type msgid: str
54
55
  :param msgctxt: The translation context (defaults to BLT_I18NCONTEXT_DEFAULT).
55
- :type msgctxt: typing.Optional[str]
56
+ :type msgctxt: str
57
+ :return: The translated string (or msgid if no translation was found).
56
58
  """
57
59
 
58
60
  ...
59
61
 
60
- def pgettext_tip(msgid: typing.Optional[str], msgctxt: typing.Optional[str] = None):
62
+ def pgettext_tip(msgid: str, msgctxt: str = None):
61
63
  """Try to translate the given msgid (with optional msgctxt), if tooltips' translation is enabled.
62
64
 
63
65
  :param msgid: The string to translate.
64
- :type msgid: typing.Optional[str]
66
+ :type msgid: str
65
67
  :param msgctxt: The translation context (defaults to BLT_I18NCONTEXT_DEFAULT).
66
- :type msgctxt: typing.Optional[str]
68
+ :type msgctxt: str
69
+ :return: The translated string (or msgid if no translation was found).
67
70
  """
68
71
 
69
72
  ...
70
73
 
71
- def register(
72
- module_name: typing.Optional[str], translations_dict: typing.Optional[typing.Dict]
73
- ):
74
+ def register(module_name: str, translations_dict: dict):
74
75
  """Registers an addon's UI translations.
75
76
 
76
- :param module_name: The name identifying the addon.
77
- :type module_name: typing.Optional[str]
78
- :param translations_dict: ``{locale: {msg_key: msg_translation, ...}, ...}``
79
- :type translations_dict: typing.Optional[typing.Dict]
77
+ :param module_name: The name identifying the addon.
78
+ :type module_name: str
79
+ :param translations_dict: A dictionary built like that:
80
+ {locale: {msg_key: msg_translation, ...}, ...}
81
+ :type translations_dict: dict
80
82
  """
81
83
 
82
84
  ...
83
85
 
84
- def unregister(module_name: typing.Optional[str]):
86
+ def unregister(module_name: str):
85
87
  """Unregisters an addon's UI translations.
86
88
 
87
89
  :param module_name: The name identifying the addon.
88
- :type module_name: typing.Optional[str]
90
+ :type module_name: str
89
91
  """
90
92
 
91
93
  ...
bpy/msgbus/__init__.pyi CHANGED
@@ -1,4 +1,3 @@
1
- import sys
2
1
  import typing
3
2
 
4
3
  GenericType = typing.TypeVar("GenericType")
@@ -8,30 +7,36 @@ def clear_by_owner(owner):
8
7
 
9
8
  ...
10
9
 
11
- def publish_rna(key: typing.Optional[typing.Any]):
12
- """Notify subscribers of changes to this property (this typically doesn't need to be called explicitly since changes will automatically publish updates). In some cases it may be useful to publish changes explicitly using more general keys.
10
+ def publish_rna(key):
11
+ """Notify subscribers of changes to this property
12
+ (this typically doesn't need to be called explicitly since changes will automatically publish updates).
13
+ In some cases it may be useful to publish changes explicitly using more general keys.
13
14
 
14
- :param key: Represents the type of data being subscribed to Arguments include - `bpy.types.Property` instance. - `bpy.types.Struct` type. - (`bpy.types.Struct`, str) type and property name.
15
- :type key: typing.Optional[typing.Any]
15
+ :param key: Represents the type of data being subscribed to
16
+
17
+ Arguments include
18
+ - `bpy.types.Property` instance.
19
+ - `bpy.types.Struct` type.
20
+ - (`bpy.types.Struct`, str) type and property name.
16
21
  """
17
22
 
18
23
  ...
19
24
 
20
- def subscribe_rna(
21
- key: typing.Optional[typing.Any],
22
- owner: typing.Optional[typing.Any],
23
- args,
24
- notify,
25
- options: typing.Optional[typing.Set] = "set()",
26
- ):
27
- """Register a message bus subscription. It will be cleared when another blend file is loaded, or can be cleared explicitly via :func:`bpy.msgbus.clear_by_owner`.
28
-
29
- :param key: Represents the type of data being subscribed to Arguments include - `bpy.types.Property` instance. - `bpy.types.Struct` type. - (`bpy.types.Struct`, str) type and property name.
30
- :type key: typing.Optional[typing.Any]
31
- :param owner: Handle for this subscription (compared by identity).
32
- :type owner: typing.Optional[typing.Any]
33
- :param options: Change the behavior of the subscriber. - ``PERSISTENT`` when set, the subscriber will be kept when remapping ID data.
34
- :type options: typing.Optional[typing.Set]
25
+ def subscribe_rna(key, owner: typing.Any, args, notify, options=None()):
26
+ """Register a message bus subscription. It will be cleared when another blend file is
27
+ loaded, or can be cleared explicitly via `bpy.msgbus.clear_by_owner`.
28
+
29
+ :param key: Represents the type of data being subscribed to
30
+
31
+ Arguments include
32
+ - `bpy.types.Property` instance.
33
+ - `bpy.types.Struct` type.
34
+ - (`bpy.types.Struct`, str) type and property name.
35
+ :param owner: Handle for this subscription (compared by identity).
36
+ :type owner: typing.Any
37
+ :param options: Change the behavior of the subscriber.
38
+
39
+ PERSISTENT when set, the subscriber will be kept when remapping ID data.
35
40
  """
36
41
 
37
42
  ...
bpy/ops/__init__.pyi CHANGED
@@ -1,81 +1,80 @@
1
- import sys
2
1
  import typing
3
- from . import buttons
4
- from . import file
5
- from . import material
6
- from . import ed
7
- from . import fluid
8
- from . import curve
2
+ from . import action
3
+ from . import anim
9
4
  from . import armature
10
- from . import cachefile
11
- from . import gpencil
12
- from . import uilist
13
- from . import object
14
- from . import node
15
- from . import grease_pencil
16
- from . import sound
17
- from . import font
18
- from . import uv
19
- from . import texture
20
- from . import ui
21
- from . import mesh
22
- from . import script
5
+ from . import asset
23
6
  from . import boid
24
- from . import view2d
25
- from . import graph
26
- from . import lattice
27
- from . import sequencer
28
- from . import collection
29
- from . import import_curve
7
+ from . import brush
8
+ from . import buttons
9
+ from . import cachefile
10
+ from . import camera
30
11
  from . import clip
31
- from . import export_mesh
32
- from . import screen
33
- from . import render
34
- from . import outliner
35
- from . import spreadsheet
36
- from . import particle
37
- from . import action
38
- from . import asset
39
- from . import mball
12
+ from . import cloth
13
+ from . import collection
14
+ from . import console
15
+ from . import constraint
16
+ from . import curve
17
+ from . import curves
18
+ from . import cycles
40
19
  from . import dpaint
41
- from . import transform
42
- from . import anim
43
- from . import poselib
44
- from . import surface
45
- from . import sculpt_curves
20
+ from . import ed
21
+ from . import export_anim
22
+ from . import export_mesh
23
+ from . import export_scene
24
+ from . import file
25
+ from . import fluid
26
+ from . import font
46
27
  from . import geometry
47
- from . import wm
48
28
  from . import gizmogroup
49
- from . import nla
29
+ from . import gpencil
30
+ from . import graph
31
+ from . import grease_pencil
32
+ from . import image
33
+ from . import import_anim
34
+ from . import import_curve
50
35
  from . import import_mesh
51
- from . import sculpt
52
- from . import brush
36
+ from . import import_scene
53
37
  from . import info
38
+ from . import lattice
39
+ from . import marker
40
+ from . import mask
41
+ from . import material
42
+ from . import mball
43
+ from . import mesh
44
+ from . import nla
45
+ from . import node
46
+ from . import object
47
+ from . import outliner
48
+ from . import paint
54
49
  from . import paintcurve
50
+ from . import palette
51
+ from . import particle
52
+ from . import pose
53
+ from . import poselib
54
+ from . import preferences
55
+ from . import ptcache
56
+ from . import render
55
57
  from . import rigidbody
56
- from . import workspace
57
- from . import marker
58
+ from . import scene
59
+ from . import screen
60
+ from . import script
61
+ from . import sculpt
62
+ from . import sculpt_curves
63
+ from . import sequencer
64
+ from . import sound
65
+ from . import spreadsheet
66
+ from . import surface
58
67
  from . import text
59
68
  from . import text_editor
60
- from . import import_anim
61
- from . import pose
62
- from . import export_anim
63
- from . import import_scene
64
- from . import camera
65
- from . import console
66
- from . import curves
69
+ from . import texture
70
+ from . import transform
71
+ from . import ui
72
+ from . import uilist
73
+ from . import uv
74
+ from . import view2d
67
75
  from . import view3d
68
- from . import cloth
69
- from . import preferences
70
- from . import constraint
71
- from . import paint
76
+ from . import wm
77
+ from . import workspace
72
78
  from . import world
73
- from . import export_scene
74
- from . import scene
75
- from . import mask
76
- from . import image
77
- from . import cycles
78
- from . import palette
79
- from . import ptcache
80
79
 
81
80
  GenericType = typing.TypeVar("GenericType")