fake-bpy-module 20240518__py3-none-any.whl → 20240520__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (312) hide show
  1. _bpy_internal/__init__.pyi +3 -1
  2. _bpy_internal/freedesktop/__init__.pyi +3 -1
  3. addon_utils/__init__.pyi +3 -1
  4. animsys_refactor/__init__.pyi +3 -1
  5. aud/__init__.pyi +3 -1
  6. bgl/__init__.pyi +121 -146
  7. bl_app_override/__init__.pyi +3 -1
  8. bl_app_override/helpers/__init__.pyi +3 -1
  9. bl_app_template_utils/__init__.pyi +3 -1
  10. bl_console_utils/__init__.pyi +3 -1
  11. bl_console_utils/autocomplete/__init__.pyi +3 -1
  12. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -1
  13. bl_console_utils/autocomplete/complete_import/__init__.pyi +3 -1
  14. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +3 -1
  15. bl_console_utils/autocomplete/intellisense/__init__.pyi +3 -1
  16. bl_i18n_utils/__init__.pyi +3 -1
  17. bl_i18n_utils/bl_extract_messages/__init__.pyi +3 -1
  18. bl_i18n_utils/merge_po/__init__.pyi +3 -1
  19. bl_i18n_utils/settings/__init__.pyi +3 -1
  20. bl_i18n_utils/utils/__init__.pyi +3 -1
  21. bl_i18n_utils/utils_cli/__init__.pyi +3 -1
  22. bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -1
  23. bl_i18n_utils/utils_rtl/__init__.pyi +3 -1
  24. bl_keymap_utils/__init__.pyi +3 -1
  25. bl_keymap_utils/io/__init__.pyi +3 -1
  26. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +3 -1
  27. bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -1
  28. bl_keymap_utils/platform_helpers/__init__.pyi +3 -1
  29. bl_keymap_utils/versioning/__init__.pyi +3 -1
  30. bl_math/__init__.pyi +3 -1
  31. bl_operators/__init__.pyi +3 -1
  32. bl_operators/add_mesh_torus/__init__.pyi +3 -1
  33. bl_operators/anim/__init__.pyi +3 -1
  34. bl_operators/assets/__init__.pyi +3 -1
  35. bl_operators/bmesh/__init__.pyi +3 -1
  36. bl_operators/bmesh/find_adjacent/__init__.pyi +3 -1
  37. bl_operators/clip/__init__.pyi +3 -1
  38. bl_operators/console/__init__.pyi +3 -1
  39. bl_operators/constraint/__init__.pyi +3 -1
  40. bl_operators/file/__init__.pyi +3 -1
  41. bl_operators/freestyle/__init__.pyi +3 -1
  42. bl_operators/geometry_nodes/__init__.pyi +3 -1
  43. bl_operators/image/__init__.pyi +3 -1
  44. bl_operators/mesh/__init__.pyi +3 -1
  45. bl_operators/node/__init__.pyi +3 -1
  46. bl_operators/object/__init__.pyi +3 -1
  47. bl_operators/object_align/__init__.pyi +3 -1
  48. bl_operators/object_quick_effects/__init__.pyi +3 -1
  49. bl_operators/object_randomize_transform/__init__.pyi +3 -1
  50. bl_operators/presets/__init__.pyi +3 -1
  51. bl_operators/rigidbody/__init__.pyi +3 -1
  52. bl_operators/screen_play_rendered_anim/__init__.pyi +3 -1
  53. bl_operators/sequencer/__init__.pyi +3 -1
  54. bl_operators/spreadsheet/__init__.pyi +3 -1
  55. bl_operators/userpref/__init__.pyi +3 -1
  56. bl_operators/uvcalc_follow_active/__init__.pyi +3 -1
  57. bl_operators/uvcalc_lightmap/__init__.pyi +3 -1
  58. bl_operators/uvcalc_transform/__init__.pyi +3 -1
  59. bl_operators/vertexpaint_dirt/__init__.pyi +3 -1
  60. bl_operators/view3d/__init__.pyi +3 -1
  61. bl_operators/wm/__init__.pyi +3 -1
  62. bl_operators/world/__init__.pyi +3 -1
  63. bl_previews_utils/__init__.pyi +3 -1
  64. bl_previews_utils/bl_previews_render/__init__.pyi +3 -1
  65. bl_rna_utils/__init__.pyi +3 -1
  66. bl_rna_utils/data_path/__init__.pyi +3 -1
  67. bl_text_utils/__init__.pyi +3 -1
  68. bl_text_utils/external_editor/__init__.pyi +3 -1
  69. bl_ui/__init__.pyi +3 -1
  70. bl_ui/anim/__init__.pyi +3 -1
  71. bl_ui/asset_shelf/__init__.pyi +3 -1
  72. bl_ui/generic_ui_list/__init__.pyi +3 -1
  73. bl_ui/node_add_menu/__init__.pyi +3 -1
  74. bl_ui/node_add_menu_compositor/__init__.pyi +3 -1
  75. bl_ui/node_add_menu_geometry/__init__.pyi +3 -1
  76. bl_ui/node_add_menu_shader/__init__.pyi +3 -1
  77. bl_ui/node_add_menu_texture/__init__.pyi +3 -1
  78. bl_ui/properties_animviz/__init__.pyi +3 -1
  79. bl_ui/properties_collection/__init__.pyi +3 -1
  80. bl_ui/properties_constraint/__init__.pyi +3 -1
  81. bl_ui/properties_data_armature/__init__.pyi +3 -1
  82. bl_ui/properties_data_bone/__init__.pyi +3 -1
  83. bl_ui/properties_data_camera/__init__.pyi +3 -1
  84. bl_ui/properties_data_curve/__init__.pyi +3 -1
  85. bl_ui/properties_data_curves/__init__.pyi +3 -1
  86. bl_ui/properties_data_empty/__init__.pyi +3 -1
  87. bl_ui/properties_data_gpencil/__init__.pyi +3 -1
  88. bl_ui/properties_data_grease_pencil/__init__.pyi +3 -1
  89. bl_ui/properties_data_lattice/__init__.pyi +3 -1
  90. bl_ui/properties_data_light/__init__.pyi +3 -1
  91. bl_ui/properties_data_lightprobe/__init__.pyi +3 -1
  92. bl_ui/properties_data_mesh/__init__.pyi +3 -1
  93. bl_ui/properties_data_metaball/__init__.pyi +3 -1
  94. bl_ui/properties_data_modifier/__init__.pyi +3 -1
  95. bl_ui/properties_data_pointcloud/__init__.pyi +3 -1
  96. bl_ui/properties_data_shaderfx/__init__.pyi +3 -1
  97. bl_ui/properties_data_speaker/__init__.pyi +3 -1
  98. bl_ui/properties_data_volume/__init__.pyi +3 -1
  99. bl_ui/properties_freestyle/__init__.pyi +3 -1
  100. bl_ui/properties_grease_pencil_common/__init__.pyi +3 -1
  101. bl_ui/properties_mask_common/__init__.pyi +3 -1
  102. bl_ui/properties_material/__init__.pyi +3 -1
  103. bl_ui/properties_material_gpencil/__init__.pyi +3 -1
  104. bl_ui/properties_object/__init__.pyi +3 -1
  105. bl_ui/properties_output/__init__.pyi +3 -1
  106. bl_ui/properties_paint_common/__init__.pyi +3 -1
  107. bl_ui/properties_particle/__init__.pyi +3 -1
  108. bl_ui/properties_physics_cloth/__init__.pyi +3 -1
  109. bl_ui/properties_physics_common/__init__.pyi +3 -1
  110. bl_ui/properties_physics_dynamicpaint/__init__.pyi +3 -1
  111. bl_ui/properties_physics_field/__init__.pyi +3 -1
  112. bl_ui/properties_physics_fluid/__init__.pyi +3 -1
  113. bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -1
  114. bl_ui/properties_physics_rigidbody/__init__.pyi +3 -1
  115. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +3 -1
  116. bl_ui/properties_physics_softbody/__init__.pyi +3 -1
  117. bl_ui/properties_render/__init__.pyi +3 -1
  118. bl_ui/properties_scene/__init__.pyi +3 -1
  119. bl_ui/properties_texture/__init__.pyi +3 -1
  120. bl_ui/properties_view_layer/__init__.pyi +3 -1
  121. bl_ui/properties_workspace/__init__.pyi +3 -1
  122. bl_ui/properties_world/__init__.pyi +3 -1
  123. bl_ui/space_clip/__init__.pyi +3 -1
  124. bl_ui/space_console/__init__.pyi +3 -1
  125. bl_ui/space_dopesheet/__init__.pyi +3 -1
  126. bl_ui/space_filebrowser/__init__.pyi +3 -1
  127. bl_ui/space_graph/__init__.pyi +3 -1
  128. bl_ui/space_image/__init__.pyi +3 -1
  129. bl_ui/space_info/__init__.pyi +3 -1
  130. bl_ui/space_nla/__init__.pyi +3 -1
  131. bl_ui/space_node/__init__.pyi +3 -1
  132. bl_ui/space_outliner/__init__.pyi +3 -1
  133. bl_ui/space_properties/__init__.pyi +3 -1
  134. bl_ui/space_sequencer/__init__.pyi +3 -1
  135. bl_ui/space_spreadsheet/__init__.pyi +3 -1
  136. bl_ui/space_statusbar/__init__.pyi +3 -1
  137. bl_ui/space_text/__init__.pyi +3 -1
  138. bl_ui/space_time/__init__.pyi +3 -1
  139. bl_ui/space_toolsystem_common/__init__.pyi +3 -1
  140. bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -1
  141. bl_ui/space_topbar/__init__.pyi +3 -1
  142. bl_ui/space_userpref/__init__.pyi +3 -1
  143. bl_ui/space_view3d/__init__.pyi +3 -1
  144. bl_ui/space_view3d_toolbar/__init__.pyi +3 -1
  145. bl_ui/temp_anim_layers/__init__.pyi +3 -1
  146. bl_ui/utils/__init__.pyi +3 -1
  147. bl_ui_utils/__init__.pyi +3 -1
  148. bl_ui_utils/bug_report_url/__init__.pyi +3 -1
  149. bl_ui_utils/layout/__init__.pyi +3 -1
  150. blend_render_info/__init__.pyi +3 -1
  151. blf/__init__.pyi +3 -1
  152. bmesh/__init__.pyi +3 -1
  153. bmesh/geometry/__init__.pyi +3 -1
  154. bmesh/ops/__init__.pyi +39 -37
  155. bmesh/types/__init__.pyi +31 -28
  156. bmesh/utils/__init__.pyi +3 -1
  157. bpy/__init__.pyi +3 -1
  158. bpy/app/__init__.pyi +3 -1
  159. bpy/app/handlers/__init__.pyi +3 -1
  160. bpy/app/icons/__init__.pyi +3 -1
  161. bpy/app/timers/__init__.pyi +9 -15
  162. bpy/app/translations/__init__.pyi +3 -1
  163. bpy/msgbus/__init__.pyi +3 -1
  164. bpy/ops/__init__.pyi +3 -1
  165. bpy/ops/action/__init__.pyi +35 -33
  166. bpy/ops/anim/__init__.pyi +33 -31
  167. bpy/ops/armature/__init__.pyi +23 -21
  168. bpy/ops/asset/__init__.pyi +9 -7
  169. bpy/ops/bl_pkg/__init__.pyi +5 -3
  170. bpy/ops/boid/__init__.pyi +5 -3
  171. bpy/ops/brush/__init__.pyi +11 -9
  172. bpy/ops/buttons/__init__.pyi +11 -9
  173. bpy/ops/cachefile/__init__.pyi +13 -11
  174. bpy/ops/camera/__init__.pyi +3 -1
  175. bpy/ops/clip/__init__.pyi +41 -39
  176. bpy/ops/cloth/__init__.pyi +3 -1
  177. bpy/ops/collection/__init__.pyi +9 -7
  178. bpy/ops/console/__init__.pyi +9 -7
  179. bpy/ops/constraint/__init__.pyi +31 -29
  180. bpy/ops/curve/__init__.pyi +37 -35
  181. bpy/ops/curves/__init__.pyi +19 -17
  182. bpy/ops/cycles/__init__.pyi +3 -1
  183. bpy/ops/dpaint/__init__.pyi +7 -5
  184. bpy/ops/ed/__init__.pyi +7 -5
  185. bpy/ops/export_anim/__init__.pyi +5 -3
  186. bpy/ops/export_scene/__init__.pyi +41 -39
  187. bpy/ops/file/__init__.pyi +21 -19
  188. bpy/ops/fluid/__init__.pyi +3 -1
  189. bpy/ops/font/__init__.pyi +23 -21
  190. bpy/ops/geometry/__init__.pyi +23 -21
  191. bpy/ops/gizmogroup/__init__.pyi +3 -1
  192. bpy/ops/gpencil/__init__.pyi +135 -133
  193. bpy/ops/graph/__init__.pyi +57 -55
  194. bpy/ops/grease_pencil/__init__.pyi +45 -43
  195. bpy/ops/image/__init__.pyi +31 -29
  196. bpy/ops/import_anim/__init__.pyi +11 -9
  197. bpy/ops/import_curve/__init__.pyi +3 -1
  198. bpy/ops/import_scene/__init__.pyi +21 -19
  199. bpy/ops/info/__init__.pyi +7 -5
  200. bpy/ops/lattice/__init__.pyi +9 -7
  201. bpy/ops/marker/__init__.pyi +11 -9
  202. bpy/ops/mask/__init__.pyi +15 -13
  203. bpy/ops/material/__init__.pyi +3 -1
  204. bpy/ops/mball/__init__.pyi +9 -7
  205. bpy/ops/mesh/__init__.pyi +147 -145
  206. bpy/ops/nla/__init__.pyi +19 -17
  207. bpy/ops/node/__init__.pyi +35 -33
  208. bpy/ops/object/__init__.pyi +255 -253
  209. bpy/ops/outliner/__init__.pyi +43 -41
  210. bpy/ops/paint/__init__.pyi +75 -73
  211. bpy/ops/paintcurve/__init__.pyi +3 -1
  212. bpy/ops/palette/__init__.pyi +7 -5
  213. bpy/ops/particle/__init__.pyi +17 -15
  214. bpy/ops/pose/__init__.pyi +45 -43
  215. bpy/ops/poselib/__init__.pyi +3 -1
  216. bpy/ops/preferences/__init__.pyi +15 -13
  217. bpy/ops/ptcache/__init__.pyi +3 -1
  218. bpy/ops/render/__init__.pyi +5 -3
  219. bpy/ops/rigidbody/__init__.pyi +19 -17
  220. bpy/ops/scene/__init__.pyi +27 -25
  221. bpy/ops/screen/__init__.pyi +23 -21
  222. bpy/ops/script/__init__.pyi +3 -1
  223. bpy/ops/sculpt/__init__.pyi +69 -67
  224. bpy/ops/sculpt_curves/__init__.pyi +5 -3
  225. bpy/ops/sequencer/__init__.pyi +77 -75
  226. bpy/ops/sound/__init__.pyi +23 -21
  227. bpy/ops/spreadsheet/__init__.pyi +3 -1
  228. bpy/ops/surface/__init__.pyi +15 -13
  229. bpy/ops/text/__init__.pyi +25 -23
  230. bpy/ops/text_editor/__init__.pyi +3 -1
  231. bpy/ops/texture/__init__.pyi +5 -3
  232. bpy/ops/transform/__init__.pyi +91 -89
  233. bpy/ops/ui/__init__.pyi +9 -7
  234. bpy/ops/uilist/__init__.pyi +5 -3
  235. bpy/ops/uv/__init__.pyi +69 -67
  236. bpy/ops/view2d/__init__.pyi +3 -1
  237. bpy/ops/view3d/__init__.pyi +37 -35
  238. bpy/ops/wm/__init__.pyi +199 -197
  239. bpy/ops/workspace/__init__.pyi +3 -1
  240. bpy/ops/world/__init__.pyi +3 -1
  241. bpy/path/__init__.pyi +3 -1
  242. bpy/props/__init__.pyi +3 -1
  243. bpy/types/__init__.pyi +3448 -3370
  244. bpy/utils/__init__.pyi +3 -1
  245. bpy/utils/previews/__init__.pyi +3 -1
  246. bpy/utils/units/__init__.pyi +3 -1
  247. bpy_extras/__init__.pyi +3 -1
  248. bpy_extras/anim_utils/__init__.pyi +3 -1
  249. bpy_extras/asset_utils/__init__.pyi +3 -1
  250. bpy_extras/bmesh_utils/__init__.pyi +3 -1
  251. bpy_extras/extensions/__init__.pyi +3 -1
  252. bpy_extras/extensions/junction_module/__init__.pyi +3 -1
  253. bpy_extras/id_map_utils/__init__.pyi +3 -1
  254. bpy_extras/image_utils/__init__.pyi +3 -1
  255. bpy_extras/io_utils/__init__.pyi +3 -1
  256. bpy_extras/keyconfig_utils/__init__.pyi +3 -1
  257. bpy_extras/mesh_utils/__init__.pyi +3 -1
  258. bpy_extras/node_shader_utils/__init__.pyi +3 -1
  259. bpy_extras/node_utils/__init__.pyi +3 -1
  260. bpy_extras/object_utils/__init__.pyi +3 -1
  261. bpy_extras/view3d_utils/__init__.pyi +3 -1
  262. bpy_extras/wm_utils/__init__.pyi +3 -1
  263. bpy_extras/wm_utils/progress_report/__init__.pyi +3 -1
  264. bpy_restrict_state/__init__.pyi +3 -1
  265. bpy_types/__init__.pyi +3 -1
  266. console_python/__init__.pyi +3 -1
  267. console_shell/__init__.pyi +3 -1
  268. {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/METADATA +1 -1
  269. fake_bpy_module-20240520.dist-info/RECORD +353 -0
  270. freestyle/__init__.pyi +3 -1
  271. freestyle/chainingiterators/__init__.pyi +3 -1
  272. freestyle/functions/__init__.pyi +3 -1
  273. freestyle/predicates/__init__.pyi +3 -1
  274. freestyle/shaders/__init__.pyi +3 -1
  275. freestyle/types/__init__.pyi +3 -1
  276. freestyle/utils/ContextFunctions/__init__.pyi +3 -1
  277. freestyle/utils/__init__.pyi +3 -1
  278. gpu/__init__.pyi +3 -1
  279. gpu/capabilities/__init__.pyi +3 -1
  280. gpu/matrix/__init__.pyi +3 -1
  281. gpu/platform/__init__.pyi +3 -1
  282. gpu/select/__init__.pyi +3 -1
  283. gpu/shader/__init__.pyi +3 -1
  284. gpu/state/__init__.pyi +3 -1
  285. gpu/texture/__init__.pyi +3 -1
  286. gpu/types/__init__.pyi +3 -1
  287. gpu_extras/__init__.pyi +3 -1
  288. gpu_extras/batch/__init__.pyi +3 -1
  289. gpu_extras/presets/__init__.pyi +3 -1
  290. graphviz_export/__init__.pyi +3 -1
  291. idprop/__init__.pyi +3 -1
  292. idprop/types/__init__.pyi +3 -1
  293. imbuf/__init__.pyi +3 -1
  294. imbuf/types/__init__.pyi +3 -1
  295. keyingsets_builtins/__init__.pyi +3 -1
  296. keyingsets_utils/__init__.pyi +3 -1
  297. mathutils/__init__.pyi +5 -2
  298. mathutils/bvhtree/__init__.pyi +3 -1
  299. mathutils/geometry/__init__.pyi +3 -1
  300. mathutils/interpolate/__init__.pyi +3 -1
  301. mathutils/kdtree/__init__.pyi +3 -1
  302. mathutils/noise/__init__.pyi +3 -1
  303. nodeitems_builtins/__init__.pyi +3 -1
  304. nodeitems_utils/__init__.pyi +3 -1
  305. rna_info/__init__.pyi +3 -1
  306. rna_keymap_ui/__init__.pyi +3 -1
  307. rna_prop_ui/__init__.pyi +3 -1
  308. rna_xml/__init__.pyi +3 -1
  309. sys_info/__init__.pyi +3 -1
  310. fake_bpy_module-20240518.dist-info/RECORD +0 -353
  311. {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/WHEEL +0 -0
  312. {fake_bpy_module-20240518.dist-info → fake_bpy_module-20240520.dist-info}/top_level.txt +0 -0
bpy/ops/nla/__init__.pyi CHANGED
@@ -1,8 +1,10 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.ops.transform
3
4
  import bpy.types
4
5
 
5
- GenericType = typing.TypeVar("GenericType")
6
+ GenericType1 = typing.TypeVar("GenericType1")
7
+ GenericType2 = typing.TypeVar("GenericType2")
6
8
 
7
9
  def action_pushdown(
8
10
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -59,7 +61,7 @@ def actionclip_add(
59
61
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
60
62
  execution_context: str | int | None = None,
61
63
  undo: bool | None = None,
62
- action: str | int | typing.Any | None = "",
64
+ action: str | None = "",
63
65
  ):
64
66
  """Add an Action-Clip strip (i.e. an NLA Strip referencing an Action) to the active track
65
67
 
@@ -67,7 +69,7 @@ def actionclip_add(
67
69
  :type execution_context: str | int | None
68
70
  :type undo: bool | None
69
71
  :param action: Action
70
- :type action: str | int | typing.Any | None
72
+ :type action: str | None
71
73
  """
72
74
 
73
75
  ...
@@ -99,8 +101,8 @@ def bake(
99
101
  clear_parents: bool | typing.Any | None = False,
100
102
  use_current_action: bool | typing.Any | None = False,
101
103
  clean_curves: bool | typing.Any | None = False,
102
- bake_types: typing.Any | None = {"POSE"},
103
- channel_types: typing.Any | None = {
104
+ bake_types: set[str] | None = {"POSE"},
105
+ channel_types: set[str] | None = {
104
106
  "BBONE",
105
107
  "LOCATION",
106
108
  "PROPS",
@@ -138,7 +140,7 @@ def bake(
138
140
 
139
141
  OBJECT
140
142
  Object -- Bake object transformations.
141
- :type bake_types: typing.Any | None
143
+ :type bake_types: set[str] | None
142
144
  :param channel_types: Channels, Which channels to bake
143
145
 
144
146
  LOCATION
@@ -155,7 +157,7 @@ def bake(
155
157
 
156
158
  PROPS
157
159
  Custom Properties -- Bake custom properties.
158
- :type channel_types: typing.Any | None
160
+ :type channel_types: set[str] | None
159
161
  """
160
162
 
161
163
  ...
@@ -295,7 +297,7 @@ def fmodifier_add(
295
297
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
296
298
  execution_context: str | int | None = None,
297
299
  undo: bool | None = None,
298
- type: str | int | None = "NULL",
300
+ type: str | None = "NULL",
299
301
  only_active: bool | typing.Any | None = True,
300
302
  ):
301
303
  """Add F-Modifier to the active/selected NLA-Strips
@@ -304,7 +306,7 @@ def fmodifier_add(
304
306
  :type execution_context: str | int | None
305
307
  :type undo: bool | None
306
308
  :param type: Type
307
- :type type: str | int | None
309
+ :type type: str | None
308
310
  :param only_active: Only Active, Only add a F-Modifier of the specified type to the active strip
309
311
  :type only_active: bool | typing.Any | None
310
312
  """
@@ -450,7 +452,7 @@ def select_all(
450
452
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
451
453
  execution_context: str | int | None = None,
452
454
  undo: bool | None = None,
453
- action: typing.Any | None = "TOGGLE",
455
+ action: str | None = "TOGGLE",
454
456
  ):
455
457
  """Select or deselect all NLA-Strips
456
458
 
@@ -470,7 +472,7 @@ def select_all(
470
472
 
471
473
  INVERT
472
474
  Invert -- Invert selection of all elements.
473
- :type action: typing.Any | None
475
+ :type action: str | None
474
476
  """
475
477
 
476
478
  ...
@@ -486,7 +488,7 @@ def select_box(
486
488
  ymin: typing.Any | None = 0,
487
489
  ymax: typing.Any | None = 0,
488
490
  wait_for_input: bool | typing.Any | None = True,
489
- mode: typing.Any | None = "SET",
491
+ mode: str | None = "SET",
490
492
  ):
491
493
  """Use box selection to grab NLA-Strips
492
494
 
@@ -517,7 +519,7 @@ def select_box(
517
519
 
518
520
  SUB
519
521
  Subtract -- Subtract existing selection.
520
- :type mode: typing.Any | None
522
+ :type mode: str | None
521
523
  """
522
524
 
523
525
  ...
@@ -526,7 +528,7 @@ def select_leftright(
526
528
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
527
529
  execution_context: str | int | None = None,
528
530
  undo: bool | None = None,
529
- mode: typing.Any | None = "CHECK",
531
+ mode: str | None = "CHECK",
530
532
  extend: bool | typing.Any | None = False,
531
533
  ):
532
534
  """Select strips to the left or the right of the current frame
@@ -535,7 +537,7 @@ def select_leftright(
535
537
  :type execution_context: str | int | None
536
538
  :type undo: bool | None
537
539
  :param mode: Mode
538
- :type mode: typing.Any | None
540
+ :type mode: str | None
539
541
  :param extend: Extend Select
540
542
  :type extend: bool | typing.Any | None
541
543
  """
@@ -560,7 +562,7 @@ def snap(
560
562
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
561
563
  execution_context: str | int | None = None,
562
564
  undo: bool | None = None,
563
- type: typing.Any | None = "CFRA",
565
+ type: str | None = "CFRA",
564
566
  ):
565
567
  """Move start of strips to specified time
566
568
 
@@ -568,7 +570,7 @@ def snap(
568
570
  :type execution_context: str | int | None
569
571
  :type undo: bool | None
570
572
  :param type: Type
571
- :type type: typing.Any | None
573
+ :type type: str | None
572
574
  """
573
575
 
574
576
  ...
bpy/ops/node/__init__.pyi CHANGED
@@ -1,9 +1,11 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bl_operators.node
3
4
  import bpy.ops.transform
4
5
  import bpy.types
5
6
 
6
- GenericType = typing.TypeVar("GenericType")
7
+ GenericType1 = typing.TypeVar("GenericType1")
8
+ GenericType2 = typing.TypeVar("GenericType2")
7
9
 
8
10
  def add_collection(
9
11
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -56,8 +58,8 @@ def add_file(
56
58
  relative_path: bool | typing.Any | None = True,
57
59
  show_multiview: bool | typing.Any | None = False,
58
60
  use_multiview: bool | typing.Any | None = False,
59
- display_type: typing.Any | None = "DEFAULT",
60
- sort_method: typing.Any | None = "",
61
+ display_type: str | None = "DEFAULT",
62
+ sort_method: str | None = "",
61
63
  name: str | typing.Any = "",
62
64
  session_uid: typing.Any | None = 0,
63
65
  ):
@@ -131,7 +133,7 @@ def add_file(
131
133
 
132
134
  THUMBNAIL
133
135
  Thumbnails -- Display files as thumbnails.
134
- :type display_type: typing.Any | None
136
+ :type display_type: str | None
135
137
  :param sort_method: File sorting mode
136
138
 
137
139
  DEFAULT
@@ -148,7 +150,7 @@ def add_file(
148
150
 
149
151
  FILE_SORT_SIZE
150
152
  Size -- Sort files by size.
151
- :type sort_method: typing.Any | None
153
+ :type sort_method: str | None
152
154
  :param name: Name, Name of the data-block to use by the operator
153
155
  :type name: str | typing.Any
154
156
  :param session_uid: Session UID, Session UID of the data-block to use by the operator
@@ -184,7 +186,7 @@ def add_group_asset(
184
186
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
185
187
  execution_context: str | int | None = None,
186
188
  undo: bool | None = None,
187
- asset_library_type: str | int | None = "LOCAL",
189
+ asset_library_type: str | None = "LOCAL",
188
190
  asset_library_identifier: str | typing.Any = "",
189
191
  relative_asset_identifier: str | typing.Any = "",
190
192
  ):
@@ -194,7 +196,7 @@ def add_group_asset(
194
196
  :type execution_context: str | int | None
195
197
  :type undo: bool | None
196
198
  :param asset_library_type: Asset Library Type
197
- :type asset_library_type: str | int | None
199
+ :type asset_library_type: str | None
198
200
  :param asset_library_identifier: Asset Library Identifier
199
201
  :type asset_library_identifier: str | typing.Any
200
202
  :param relative_asset_identifier: Relative Asset Identifier
@@ -446,7 +448,7 @@ def bake_node_item_move(
446
448
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
447
449
  execution_context: str | int | None = None,
448
450
  undo: bool | None = None,
449
- direction: typing.Any | None = "UP",
451
+ direction: str | None = "UP",
450
452
  ):
451
453
  """Move active bake item
452
454
 
@@ -454,7 +456,7 @@ def bake_node_item_move(
454
456
  :type execution_context: str | int | None
455
457
  :type undo: bool | None
456
458
  :param direction: Direction, Move direction
457
- :type direction: typing.Any | None
459
+ :type direction: str | None
458
460
  """
459
461
 
460
462
  ...
@@ -737,7 +739,7 @@ def enum_definition_item_move(
737
739
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
738
740
  execution_context: str | int | None = None,
739
741
  undo: bool | None = None,
740
- direction: typing.Any | None = "UP",
742
+ direction: str | None = "UP",
741
743
  ):
742
744
  """Move active menu item
743
745
 
@@ -745,7 +747,7 @@ def enum_definition_item_move(
745
747
  :type execution_context: str | int | None
746
748
  :type undo: bool | None
747
749
  :param direction: Direction, Move direction
748
- :type direction: typing.Any | None
750
+ :type direction: str | None
749
751
  """
750
752
 
751
753
  ...
@@ -841,7 +843,7 @@ def group_separate(
841
843
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
842
844
  execution_context: str | int | None = None,
843
845
  undo: bool | None = None,
844
- type: typing.Any | None = "COPY",
846
+ type: str | None = "COPY",
845
847
  ):
846
848
  """Separate selected nodes from the node group
847
849
 
@@ -855,7 +857,7 @@ def group_separate(
855
857
 
856
858
  MOVE
857
859
  Move -- Move to parent node tree, remove from group.
858
- :type type: typing.Any | None
860
+ :type type: str | None
859
861
  """
860
862
 
861
863
  ...
@@ -965,7 +967,7 @@ def interface_item_new(
965
967
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
966
968
  execution_context: str | int | None = None,
967
969
  undo: bool | None = None,
968
- item_type: typing.Any | None = "INPUT",
970
+ item_type: str | None = "INPUT",
969
971
  ):
970
972
  """Add a new item to the interface
971
973
 
@@ -973,7 +975,7 @@ def interface_item_new(
973
975
  :type execution_context: str | int | None
974
976
  :type undo: bool | None
975
977
  :param item_type: Item Type, Type of the item to create
976
- :type item_type: typing.Any | None
978
+ :type item_type: str | None
977
979
  """
978
980
 
979
981
  ...
@@ -1229,7 +1231,7 @@ def new_node_tree(
1229
1231
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1230
1232
  execution_context: str | int | None = None,
1231
1233
  undo: bool | None = None,
1232
- type: str | int | typing.Any | None = "",
1234
+ type: str | None = "",
1233
1235
  name: str | typing.Any = "NodeTree",
1234
1236
  ):
1235
1237
  """Create a new node tree
@@ -1238,7 +1240,7 @@ def new_node_tree(
1238
1240
  :type execution_context: str | int | None
1239
1241
  :type undo: bool | None
1240
1242
  :param type: Tree Type
1241
- :type type: str | int | typing.Any | None
1243
+ :type type: str | None
1242
1244
  :param name: Name
1243
1245
  :type name: str | typing.Any
1244
1246
  """
@@ -1317,7 +1319,7 @@ def output_file_move_active_socket(
1317
1319
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1318
1320
  execution_context: str | int | None = None,
1319
1321
  undo: bool | None = None,
1320
- direction: typing.Any | None = "DOWN",
1322
+ direction: str | None = "DOWN",
1321
1323
  ):
1322
1324
  """Move the active input of a file output node up or down the list
1323
1325
 
@@ -1325,7 +1327,7 @@ def output_file_move_active_socket(
1325
1327
  :type execution_context: str | int | None
1326
1328
  :type undo: bool | None
1327
1329
  :param direction: Direction
1328
- :type direction: typing.Any | None
1330
+ :type direction: str | None
1329
1331
  """
1330
1332
 
1331
1333
  ...
@@ -1418,7 +1420,7 @@ def repeat_zone_item_move(
1418
1420
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1419
1421
  execution_context: str | int | None = None,
1420
1422
  undo: bool | None = None,
1421
- direction: typing.Any | None = "UP",
1423
+ direction: str | None = "UP",
1422
1424
  ):
1423
1425
  """Move active repeat zone item
1424
1426
 
@@ -1426,7 +1428,7 @@ def repeat_zone_item_move(
1426
1428
  :type execution_context: str | int | None
1427
1429
  :type undo: bool | None
1428
1430
  :param direction: Direction, Move direction
1429
- :type direction: typing.Any | None
1431
+ :type direction: str | None
1430
1432
  """
1431
1433
 
1432
1434
  ...
@@ -1501,7 +1503,7 @@ def select_all(
1501
1503
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1502
1504
  execution_context: str | int | None = None,
1503
1505
  undo: bool | None = None,
1504
- action: typing.Any | None = "TOGGLE",
1506
+ action: str | None = "TOGGLE",
1505
1507
  ):
1506
1508
  """(De)select all nodes
1507
1509
 
@@ -1521,7 +1523,7 @@ def select_all(
1521
1523
 
1522
1524
  INVERT
1523
1525
  Invert -- Invert selection of all elements.
1524
- :type action: typing.Any | None
1526
+ :type action: str | None
1525
1527
  """
1526
1528
 
1527
1529
  ...
@@ -1536,7 +1538,7 @@ def select_box(
1536
1538
  ymin: typing.Any | None = 0,
1537
1539
  ymax: typing.Any | None = 0,
1538
1540
  wait_for_input: bool | typing.Any | None = True,
1539
- mode: typing.Any | None = "SET",
1541
+ mode: str | None = "SET",
1540
1542
  ):
1541
1543
  """Use box selection to select nodes
1542
1544
 
@@ -1565,7 +1567,7 @@ def select_box(
1565
1567
 
1566
1568
  SUB
1567
1569
  Subtract -- Subtract existing selection.
1568
- :type mode: typing.Any | None
1570
+ :type mode: str | None
1569
1571
  """
1570
1572
 
1571
1573
  ...
@@ -1578,7 +1580,7 @@ def select_circle(
1578
1580
  y: typing.Any | None = 0,
1579
1581
  radius: typing.Any | None = 25,
1580
1582
  wait_for_input: bool | typing.Any | None = True,
1581
- mode: typing.Any | None = "SET",
1583
+ mode: str | None = "SET",
1582
1584
  ):
1583
1585
  """Use circle selection to select nodes
1584
1586
 
@@ -1603,7 +1605,7 @@ def select_circle(
1603
1605
 
1604
1606
  SUB
1605
1607
  Subtract -- Subtract existing selection.
1606
- :type mode: typing.Any | None
1608
+ :type mode: str | None
1607
1609
  """
1608
1610
 
1609
1611
  ...
@@ -1613,7 +1615,7 @@ def select_grouped(
1613
1615
  execution_context: str | int | None = None,
1614
1616
  undo: bool | None = None,
1615
1617
  extend: bool | typing.Any | None = False,
1616
- type: typing.Any | None = "TYPE",
1618
+ type: str | None = "TYPE",
1617
1619
  ):
1618
1620
  """Select nodes with similar properties
1619
1621
 
@@ -1623,7 +1625,7 @@ def select_grouped(
1623
1625
  :param extend: Extend, Extend selection instead of deselecting everything first
1624
1626
  :type extend: bool | typing.Any | None
1625
1627
  :param type: Type
1626
- :type type: typing.Any | None
1628
+ :type type: str | None
1627
1629
  """
1628
1630
 
1629
1631
  ...
@@ -1634,7 +1636,7 @@ def select_lasso(
1634
1636
  undo: bool | None = None,
1635
1637
  tweak: bool | typing.Any | None = False,
1636
1638
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
1637
- mode: typing.Any | None = "SET",
1639
+ mode: str | None = "SET",
1638
1640
  ):
1639
1641
  """Select nodes using lasso selection
1640
1642
 
@@ -1655,7 +1657,7 @@ def select_lasso(
1655
1657
 
1656
1658
  SUB
1657
1659
  Subtract -- Subtract existing selection.
1658
- :type mode: typing.Any | None
1660
+ :type mode: str | None
1659
1661
  """
1660
1662
 
1661
1663
  ...
@@ -1757,7 +1759,7 @@ def simulation_zone_item_move(
1757
1759
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
1758
1760
  execution_context: str | int | None = None,
1759
1761
  undo: bool | None = None,
1760
- direction: typing.Any | None = "UP",
1762
+ direction: str | None = "UP",
1761
1763
  ):
1762
1764
  """Move active simulation zone item
1763
1765
 
@@ -1765,7 +1767,7 @@ def simulation_zone_item_move(
1765
1767
  :type execution_context: str | int | None
1766
1768
  :type undo: bool | None
1767
1769
  :param direction: Direction, Move direction
1768
- :type direction: typing.Any | None
1770
+ :type direction: str | None
1769
1771
  """
1770
1772
 
1771
1773
  ...