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

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

Potentially problematic release.


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

Files changed (312) hide show
  1. _bpy_internal/__init__.pyi +2 -1
  2. _bpy_internal/freedesktop/__init__.pyi +20 -86
  3. addon_utils/__init__.pyi +7 -31
  4. animsys_refactor/__init__.pyi +7 -26
  5. aud/__init__.pyi +3 -5
  6. bgl/__init__.pyi +2 -1630
  7. bl_app_override/__init__.pyi +5 -15
  8. bl_app_override/helpers/__init__.pyi +4 -23
  9. bl_app_template_utils/__init__.pyi +5 -16
  10. bl_console_utils/__init__.pyi +2 -1
  11. bl_console_utils/autocomplete/__init__.pyi +2 -1
  12. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -1
  13. bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -1
  14. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
  15. bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -1
  16. bl_i18n_utils/__init__.pyi +2 -1
  17. bl_i18n_utils/bl_extract_messages/__init__.pyi +15 -65
  18. bl_i18n_utils/merge_po/__init__.pyi +3 -5
  19. bl_i18n_utils/settings/__init__.pyi +4 -23
  20. bl_i18n_utils/utils/__init__.pyi +10 -66
  21. bl_i18n_utils/utils_cli/__init__.pyi +9 -31
  22. bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -5
  23. bl_i18n_utils/utils_rtl/__init__.pyi +2 -1
  24. bl_keymap_utils/__init__.pyi +2 -1
  25. bl_keymap_utils/io/__init__.pyi +10 -40
  26. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
  27. bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -5
  28. bl_keymap_utils/platform_helpers/__init__.pyi +3 -6
  29. bl_keymap_utils/versioning/__init__.pyi +3 -5
  30. bl_math/__init__.pyi +2 -1
  31. bl_operators/__init__.pyi +4 -10
  32. bl_operators/add_mesh_torus/__init__.pyi +4 -19
  33. bl_operators/anim/__init__.pyi +2 -71
  34. bl_operators/assets/__init__.pyi +2 -30
  35. bl_operators/bmesh/__init__.pyi +2 -1
  36. bl_operators/bmesh/find_adjacent/__init__.pyi +9 -35
  37. bl_operators/clip/__init__.pyi +7 -115
  38. bl_operators/console/__init__.pyi +2 -38
  39. bl_operators/constraint/__init__.pyi +2 -37
  40. bl_operators/file/__init__.pyi +2 -28
  41. bl_operators/freestyle/__init__.pyi +2 -37
  42. bl_operators/geometry_nodes/__init__.pyi +15 -103
  43. bl_operators/image/__init__.pyi +2 -52
  44. bl_operators/mesh/__init__.pyi +2 -28
  45. bl_operators/node/__init__.pyi +2 -105
  46. bl_operators/object/__init__.pyi +2 -138
  47. bl_operators/object_align/__init__.pyi +5 -24
  48. bl_operators/object_quick_effects/__init__.pyi +4 -49
  49. bl_operators/object_randomize_transform/__init__.pyi +5 -14
  50. bl_operators/presets/__init__.pyi +4 -376
  51. bl_operators/rigidbody/__init__.pyi +2 -28
  52. bl_operators/screen_play_rendered_anim/__init__.pyi +3 -14
  53. bl_operators/sequencer/__init__.pyi +3 -104
  54. bl_operators/spreadsheet/__init__.pyi +2 -10
  55. bl_operators/userpref/__init__.pyi +3 -201
  56. bl_operators/uvcalc_follow_active/__init__.pyi +4 -19
  57. bl_operators/uvcalc_lightmap/__init__.pyi +4 -34
  58. bl_operators/uvcalc_transform/__init__.pyi +13 -73
  59. bl_operators/vertexpaint_dirt/__init__.pyi +4 -19
  60. bl_operators/view3d/__init__.pyi +2 -64
  61. bl_operators/wm/__init__.pyi +16 -451
  62. bl_operators/world/__init__.pyi +2 -10
  63. bl_previews_utils/__init__.pyi +2 -1
  64. bl_previews_utils/bl_previews_render/__init__.pyi +10 -36
  65. bl_rna_utils/__init__.pyi +2 -1
  66. bl_rna_utils/data_path/__init__.pyi +2 -2
  67. bl_text_utils/__init__.pyi +2 -1
  68. bl_text_utils/external_editor/__init__.pyi +3 -5
  69. bl_ui/__init__.pyi +32 -141
  70. bl_ui/anim/__init__.pyi +3 -12
  71. bl_ui/asset_shelf/__init__.pyi +3 -16
  72. bl_ui/generic_ui_list/__init__.pyi +4 -31
  73. bl_ui/node_add_menu/__init__.pyi +6 -28
  74. bl_ui/node_add_menu_compositor/__init__.pyi +20 -237
  75. bl_ui/node_add_menu_geometry/__init__.pyi +50 -629
  76. bl_ui/node_add_menu_shader/__init__.pyi +20 -170
  77. bl_ui/node_add_menu_texture/__init__.pyi +11 -118
  78. bl_ui/properties_animviz/__init__.pyi +2 -15
  79. bl_ui/properties_collection/__init__.pyi +9 -112
  80. bl_ui/properties_constraint/__init__.pyi +81 -1524
  81. bl_ui/properties_data_armature/__init__.pyi +14 -214
  82. bl_ui/properties_data_bone/__init__.pyi +12 -198
  83. bl_ui/properties_data_camera/__init__.pyi +17 -312
  84. bl_ui/properties_data_curve/__init__.pyi +17 -319
  85. bl_ui/properties_data_curves/__init__.pyi +8 -108
  86. bl_ui/properties_data_empty/__init__.pyi +4 -44
  87. bl_ui/properties_data_gpencil/__init__.pyi +20 -350
  88. bl_ui/properties_data_grease_pencil/__init__.pyi +16 -257
  89. bl_ui/properties_data_lattice/__init__.pyi +5 -65
  90. bl_ui/properties_data_light/__init__.pyi +14 -264
  91. bl_ui/properties_data_lightprobe/__init__.pyi +15 -277
  92. bl_ui/properties_data_mesh/__init__.pyi +23 -325
  93. bl_ui/properties_data_metaball/__init__.pyi +7 -103
  94. bl_ui/properties_data_modifier/__init__.pyi +10 -178
  95. bl_ui/properties_data_pointcloud/__init__.pyi +7 -89
  96. bl_ui/properties_data_shaderfx/__init__.pyi +3 -27
  97. bl_ui/properties_data_speaker/__init__.pyi +7 -111
  98. bl_ui/properties_data_volume/__init__.pyi +10 -156
  99. bl_ui/properties_freestyle/__init__.pyi +31 -615
  100. bl_ui/properties_grease_pencil_common/__init__.pyi +17 -216
  101. bl_ui/properties_mask_common/__init__.pyi +10 -111
  102. bl_ui/properties_material/__init__.pyi +20 -331
  103. bl_ui/properties_material_gpencil/__init__.pyi +12 -182
  104. bl_ui/properties_object/__init__.pyi +16 -276
  105. bl_ui/properties_output/__init__.pyi +20 -370
  106. bl_ui/properties_paint_common/__init__.pyi +14 -106
  107. bl_ui/properties_particle/__init__.pyi +58 -1159
  108. bl_ui/properties_physics_cloth/__init__.pyi +17 -314
  109. bl_ui/properties_physics_common/__init__.pyi +9 -58
  110. bl_ui/properties_physics_dynamicpaint/__init__.pyi +24 -490
  111. bl_ui/properties_physics_field/__init__.pyi +13 -218
  112. bl_ui/properties_physics_fluid/__init__.pyi +30 -626
  113. bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -20
  114. bl_ui/properties_physics_rigidbody/__init__.pyi +11 -188
  115. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +15 -279
  116. bl_ui/properties_physics_softbody/__init__.pyi +18 -353
  117. bl_ui/properties_render/__init__.pyi +56 -1146
  118. bl_ui/properties_scene/__init__.pyi +17 -298
  119. bl_ui/properties_texture/__init__.pyi +30 -577
  120. bl_ui/properties_view_layer/__init__.pyi +20 -346
  121. bl_ui/properties_workspace/__init__.pyi +6 -80
  122. bl_ui/properties_world/__init__.pyi +12 -220
  123. bl_ui/space_clip/__init__.pyi +73 -1090
  124. bl_ui/space_console/__init__.pyi +9 -73
  125. bl_ui/space_dopesheet/__init__.pyi +33 -485
  126. bl_ui/space_filebrowser/__init__.pyi +36 -431
  127. bl_ui/space_graph/__init__.pyi +22 -237
  128. bl_ui/space_image/__init__.pyi +70 -1089
  129. bl_ui/space_info/__init__.pyi +8 -71
  130. bl_ui/space_nla/__init__.pyi +19 -210
  131. bl_ui/space_node/__init__.pyi +32 -436
  132. bl_ui/space_outliner/__init__.pyi +17 -165
  133. bl_ui/space_properties/__init__.pyi +5 -42
  134. bl_ui/space_sequencer/__init__.pyi +79 -1142
  135. bl_ui/space_spreadsheet/__init__.pyi +3 -12
  136. bl_ui/space_statusbar/__init__.pyi +3 -12
  137. bl_ui/space_text/__init__.pyi +18 -193
  138. bl_ui/space_time/__init__.pyi +10 -111
  139. bl_ui/space_toolsystem_common/__init__.pyi +42 -200
  140. bl_ui/space_toolsystem_toolbar/__init__.pyi +119 -863
  141. bl_ui/space_topbar/__init__.pyi +29 -335
  142. bl_ui/space_userpref/__init__.pyi +94 -1576
  143. bl_ui/space_view3d/__init__.pyi +271 -3438
  144. bl_ui/space_view3d_toolbar/__init__.pyi +95 -1899
  145. bl_ui/temp_anim_layers/__init__.pyi +4 -22
  146. bl_ui/utils/__init__.pyi +2 -8
  147. bl_ui_utils/__init__.pyi +2 -1
  148. bl_ui_utils/bug_report_url/__init__.pyi +3 -5
  149. bl_ui_utils/layout/__init__.pyi +2 -1
  150. blend_render_info/__init__.pyi +4 -10
  151. blf/__init__.pyi +2 -1
  152. bmesh/__init__.pyi +2 -1
  153. bmesh/geometry/__init__.pyi +2 -1
  154. bmesh/ops/__init__.pyi +2 -1
  155. bmesh/types/__init__.pyi +29 -45
  156. bmesh/utils/__init__.pyi +2 -1
  157. bpy/__init__.pyi +2 -1
  158. bpy/app/__init__.pyi +2 -1
  159. bpy/app/handlers/__init__.pyi +2 -1
  160. bpy/app/icons/__init__.pyi +2 -1
  161. bpy/app/timers/__init__.pyi +8 -15
  162. bpy/app/translations/__init__.pyi +2 -1
  163. bpy/msgbus/__init__.pyi +2 -1
  164. bpy/ops/__init__.pyi +2 -1
  165. bpy/ops/action/__init__.pyi +22 -21
  166. bpy/ops/anim/__init__.pyi +32 -31
  167. bpy/ops/armature/__init__.pyi +22 -21
  168. bpy/ops/asset/__init__.pyi +8 -7
  169. bpy/ops/bl_pkg/__init__.pyi +4 -3
  170. bpy/ops/boid/__init__.pyi +2 -1
  171. bpy/ops/brush/__init__.pyi +10 -9
  172. bpy/ops/buttons/__init__.pyi +10 -9
  173. bpy/ops/cachefile/__init__.pyi +12 -11
  174. bpy/ops/camera/__init__.pyi +2 -1
  175. bpy/ops/clip/__init__.pyi +38 -37
  176. bpy/ops/cloth/__init__.pyi +2 -1
  177. bpy/ops/collection/__init__.pyi +8 -7
  178. bpy/ops/console/__init__.pyi +8 -7
  179. bpy/ops/constraint/__init__.pyi +30 -29
  180. bpy/ops/curve/__init__.pyi +32 -31
  181. bpy/ops/curves/__init__.pyi +10 -9
  182. bpy/ops/cycles/__init__.pyi +2 -1
  183. bpy/ops/dpaint/__init__.pyi +4 -3
  184. bpy/ops/ed/__init__.pyi +6 -5
  185. bpy/ops/export_anim/__init__.pyi +4 -3
  186. bpy/ops/export_scene/__init__.pyi +40 -39
  187. bpy/ops/file/__init__.pyi +20 -19
  188. bpy/ops/fluid/__init__.pyi +2 -1
  189. bpy/ops/font/__init__.pyi +22 -21
  190. bpy/ops/geometry/__init__.pyi +4 -3
  191. bpy/ops/gizmogroup/__init__.pyi +2 -1
  192. bpy/ops/gpencil/__init__.pyi +134 -133
  193. bpy/ops/graph/__init__.pyi +40 -39
  194. bpy/ops/grease_pencil/__init__.pyi +42 -41
  195. bpy/ops/image/__init__.pyi +22 -21
  196. bpy/ops/import_anim/__init__.pyi +10 -9
  197. bpy/ops/import_curve/__init__.pyi +2 -1
  198. bpy/ops/import_scene/__init__.pyi +20 -19
  199. bpy/ops/info/__init__.pyi +6 -5
  200. bpy/ops/lattice/__init__.pyi +8 -7
  201. bpy/ops/marker/__init__.pyi +10 -9
  202. bpy/ops/mask/__init__.pyi +14 -13
  203. bpy/ops/material/__init__.pyi +2 -1
  204. bpy/ops/mball/__init__.pyi +8 -7
  205. bpy/ops/mesh/__init__.pyi +112 -111
  206. bpy/ops/nla/__init__.pyi +16 -15
  207. bpy/ops/node/__init__.pyi +32 -31
  208. bpy/ops/object/__init__.pyi +186 -185
  209. bpy/ops/outliner/__init__.pyi +38 -37
  210. bpy/ops/paint/__init__.pyi +50 -49
  211. bpy/ops/paintcurve/__init__.pyi +2 -1
  212. bpy/ops/palette/__init__.pyi +6 -5
  213. bpy/ops/particle/__init__.pyi +16 -15
  214. bpy/ops/pose/__init__.pyi +32 -31
  215. bpy/ops/poselib/__init__.pyi +2 -1
  216. bpy/ops/preferences/__init__.pyi +14 -13
  217. bpy/ops/ptcache/__init__.pyi +2 -1
  218. bpy/ops/render/__init__.pyi +4 -3
  219. bpy/ops/rigidbody/__init__.pyi +10 -9
  220. bpy/ops/scene/__init__.pyi +18 -17
  221. bpy/ops/screen/__init__.pyi +16 -15
  222. bpy/ops/script/__init__.pyi +2 -1
  223. bpy/ops/sculpt/__init__.pyi +68 -67
  224. bpy/ops/sculpt_curves/__init__.pyi +4 -3
  225. bpy/ops/sequencer/__init__.pyi +74 -73
  226. bpy/ops/sound/__init__.pyi +20 -19
  227. bpy/ops/spreadsheet/__init__.pyi +2 -1
  228. bpy/ops/surface/__init__.pyi +14 -13
  229. bpy/ops/text/__init__.pyi +24 -23
  230. bpy/ops/text_editor/__init__.pyi +2 -1
  231. bpy/ops/texture/__init__.pyi +4 -3
  232. bpy/ops/transform/__init__.pyi +32 -31
  233. bpy/ops/ui/__init__.pyi +8 -7
  234. bpy/ops/uilist/__init__.pyi +4 -3
  235. bpy/ops/uv/__init__.pyi +66 -65
  236. bpy/ops/view2d/__init__.pyi +2 -1
  237. bpy/ops/view3d/__init__.pyi +36 -35
  238. bpy/ops/wm/__init__.pyi +191 -187
  239. bpy/ops/workspace/__init__.pyi +2 -1
  240. bpy/ops/world/__init__.pyi +2 -1
  241. bpy/path/__init__.pyi +2 -1
  242. bpy/props/__init__.pyi +2 -1
  243. bpy/types/__init__.pyi +546 -4852
  244. bpy/utils/__init__.pyi +16 -71
  245. bpy/utils/previews/__init__.pyi +2 -1
  246. bpy/utils/units/__init__.pyi +2 -1
  247. bpy_extras/__init__.pyi +2 -1
  248. bpy_extras/anim_utils/__init__.pyi +2 -2
  249. bpy_extras/asset_utils/__init__.pyi +2 -11
  250. bpy_extras/bmesh_utils/__init__.pyi +3 -5
  251. bpy_extras/extensions/__init__.pyi +2 -1
  252. bpy_extras/extensions/junction_module/__init__.pyi +3 -7
  253. bpy_extras/id_map_utils/__init__.pyi +2 -1
  254. bpy_extras/image_utils/__init__.pyi +2 -1
  255. bpy_extras/io_utils/__init__.pyi +6 -25
  256. bpy_extras/keyconfig_utils/__init__.pyi +4 -10
  257. bpy_extras/mesh_utils/__init__.pyi +2 -1
  258. bpy_extras/node_shader_utils/__init__.pyi +46 -286
  259. bpy_extras/node_utils/__init__.pyi +4 -10
  260. bpy_extras/object_utils/__init__.pyi +2 -3
  261. bpy_extras/view3d_utils/__init__.pyi +2 -1
  262. bpy_extras/wm_utils/__init__.pyi +2 -1
  263. bpy_extras/wm_utils/progress_report/__init__.pyi +4 -29
  264. bpy_restrict_state/__init__.pyi +3 -15
  265. bpy_types/__init__.pyi +10 -275
  266. console_python/__init__.pyi +8 -37
  267. console_shell/__init__.pyi +8 -26
  268. {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/METADATA +1 -1
  269. fake_bpy_module-20240519.dist-info/RECORD +353 -0
  270. freestyle/__init__.pyi +2 -1
  271. freestyle/chainingiterators/__init__.pyi +12 -41
  272. freestyle/functions/__init__.pyi +9 -34
  273. freestyle/predicates/__init__.pyi +46 -218
  274. freestyle/shaders/__init__.pyi +2 -11
  275. freestyle/types/__init__.pyi +2 -1
  276. freestyle/utils/ContextFunctions/__init__.pyi +2 -1
  277. freestyle/utils/__init__.pyi +5 -16
  278. gpu/__init__.pyi +2 -1
  279. gpu/capabilities/__init__.pyi +2 -1
  280. gpu/matrix/__init__.pyi +2 -1
  281. gpu/platform/__init__.pyi +2 -1
  282. gpu/select/__init__.pyi +2 -1
  283. gpu/shader/__init__.pyi +2 -1
  284. gpu/state/__init__.pyi +2 -1
  285. gpu/texture/__init__.pyi +2 -1
  286. gpu/types/__init__.pyi +2 -1
  287. gpu_extras/__init__.pyi +2 -1
  288. gpu_extras/batch/__init__.pyi +2 -1
  289. gpu_extras/presets/__init__.pyi +2 -1
  290. graphviz_export/__init__.pyi +4 -10
  291. idprop/__init__.pyi +2 -1
  292. idprop/types/__init__.pyi +8 -34
  293. imbuf/__init__.pyi +2 -1
  294. imbuf/types/__init__.pyi +2 -3
  295. keyingsets_builtins/__init__.pyi +4 -157
  296. keyingsets_utils/__init__.pyi +17 -71
  297. mathutils/__init__.pyi +2 -1
  298. mathutils/bvhtree/__init__.pyi +2 -3
  299. mathutils/geometry/__init__.pyi +2 -1
  300. mathutils/interpolate/__init__.pyi +2 -1
  301. mathutils/kdtree/__init__.pyi +2 -1
  302. mathutils/noise/__init__.pyi +2 -1
  303. nodeitems_builtins/__init__.pyi +7 -31
  304. nodeitems_utils/__init__.pyi +10 -46
  305. rna_info/__init__.pyi +24 -201
  306. rna_keymap_ui/__init__.pyi +9 -31
  307. rna_prop_ui/__init__.pyi +11 -50
  308. rna_xml/__init__.pyi +8 -30
  309. sys_info/__init__.pyi +3 -5
  310. fake_bpy_module-20240517.dist-info/RECORD +0 -353
  311. {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/WHEEL +0 -0
  312. {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/top_level.txt +0 -0
@@ -2,7 +2,8 @@ import typing
2
2
  import bpy.ops.transform
3
3
  import bpy.types
4
4
 
5
- GenericType = typing.TypeVar("GenericType")
5
+ GenericType1 = typing.TypeVar("GenericType1")
6
+ GenericType2 = typing.TypeVar("GenericType2")
6
7
 
7
8
  def bake_keys(
8
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -159,7 +160,7 @@ def extrapolation_type(
159
160
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
160
161
  execution_context: str | int | None = None,
161
162
  undo: bool | None = None,
162
- type: typing.Any | None = "CONSTANT",
163
+ type: str | int | None = "CONSTANT",
163
164
  ):
164
165
  """Set extrapolation mode for selected F-Curves
165
166
 
@@ -179,7 +180,7 @@ def extrapolation_type(
179
180
 
180
181
  CLEAR_CYCLIC
181
182
  Clear Cyclic (F-Modifier) -- Remove Cycles F-Modifier if not needed anymore.
182
- :type type: typing.Any | None
183
+ :type type: str | int | None
183
184
  """
184
185
 
185
186
  ...
@@ -236,7 +237,7 @@ def keyframe_insert(
236
237
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
237
238
  execution_context: str | int | None = None,
238
239
  undo: bool | None = None,
239
- type: typing.Any | None = "ALL",
240
+ type: str | int | None = "ALL",
240
241
  ):
241
242
  """Insert keyframes for the specified channels
242
243
 
@@ -244,7 +245,7 @@ def keyframe_insert(
244
245
  :type execution_context: str | int | None
245
246
  :type undo: bool | None
246
247
  :param type: Type
247
- :type type: typing.Any | None
248
+ :type type: str | int | None
248
249
  """
249
250
 
250
251
  ...
@@ -312,7 +313,7 @@ def mirror(
312
313
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
313
314
  execution_context: str | int | None = None,
314
315
  undo: bool | None = None,
315
- type: typing.Any | None = "CFRA",
316
+ type: str | int | None = "CFRA",
316
317
  ):
317
318
  """Flip selected keyframes over the selected mirror line
318
319
 
@@ -329,7 +330,7 @@ def mirror(
329
330
 
330
331
  MARKER
331
332
  By Times Over First Selected Marker -- Flip times of selected keyframes using the first selected marker as the reference point.
332
- :type type: typing.Any | None
333
+ :type type: str | int | None
333
334
  """
334
335
 
335
336
  ...
@@ -403,7 +404,7 @@ def select_all(
403
404
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
404
405
  execution_context: str | int | None = None,
405
406
  undo: bool | None = None,
406
- action: typing.Any | None = "TOGGLE",
407
+ action: str | int | None = "TOGGLE",
407
408
  ):
408
409
  """Toggle selection of all keyframes
409
410
 
@@ -423,7 +424,7 @@ def select_all(
423
424
 
424
425
  INVERT
425
426
  Invert -- Invert selection of all elements.
426
- :type action: typing.Any | None
427
+ :type action: str | int | None
427
428
  """
428
429
 
429
430
  ...
@@ -438,7 +439,7 @@ def select_box(
438
439
  ymin: typing.Any | None = 0,
439
440
  ymax: typing.Any | None = 0,
440
441
  wait_for_input: bool | typing.Any | None = True,
441
- mode: typing.Any | None = "SET",
442
+ mode: str | int | None = "SET",
442
443
  tweak: bool | typing.Any | None = False,
443
444
  ):
444
445
  """Select all keyframes within the specified region
@@ -468,7 +469,7 @@ def select_box(
468
469
 
469
470
  SUB
470
471
  Subtract -- Subtract existing selection.
471
- :type mode: typing.Any | None
472
+ :type mode: str | int | None
472
473
  :param tweak: Tweak, Operator has been activated using a click-drag event
473
474
  :type tweak: bool | typing.Any | None
474
475
  """
@@ -483,7 +484,7 @@ def select_circle(
483
484
  y: typing.Any | None = 0,
484
485
  radius: typing.Any | None = 25,
485
486
  wait_for_input: bool | typing.Any | None = True,
486
- mode: typing.Any | None = "SET",
487
+ mode: str | int | None = "SET",
487
488
  ):
488
489
  """Select keyframe points using circle selection
489
490
 
@@ -508,7 +509,7 @@ def select_circle(
508
509
 
509
510
  SUB
510
511
  Subtract -- Subtract existing selection.
511
- :type mode: typing.Any | None
512
+ :type mode: str | int | None
512
513
  """
513
514
 
514
515
  ...
@@ -517,7 +518,7 @@ def select_column(
517
518
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
518
519
  execution_context: str | int | None = None,
519
520
  undo: bool | None = None,
520
- mode: typing.Any | None = "KEYS",
521
+ mode: str | int | None = "KEYS",
521
522
  ):
522
523
  """Select all keyframes on the specified frame(s)
523
524
 
@@ -525,7 +526,7 @@ def select_column(
525
526
  :type execution_context: str | int | None
526
527
  :type undo: bool | None
527
528
  :param mode: Mode
528
- :type mode: typing.Any | None
529
+ :type mode: str | int | None
529
530
  """
530
531
 
531
532
  ...
@@ -535,7 +536,7 @@ def select_lasso(
535
536
  execution_context: str | int | None = None,
536
537
  undo: bool | None = None,
537
538
  path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
538
- mode: typing.Any | None = "SET",
539
+ mode: str | int | None = "SET",
539
540
  ):
540
541
  """Select keyframe points using lasso selection
541
542
 
@@ -554,7 +555,7 @@ def select_lasso(
554
555
 
555
556
  SUB
556
557
  Subtract -- Subtract existing selection.
557
- :type mode: typing.Any | None
558
+ :type mode: str | int | None
558
559
  """
559
560
 
560
561
  ...
@@ -563,7 +564,7 @@ def select_leftright(
563
564
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
564
565
  execution_context: str | int | None = None,
565
566
  undo: bool | None = None,
566
- mode: typing.Any | None = "CHECK",
567
+ mode: str | int | None = "CHECK",
567
568
  extend: bool | typing.Any | None = False,
568
569
  ):
569
570
  """Select keyframes to the left or the right of the current frame
@@ -572,7 +573,7 @@ def select_leftright(
572
573
  :type execution_context: str | int | None
573
574
  :type undo: bool | None
574
575
  :param mode: Mode
575
- :type mode: typing.Any | None
576
+ :type mode: str | int | None
576
577
  :param extend: Extend Select
577
578
  :type extend: bool | typing.Any | None
578
579
  """
@@ -625,7 +626,7 @@ def snap(
625
626
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
626
627
  execution_context: str | int | None = None,
627
628
  undo: bool | None = None,
628
- type: typing.Any | None = "CFRA",
629
+ type: str | int | None = "CFRA",
629
630
  ):
630
631
  """Snap selected keyframes to the times specified
631
632
 
@@ -645,7 +646,7 @@ def snap(
645
646
 
646
647
  NEAREST_MARKER
647
648
  Selection to Nearest Marker -- Snap selected keyframes to the nearest marker.
648
- :type type: typing.Any | None
649
+ :type type: str | int | None
649
650
  """
650
651
 
651
652
  ...
bpy/ops/anim/__init__.pyi CHANGED
@@ -1,7 +1,8 @@
1
1
  import typing
2
2
  import bpy.types
3
3
 
4
- GenericType = typing.TypeVar("GenericType")
4
+ GenericType1 = typing.TypeVar("GenericType1")
5
+ GenericType2 = typing.TypeVar("GenericType2")
5
6
 
6
7
  def binding_unassign_object(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -81,7 +82,7 @@ def channels_bake(
81
82
  range: typing.Any | None = (0, 0),
82
83
  step: typing.Any | None = 1.0,
83
84
  remove_outside_range: bool | typing.Any | None = False,
84
- interpolation_type: typing.Any | None = "BEZIER",
85
+ interpolation_type: str | int | None = "BEZIER",
85
86
  bake_modifiers: bool | typing.Any | None = True,
86
87
  ):
87
88
  """Create keyframes following the current shape of F-Curves of selected channels
@@ -105,7 +106,7 @@ def channels_bake(
105
106
 
106
107
  CONST
107
108
  Constant -- New keys will be constant.
108
- :type interpolation_type: typing.Any | None
109
+ :type interpolation_type: str | int | None
109
110
  :param bake_modifiers: Bake Modifiers, Bake Modifiers into keyframes and delete them after
110
111
  :type bake_modifiers: bool | typing.Any | None
111
112
  """
@@ -184,8 +185,8 @@ def channels_editable_toggle(
184
185
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
185
186
  execution_context: str | int | None = None,
186
187
  undo: bool | None = None,
187
- mode: typing.Any | None = "TOGGLE",
188
- type: typing.Any | None = "PROTECT",
188
+ mode: str | int | None = "TOGGLE",
189
+ type: str | int | None = "PROTECT",
189
190
  ):
190
191
  """Toggle editability of selected channels
191
192
 
@@ -193,9 +194,9 @@ def channels_editable_toggle(
193
194
  :type execution_context: str | int | None
194
195
  :type undo: bool | None
195
196
  :param mode: Mode
196
- :type mode: typing.Any | None
197
+ :type mode: str | int | None
197
198
  :param type: Type
198
- :type type: typing.Any | None
199
+ :type type: str | int | None
199
200
  """
200
201
 
201
202
  ...
@@ -252,7 +253,7 @@ def channels_move(
252
253
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
253
254
  execution_context: str | int | None = None,
254
255
  undo: bool | None = None,
255
- direction: typing.Any | None = "DOWN",
256
+ direction: str | int | None = "DOWN",
256
257
  ):
257
258
  """Rearrange selected animation channels
258
259
 
@@ -260,7 +261,7 @@ def channels_move(
260
261
  :type execution_context: str | int | None
261
262
  :type undo: bool | None
262
263
  :param direction: Direction
263
- :type direction: typing.Any | None
264
+ :type direction: str | int | None
264
265
  """
265
266
 
266
267
  ...
@@ -283,7 +284,7 @@ def channels_select_all(
283
284
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
284
285
  execution_context: str | int | None = None,
285
286
  undo: bool | None = None,
286
- action: typing.Any | None = "TOGGLE",
287
+ action: str | int | None = "TOGGLE",
287
288
  ):
288
289
  """Toggle selection of all animation channels
289
290
 
@@ -303,7 +304,7 @@ def channels_select_all(
303
304
 
304
305
  INVERT
305
306
  Invert -- Invert selection of all elements.
306
- :type action: typing.Any | None
307
+ :type action: str | int | None
307
308
  """
308
309
 
309
310
  ...
@@ -361,8 +362,8 @@ def channels_setting_disable(
361
362
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
362
363
  execution_context: str | int | None = None,
363
364
  undo: bool | None = None,
364
- mode: typing.Any | None = "DISABLE",
365
- type: typing.Any | None = "PROTECT",
365
+ mode: str | int | None = "DISABLE",
366
+ type: str | int | None = "PROTECT",
366
367
  ):
367
368
  """Disable specified setting on all selected animation channels
368
369
 
@@ -370,9 +371,9 @@ def channels_setting_disable(
370
371
  :type execution_context: str | int | None
371
372
  :type undo: bool | None
372
373
  :param mode: Mode
373
- :type mode: typing.Any | None
374
+ :type mode: str | int | None
374
375
  :param type: Type
375
- :type type: typing.Any | None
376
+ :type type: str | int | None
376
377
  """
377
378
 
378
379
  ...
@@ -381,8 +382,8 @@ def channels_setting_enable(
381
382
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
382
383
  execution_context: str | int | None = None,
383
384
  undo: bool | None = None,
384
- mode: typing.Any | None = "ENABLE",
385
- type: typing.Any | None = "PROTECT",
385
+ mode: str | int | None = "ENABLE",
386
+ type: str | int | None = "PROTECT",
386
387
  ):
387
388
  """Enable specified setting on all selected animation channels
388
389
 
@@ -390,9 +391,9 @@ def channels_setting_enable(
390
391
  :type execution_context: str | int | None
391
392
  :type undo: bool | None
392
393
  :param mode: Mode
393
- :type mode: typing.Any | None
394
+ :type mode: str | int | None
394
395
  :param type: Type
395
- :type type: typing.Any | None
396
+ :type type: str | int | None
396
397
  """
397
398
 
398
399
  ...
@@ -401,8 +402,8 @@ def channels_setting_toggle(
401
402
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
402
403
  execution_context: str | int | None = None,
403
404
  undo: bool | None = None,
404
- mode: typing.Any | None = "TOGGLE",
405
- type: typing.Any | None = "PROTECT",
405
+ mode: str | int | None = "TOGGLE",
406
+ type: str | int | None = "PROTECT",
406
407
  ):
407
408
  """Toggle specified setting on all selected animation channels
408
409
 
@@ -410,9 +411,9 @@ def channels_setting_toggle(
410
411
  :type execution_context: str | int | None
411
412
  :type undo: bool | None
412
413
  :param mode: Mode
413
- :type mode: typing.Any | None
414
+ :type mode: str | int | None
414
415
  :param type: Type
415
- :type type: typing.Any | None
416
+ :type type: str | int | None
416
417
  """
417
418
 
418
419
  ...
@@ -579,7 +580,7 @@ def keyframe_delete(
579
580
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
580
581
  execution_context: str | int | None = None,
581
582
  undo: bool | None = None,
582
- type: str | int | typing.Any | None = "DEFAULT",
583
+ type: str | int | None = "DEFAULT",
583
584
  ):
584
585
  """Delete keyframes on the current frame for all properties in the specified Keying Set
585
586
 
@@ -587,7 +588,7 @@ def keyframe_delete(
587
588
  :type execution_context: str | int | None
588
589
  :type undo: bool | None
589
590
  :param type: Keying Set, The Keying Set to use
590
- :type type: str | int | typing.Any | None
591
+ :type type: str | int | None
591
592
  """
592
593
 
593
594
  ...
@@ -647,7 +648,7 @@ def keyframe_insert(
647
648
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
648
649
  execution_context: str | int | None = None,
649
650
  undo: bool | None = None,
650
- type: str | int | typing.Any | None = "DEFAULT",
651
+ type: str | int | None = "DEFAULT",
651
652
  ):
652
653
  """Insert keyframes on the current frame using either the active keying set, or the user preferences if no keying set is active
653
654
 
@@ -655,7 +656,7 @@ def keyframe_insert(
655
656
  :type execution_context: str | int | None
656
657
  :type undo: bool | None
657
658
  :param type: Keying Set, The Keying Set to use
658
- :type type: str | int | typing.Any | None
659
+ :type type: str | int | None
659
660
  """
660
661
 
661
662
  ...
@@ -698,7 +699,7 @@ def keyframe_insert_menu(
698
699
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
699
700
  execution_context: str | int | None = None,
700
701
  undo: bool | None = None,
701
- type: str | int | typing.Any | None = "DEFAULT",
702
+ type: str | int | None = "DEFAULT",
702
703
  always_prompt: bool | typing.Any | None = False,
703
704
  ):
704
705
  """Insert Keyframes for specified Keying Set, with menu of available Keying Sets if undefined
@@ -707,7 +708,7 @@ def keyframe_insert_menu(
707
708
  :type execution_context: str | int | None
708
709
  :type undo: bool | None
709
710
  :param type: Keying Set, The Keying Set to use
710
- :type type: str | int | typing.Any | None
711
+ :type type: str | int | None
711
712
  :param always_prompt: Always Show Menu
712
713
  :type always_prompt: bool | typing.Any | None
713
714
  """
@@ -718,7 +719,7 @@ def keying_set_active_set(
718
719
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
719
720
  execution_context: str | int | None = None,
720
721
  undo: bool | None = None,
721
- type: str | int | typing.Any | None = "DEFAULT",
722
+ type: str | int | None = "DEFAULT",
722
723
  ):
723
724
  """Set a new active keying set
724
725
 
@@ -726,7 +727,7 @@ def keying_set_active_set(
726
727
  :type execution_context: str | int | None
727
728
  :type undo: bool | None
728
729
  :param type: Keying Set, The Keying Set to use
729
- :type type: str | int | typing.Any | None
730
+ :type type: str | int | None
730
731
  """
731
732
 
732
733
  ...
@@ -2,7 +2,8 @@ import typing
2
2
  import bpy.ops.transform
3
3
  import bpy.types
4
4
 
5
- GenericType = typing.TypeVar("GenericType")
5
+ GenericType1 = typing.TypeVar("GenericType1")
6
+ GenericType2 = typing.TypeVar("GenericType2")
6
7
 
7
8
  def align(
8
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -42,7 +43,7 @@ def autoside_names(
42
43
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
43
44
  execution_context: str | int | None = None,
44
45
  undo: bool | None = None,
45
- type: typing.Any | None = "XAXIS",
46
+ type: str | int | None = "XAXIS",
46
47
  ):
47
48
  """Automatically renames the selected bones according to which side of the target axis they fall on
48
49
 
@@ -59,7 +60,7 @@ def autoside_names(
59
60
 
60
61
  ZAXIS
61
62
  Z-Axis -- Top/Bottom.
62
- :type type: typing.Any | None
63
+ :type type: str | int | None
63
64
  """
64
65
 
65
66
  ...
@@ -85,7 +86,7 @@ def calculate_roll(
85
86
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
86
87
  execution_context: str | int | None = None,
87
88
  undo: bool | None = None,
88
- type: typing.Any | None = "POS_X",
89
+ type: str | int | None = "POS_X",
89
90
  axis_flip: bool | typing.Any | None = False,
90
91
  axis_only: bool | typing.Any | None = False,
91
92
  ):
@@ -95,7 +96,7 @@ def calculate_roll(
95
96
  :type execution_context: str | int | None
96
97
  :type undo: bool | None
97
98
  :param type: Type
98
- :type type: typing.Any | None
99
+ :type type: str | int | None
99
100
  :param axis_flip: Flip Axis, Negate the alignment axis
100
101
  :type axis_flip: bool | typing.Any | None
101
102
  :param axis_only: Shortest Rotation, Ignore the axis direction, use the shortest rotation to align
@@ -184,7 +185,7 @@ def collection_move(
184
185
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
185
186
  execution_context: str | int | None = None,
186
187
  undo: bool | None = None,
187
- direction: typing.Any | None = "UP",
188
+ direction: str | int | None = "UP",
188
189
  ):
189
190
  """Change position of active Bone Collection in list of Bone collections
190
191
 
@@ -192,7 +193,7 @@ def collection_move(
192
193
  :type execution_context: str | int | None
193
194
  :type undo: bool | None
194
195
  :param direction: Direction, Direction to move the active Bone Collection towards
195
- :type direction: typing.Any | None
196
+ :type direction: str | int | None
196
197
  """
197
198
 
198
199
  ...
@@ -308,7 +309,7 @@ def copy_bone_color_to_selected(
308
309
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
309
310
  execution_context: str | int | None = None,
310
311
  undo: bool | None = None,
311
- bone_type: typing.Any | None = "EDIT",
312
+ bone_type: str | int | None = "EDIT",
312
313
  ):
313
314
  """Copy the bone color of the active bone to all selected bones
314
315
 
@@ -322,7 +323,7 @@ def copy_bone_color_to_selected(
322
323
 
323
324
  POSE
324
325
  Pose Bone -- Copy Pose Bone colors from the active pose bone to all selected pose bones.
325
- :type bone_type: typing.Any | None
326
+ :type bone_type: str | int | None
326
327
  """
327
328
 
328
329
  ...
@@ -524,7 +525,7 @@ def parent_clear(
524
525
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
525
526
  execution_context: str | int | None = None,
526
527
  undo: bool | None = None,
527
- type: typing.Any | None = "CLEAR",
528
+ type: str | int | None = "CLEAR",
528
529
  ):
529
530
  """Remove the parent-child relationship between selected bones and their parents
530
531
 
@@ -532,7 +533,7 @@ def parent_clear(
532
533
  :type execution_context: str | int | None
533
534
  :type undo: bool | None
534
535
  :param type: Clear Type, What way to clear parenting
535
- :type type: typing.Any | None
536
+ :type type: str | int | None
536
537
  """
537
538
 
538
539
  ...
@@ -541,7 +542,7 @@ def parent_set(
541
542
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
542
543
  execution_context: str | int | None = None,
543
544
  undo: bool | None = None,
544
- type: typing.Any | None = "CONNECTED",
545
+ type: str | int | None = "CONNECTED",
545
546
  ):
546
547
  """Set the active bone as the parent of the selected bones
547
548
 
@@ -549,7 +550,7 @@ def parent_set(
549
550
  :type execution_context: str | int | None
550
551
  :type undo: bool | None
551
552
  :param type: Parent Type, Type of parenting
552
- :type type: typing.Any | None
553
+ :type type: str | int | None
553
554
  """
554
555
 
555
556
  ...
@@ -592,7 +593,7 @@ def select_all(
592
593
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
593
594
  execution_context: str | int | None = None,
594
595
  undo: bool | None = None,
595
- action: typing.Any | None = "TOGGLE",
596
+ action: str | int | None = "TOGGLE",
596
597
  ):
597
598
  """Toggle selection status of all bones
598
599
 
@@ -612,7 +613,7 @@ def select_all(
612
613
 
613
614
  INVERT
614
615
  Invert -- Invert selection of all elements.
615
- :type action: typing.Any | None
616
+ :type action: str | int | None
616
617
  """
617
618
 
618
619
  ...
@@ -621,7 +622,7 @@ def select_hierarchy(
621
622
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
622
623
  execution_context: str | int | None = None,
623
624
  undo: bool | None = None,
624
- direction: typing.Any | None = "PARENT",
625
+ direction: str | int | None = "PARENT",
625
626
  extend: bool | typing.Any | None = False,
626
627
  ):
627
628
  """Select immediate parent/children of selected bones
@@ -630,7 +631,7 @@ def select_hierarchy(
630
631
  :type execution_context: str | int | None
631
632
  :type undo: bool | None
632
633
  :param direction: Direction
633
- :type direction: typing.Any | None
634
+ :type direction: str | int | None
634
635
  :param extend: Extend, Extend the selection
635
636
  :type extend: bool | typing.Any | None
636
637
  """
@@ -726,7 +727,7 @@ def select_similar(
726
727
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
727
728
  execution_context: str | int | None = None,
728
729
  undo: bool | None = None,
729
- type: typing.Any | None = "LENGTH",
730
+ type: str | int | None = "LENGTH",
730
731
  threshold: typing.Any | None = 0.1,
731
732
  ):
732
733
  """Select similar bones by property types
@@ -735,7 +736,7 @@ def select_similar(
735
736
  :type execution_context: str | int | None
736
737
  :type undo: bool | None
737
738
  :param type: Type
738
- :type type: typing.Any | None
739
+ :type type: str | int | None
739
740
  :param threshold: Threshold
740
741
  :type threshold: typing.Any | None
741
742
  """
@@ -819,7 +820,7 @@ def symmetrize(
819
820
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
820
821
  execution_context: str | int | None = None,
821
822
  undo: bool | None = None,
822
- direction: typing.Any | None = "NEGATIVE_X",
823
+ direction: str | int | None = "NEGATIVE_X",
823
824
  ):
824
825
  """Enforce symmetry, make copies of the selection or use existing
825
826
 
@@ -827,7 +828,7 @@ def symmetrize(
827
828
  :type execution_context: str | int | None
828
829
  :type undo: bool | None
829
830
  :param direction: Direction, Which sides to copy from and to (when both are selected)
830
- :type direction: typing.Any | None
831
+ :type direction: str | int | None
831
832
  """
832
833
 
833
834
  ...
@@ -1,7 +1,8 @@
1
1
  import typing
2
2
  import bpy.types
3
3
 
4
- GenericType = typing.TypeVar("GenericType")
4
+ GenericType1 = typing.TypeVar("GenericType1")
5
+ GenericType2 = typing.TypeVar("GenericType2")
5
6
 
6
7
  def assign_action(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -21,7 +22,7 @@ def bundle_install(
21
22
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
22
23
  execution_context: str | int | None = None,
23
24
  undo: bool | None = None,
24
- asset_library_reference: str | int | typing.Any | None = "",
25
+ asset_library_reference: str | int | None = "",
25
26
  filepath: str | typing.Any = "",
26
27
  hide_props_region: bool | typing.Any | None = True,
27
28
  check_existing: bool | typing.Any | None = True,
@@ -43,8 +44,8 @@ def bundle_install(
43
44
  filter_folder: bool | typing.Any | None = True,
44
45
  filter_blenlib: bool | typing.Any | None = False,
45
46
  filemode: typing.Any | None = 8,
46
- display_type: typing.Any | None = "DEFAULT",
47
- sort_method: str | int | typing.Any | None = "",
47
+ display_type: str | int | None = "DEFAULT",
48
+ sort_method: str | int | None = "",
48
49
  ):
49
50
  """Copy the current .blend file into an Asset Library. Only works on standalone .blend files (i.e. when no other files are referenced)
50
51
 
@@ -52,7 +53,7 @@ def bundle_install(
52
53
  :type execution_context: str | int | None
53
54
  :type undo: bool | None
54
55
  :param asset_library_reference: asset_library_reference
55
- :type asset_library_reference: str | int | typing.Any | None
56
+ :type asset_library_reference: str | int | None
56
57
  :param filepath: File Path, Path to file
57
58
  :type filepath: str | typing.Any
58
59
  :param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
@@ -108,9 +109,9 @@ def bundle_install(
108
109
 
109
110
  THUMBNAIL
110
111
  Thumbnails -- Display files as thumbnails.
111
- :type display_type: typing.Any | None
112
+ :type display_type: str | int | None
112
113
  :param sort_method: File sorting mode
113
- :type sort_method: str | int | typing.Any | None
114
+ :type sort_method: str | int | None
114
115
  """
115
116
 
116
117
  ...
@@ -1,7 +1,8 @@
1
1
  import typing
2
2
  import bpy.types
3
3
 
4
- GenericType = typing.TypeVar("GenericType")
4
+ GenericType1 = typing.TypeVar("GenericType1")
5
+ GenericType2 = typing.TypeVar("GenericType2")
5
6
 
6
7
  def dummy_progress(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -182,7 +183,7 @@ def pkg_install_files(
182
183
  files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
183
184
  | None = None,
184
185
  filepath: str | typing.Any = "",
185
- repo: str | int | typing.Any | None = "",
186
+ repo: str | int | None = "",
186
187
  enable_on_install: bool | typing.Any | None = True,
187
188
  url: str | typing.Any = "",
188
189
  ):
@@ -200,7 +201,7 @@ def pkg_install_files(
200
201
  :param filepath: filepath
201
202
  :type filepath: str | typing.Any
202
203
  :param repo: Local Repository, The local repository to install extensions into
203
- :type repo: str | int | typing.Any | None
204
+ :type repo: str | int | None
204
205
  :param enable_on_install: Enable on Install, Enable after installing
205
206
  :type enable_on_install: bool | typing.Any | None
206
207
  :param url: URL
bpy/ops/boid/__init__.pyi CHANGED
@@ -1,7 +1,8 @@
1
1
  import typing
2
2
  import bpy.types
3
3
 
4
- GenericType = typing.TypeVar("GenericType")
4
+ GenericType1 = typing.TypeVar("GenericType1")
5
+ GenericType2 = typing.TypeVar("GenericType2")
5
6
 
6
7
  def rule_add(
7
8
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,