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
@@ -1,7 +1,9 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.types
3
4
 
4
- GenericType = typing.TypeVar("GenericType")
5
+ GenericType1 = typing.TypeVar("GenericType1")
6
+ GenericType2 = typing.TypeVar("GenericType2")
5
7
 
6
8
  def delete(
7
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -49,7 +51,7 @@ def freestyle_alpha_modifier_add(
49
51
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
50
52
  execution_context: str | int | None = None,
51
53
  undo: bool | None = None,
52
- type: str | int | None = "ALONG_STROKE",
54
+ type: str | None = "ALONG_STROKE",
53
55
  ):
54
56
  """Add an alpha transparency modifier to the line style associated with the active lineset
55
57
 
@@ -57,7 +59,7 @@ def freestyle_alpha_modifier_add(
57
59
  :type execution_context: str | int | None
58
60
  :type undo: bool | None
59
61
  :param type: Type
60
- :type type: str | int | None
62
+ :type type: str | None
61
63
  """
62
64
 
63
65
  ...
@@ -66,7 +68,7 @@ def freestyle_color_modifier_add(
66
68
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
67
69
  execution_context: str | int | None = None,
68
70
  undo: bool | None = None,
69
- type: str | int | None = "ALONG_STROKE",
71
+ type: str | None = "ALONG_STROKE",
70
72
  ):
71
73
  """Add a line color modifier to the line style associated with the active lineset
72
74
 
@@ -74,7 +76,7 @@ def freestyle_color_modifier_add(
74
76
  :type execution_context: str | int | None
75
77
  :type undo: bool | None
76
78
  :param type: Type
77
- :type type: str | int | None
79
+ :type type: str | None
78
80
  """
79
81
 
80
82
  ...
@@ -83,7 +85,7 @@ def freestyle_fill_range_by_selection(
83
85
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
84
86
  execution_context: str | int | None = None,
85
87
  undo: bool | None = None,
86
- type: typing.Any | None = "COLOR",
88
+ type: str | None = "COLOR",
87
89
  name: str | typing.Any = "",
88
90
  ):
89
91
  """Fill the Range Min/Max entries by the min/max distance between selected mesh objects and the source object (either a user-specified object or the active camera)
@@ -101,7 +103,7 @@ def freestyle_fill_range_by_selection(
101
103
 
102
104
  THICKNESS
103
105
  Thickness -- Thickness modifier type.
104
- :type type: typing.Any | None
106
+ :type type: str | None
105
107
  :param name: Name, Name of the modifier to work on
106
108
  :type name: str | typing.Any
107
109
  """
@@ -112,7 +114,7 @@ def freestyle_geometry_modifier_add(
112
114
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
113
115
  execution_context: str | int | None = None,
114
116
  undo: bool | None = None,
115
- type: str | int | None = "2D_OFFSET",
117
+ type: str | None = "2D_OFFSET",
116
118
  ):
117
119
  """Add a stroke geometry modifier to the line style associated with the active lineset
118
120
 
@@ -120,7 +122,7 @@ def freestyle_geometry_modifier_add(
120
122
  :type execution_context: str | int | None
121
123
  :type undo: bool | None
122
124
  :param type: Type
123
- :type type: str | int | None
125
+ :type type: str | None
124
126
  """
125
127
 
126
128
  ...
@@ -157,7 +159,7 @@ def freestyle_lineset_move(
157
159
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
158
160
  execution_context: str | int | None = None,
159
161
  undo: bool | None = None,
160
- direction: typing.Any | None = "UP",
162
+ direction: str | None = "UP",
161
163
  ):
162
164
  """Change the position of the active line set within the list of line sets
163
165
 
@@ -165,7 +167,7 @@ def freestyle_lineset_move(
165
167
  :type execution_context: str | int | None
166
168
  :type undo: bool | None
167
169
  :param direction: Direction, Direction to move the active line set towards
168
- :type direction: typing.Any | None
170
+ :type direction: str | None
169
171
  """
170
172
 
171
173
  ...
@@ -230,7 +232,7 @@ def freestyle_modifier_move(
230
232
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
231
233
  execution_context: str | int | None = None,
232
234
  undo: bool | None = None,
233
- direction: typing.Any | None = "UP",
235
+ direction: str | None = "UP",
234
236
  ):
235
237
  """Move the modifier within the list of modifiers
236
238
 
@@ -238,7 +240,7 @@ def freestyle_modifier_move(
238
240
  :type execution_context: str | int | None
239
241
  :type undo: bool | None
240
242
  :param direction: Direction, Direction to move the chosen modifier towards
241
- :type direction: typing.Any | None
243
+ :type direction: str | None
242
244
  """
243
245
 
244
246
  ...
@@ -275,7 +277,7 @@ def freestyle_module_move(
275
277
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
276
278
  execution_context: str | int | None = None,
277
279
  undo: bool | None = None,
278
- direction: typing.Any | None = "UP",
280
+ direction: str | None = "UP",
279
281
  ):
280
282
  """Change the position of the style module within in the list of style modules
281
283
 
@@ -283,7 +285,7 @@ def freestyle_module_move(
283
285
  :type execution_context: str | int | None
284
286
  :type undo: bool | None
285
287
  :param direction: Direction, Direction to move the chosen style module towards
286
- :type direction: typing.Any | None
288
+ :type direction: str | None
287
289
  """
288
290
 
289
291
  ...
@@ -340,7 +342,7 @@ def freestyle_thickness_modifier_add(
340
342
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
341
343
  execution_context: str | int | None = None,
342
344
  undo: bool | None = None,
343
- type: str | int | None = "ALONG_STROKE",
345
+ type: str | None = "ALONG_STROKE",
344
346
  ):
345
347
  """Add a line thickness modifier to the line style associated with the active lineset
346
348
 
@@ -348,7 +350,7 @@ def freestyle_thickness_modifier_add(
348
350
  :type execution_context: str | int | None
349
351
  :type undo: bool | None
350
352
  :param type: Type
351
- :type type: str | int | None
353
+ :type type: str | None
352
354
  """
353
355
 
354
356
  ...
@@ -418,7 +420,7 @@ def light_cache_bake(
418
420
  execution_context: str | int | None = None,
419
421
  undo: bool | None = None,
420
422
  delay: typing.Any | None = 0,
421
- subset: typing.Any | None = "ALL",
423
+ subset: str | None = "ALL",
422
424
  ):
423
425
  """Bake the active view layer lighting
424
426
 
@@ -437,7 +439,7 @@ def light_cache_bake(
437
439
 
438
440
  CUBEMAPS
439
441
  Cubemaps Only -- Try to only bake reflection cubemaps if irradiance grids are up to date.
440
- :type subset: typing.Any | None
442
+ :type subset: str | None
441
443
  """
442
444
 
443
445
  ...
@@ -460,7 +462,7 @@ def new(
460
462
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
461
463
  execution_context: str | int | None = None,
462
464
  undo: bool | None = None,
463
- type: typing.Any | None = "NEW",
465
+ type: str | None = "NEW",
464
466
  ):
465
467
  """Add new scene by type
466
468
 
@@ -480,7 +482,7 @@ def new(
480
482
 
481
483
  FULL_COPY
482
484
  Full Copy -- Make a full copy of the current scene.
483
- :type type: typing.Any | None
485
+ :type type: str | None
484
486
  """
485
487
 
486
488
  ...
@@ -489,7 +491,7 @@ def new_sequencer(
489
491
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
490
492
  execution_context: str | int | None = None,
491
493
  undo: bool | None = None,
492
- type: typing.Any | None = "NEW",
494
+ type: str | None = "NEW",
493
495
  ):
494
496
  """Add new scene by type in the sequence editor and assign to active strip
495
497
 
@@ -509,7 +511,7 @@ def new_sequencer(
509
511
 
510
512
  FULL_COPY
511
513
  Full Copy -- Make a full copy of the current scene.
512
- :type type: typing.Any | None
514
+ :type type: str | None
513
515
  """
514
516
 
515
517
  ...
@@ -546,7 +548,7 @@ def view_layer_add(
546
548
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
547
549
  execution_context: str | int | None = None,
548
550
  undo: bool | None = None,
549
- type: typing.Any | None = "NEW",
551
+ type: str | None = "NEW",
550
552
  ):
551
553
  """Add a view layer
552
554
 
@@ -563,7 +565,7 @@ def view_layer_add(
563
565
 
564
566
  EMPTY
565
567
  Blank -- Add a new view layer with all collections disabled.
566
- :type type: typing.Any | None
568
+ :type type: str | None
567
569
  """
568
570
 
569
571
  ...
@@ -1,7 +1,9 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.types
3
4
 
4
- GenericType = typing.TypeVar("GenericType")
5
+ GenericType1 = typing.TypeVar("GenericType1")
6
+ GenericType2 = typing.TypeVar("GenericType2")
5
7
 
6
8
  def actionzone(
7
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -157,7 +159,7 @@ def area_split(
157
159
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
158
160
  execution_context: str | int | None = None,
159
161
  undo: bool | None = None,
160
- direction: typing.Any | None = "HORIZONTAL",
162
+ direction: str | None = "HORIZONTAL",
161
163
  factor: typing.Any | None = 0.5,
162
164
  cursor: typing.Any | None = (0, 0),
163
165
  ):
@@ -167,7 +169,7 @@ def area_split(
167
169
  :type execution_context: str | int | None
168
170
  :type undo: bool | None
169
171
  :param direction: Direction
170
- :type direction: typing.Any | None
172
+ :type direction: str | None
171
173
  :param factor: Factor
172
174
  :type factor: typing.Any | None
173
175
  :param cursor: Cursor
@@ -433,7 +435,7 @@ def region_toggle(
433
435
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
434
436
  execution_context: str | int | None = None,
435
437
  undo: bool | None = None,
436
- region_type: str | int | None = "WINDOW",
438
+ region_type: str | None = "WINDOW",
437
439
  ):
438
440
  """Hide or unhide the region
439
441
 
@@ -441,7 +443,7 @@ def region_toggle(
441
443
  :type execution_context: str | int | None
442
444
  :type undo: bool | None
443
445
  :param region_type: Region Type, Type of the region to toggle
444
- :type region_type: str | int | None
446
+ :type region_type: str | None
445
447
  """
446
448
 
447
449
  ...
@@ -538,8 +540,8 @@ def screenshot(
538
540
  filemode: typing.Any | None = 9,
539
541
  show_multiview: bool | typing.Any | None = False,
540
542
  use_multiview: bool | typing.Any | None = False,
541
- display_type: typing.Any | None = "DEFAULT",
542
- sort_method: str | int | typing.Any | None = "",
543
+ display_type: str | None = "DEFAULT",
544
+ sort_method: str | None = "",
543
545
  ):
544
546
  """Capture a picture of the whole Blender window
545
547
 
@@ -605,9 +607,9 @@ def screenshot(
605
607
 
606
608
  THUMBNAIL
607
609
  Thumbnails -- Display files as thumbnails.
608
- :type display_type: typing.Any | None
610
+ :type display_type: str | None
609
611
  :param sort_method: File sorting mode
610
- :type sort_method: str | int | typing.Any | None
612
+ :type sort_method: str | None
611
613
  """
612
614
 
613
615
  ...
@@ -639,8 +641,8 @@ def screenshot_area(
639
641
  filemode: typing.Any | None = 9,
640
642
  show_multiview: bool | typing.Any | None = False,
641
643
  use_multiview: bool | typing.Any | None = False,
642
- display_type: typing.Any | None = "DEFAULT",
643
- sort_method: str | int | typing.Any | None = "",
644
+ display_type: str | None = "DEFAULT",
645
+ sort_method: str | None = "",
644
646
  ):
645
647
  """Capture a picture of an editor
646
648
 
@@ -706,9 +708,9 @@ def screenshot_area(
706
708
 
707
709
  THUMBNAIL
708
710
  Thumbnails -- Display files as thumbnails.
709
- :type display_type: typing.Any | None
711
+ :type display_type: str | None
710
712
  :param sort_method: File sorting mode
711
- :type sort_method: str | int | typing.Any | None
713
+ :type sort_method: str | None
712
714
  """
713
715
 
714
716
  ...
@@ -717,7 +719,7 @@ def space_context_cycle(
717
719
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
718
720
  execution_context: str | int | None = None,
719
721
  undo: bool | None = None,
720
- direction: typing.Any | None = "NEXT",
722
+ direction: str | None = "NEXT",
721
723
  ):
722
724
  """Cycle through the editor context by activating the next/previous one
723
725
 
@@ -725,7 +727,7 @@ def space_context_cycle(
725
727
  :type execution_context: str | int | None
726
728
  :type undo: bool | None
727
729
  :param direction: Direction, Direction to cycle through
728
- :type direction: typing.Any | None
730
+ :type direction: str | None
729
731
  """
730
732
 
731
733
  ...
@@ -734,7 +736,7 @@ def space_type_set_or_cycle(
734
736
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
735
737
  execution_context: str | int | None = None,
736
738
  undo: bool | None = None,
737
- space_type: str | int | None = "EMPTY",
739
+ space_type: str | None = "EMPTY",
738
740
  ):
739
741
  """Set the space type or cycle subtype
740
742
 
@@ -742,7 +744,7 @@ def space_type_set_or_cycle(
742
744
  :type execution_context: str | int | None
743
745
  :type undo: bool | None
744
746
  :param space_type: Type
745
- :type space_type: str | int | None
747
+ :type space_type: str | None
746
748
  """
747
749
 
748
750
  ...
@@ -765,7 +767,7 @@ def userpref_show(
765
767
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
766
768
  execution_context: str | int | None = None,
767
769
  undo: bool | None = None,
768
- section: str | int | None = "INTERFACE",
770
+ section: str | None = "INTERFACE",
769
771
  ):
770
772
  """Edit user preferences and system settings
771
773
 
@@ -773,7 +775,7 @@ def userpref_show(
773
775
  :type execution_context: str | int | None
774
776
  :type undo: bool | None
775
777
  :param section: Section to activate in the Preferences
776
- :type section: str | int | None
778
+ :type section: str | None
777
779
  """
778
780
 
779
781
  ...
@@ -782,7 +784,7 @@ def workspace_cycle(
782
784
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
783
785
  execution_context: str | int | None = None,
784
786
  undo: bool | None = None,
785
- direction: typing.Any | None = "NEXT",
787
+ direction: str | None = "NEXT",
786
788
  ):
787
789
  """Cycle through workspaces
788
790
 
@@ -790,7 +792,7 @@ def workspace_cycle(
790
792
  :type execution_context: str | int | None
791
793
  :type undo: bool | None
792
794
  :param direction: Direction, Direction to cycle through
793
- :type direction: typing.Any | None
795
+ :type direction: str | None
794
796
  """
795
797
 
796
798
  ...
@@ -1,7 +1,9 @@
1
1
  import typing
2
+ import collections.abc
2
3
  import bpy.types
3
4
 
4
- GenericType = typing.TypeVar("GenericType")
5
+ GenericType1 = typing.TypeVar("GenericType1")
6
+ GenericType2 = typing.TypeVar("GenericType2")
5
7
 
6
8
  def execute_preset(
7
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,