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 bake_animation(
7
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -42,12 +44,12 @@ def mixdown(
42
44
  filter_blenlib: bool | typing.Any | None = False,
43
45
  filemode: typing.Any | None = 9,
44
46
  relative_path: bool | typing.Any | None = True,
45
- display_type: typing.Any | None = "DEFAULT",
46
- sort_method: str | int | typing.Any | None = "",
47
+ display_type: str | None = "DEFAULT",
48
+ sort_method: str | None = "",
47
49
  accuracy: typing.Any | None = 1024,
48
- container: typing.Any | None = "FLAC",
49
- codec: typing.Any | None = "FLAC",
50
- format: typing.Any | None = "S16",
50
+ container: str | None = "FLAC",
51
+ codec: str | None = "FLAC",
52
+ format: str | None = "S16",
51
53
  bitrate: typing.Any | None = 192,
52
54
  split_channels: bool | typing.Any | None = False,
53
55
  ):
@@ -111,9 +113,9 @@ def mixdown(
111
113
 
112
114
  THUMBNAIL
113
115
  Thumbnails -- Display files as thumbnails.
114
- :type display_type: typing.Any | None
116
+ :type display_type: str | None
115
117
  :param sort_method: File sorting mode
116
- :type sort_method: str | int | typing.Any | None
118
+ :type sort_method: str | None
117
119
  :param accuracy: Accuracy, Sample accuracy, important for animation data (the lower the value, the more accurate)
118
120
  :type accuracy: typing.Any | None
119
121
  :param container: Container, File format
@@ -138,7 +140,7 @@ def mixdown(
138
140
 
139
141
  WAV
140
142
  wav -- Waveform Audio File Format.
141
- :type container: typing.Any | None
143
+ :type container: str | None
142
144
  :param codec: Codec, Audio Codec
143
145
 
144
146
  AAC
@@ -161,7 +163,7 @@ def mixdown(
161
163
 
162
164
  VORBIS
163
165
  Vorbis -- Xiph.Org Vorbis Codec.
164
- :type codec: typing.Any | None
166
+ :type codec: str | None
165
167
  :param format: Format, Sample format
166
168
 
167
169
  U8
@@ -181,7 +183,7 @@ def mixdown(
181
183
 
182
184
  F64
183
185
  F64 -- 64-bit floating-point.
184
- :type format: typing.Any | None
186
+ :type format: str | None
185
187
  :param bitrate: Bitrate, Bitrate in kbit/s
186
188
  :type bitrate: typing.Any | None
187
189
  :param split_channels: Split channels, Each channel will be rendered into a mono file
@@ -218,8 +220,8 @@ def open(
218
220
  relative_path: bool | typing.Any | None = True,
219
221
  show_multiview: bool | typing.Any | None = False,
220
222
  use_multiview: bool | typing.Any | None = False,
221
- display_type: typing.Any | None = "DEFAULT",
222
- sort_method: str | int | typing.Any | None = "",
223
+ display_type: str | None = "DEFAULT",
224
+ sort_method: str | None = "",
223
225
  cache: bool | typing.Any | None = False,
224
226
  mono: bool | typing.Any | None = False,
225
227
  ):
@@ -289,9 +291,9 @@ def open(
289
291
 
290
292
  THUMBNAIL
291
293
  Thumbnails -- Display files as thumbnails.
292
- :type display_type: typing.Any | None
294
+ :type display_type: str | None
293
295
  :param sort_method: File sorting mode
294
- :type sort_method: str | int | typing.Any | None
296
+ :type sort_method: str | None
295
297
  :param cache: Cache, Cache the sound in memory
296
298
  :type cache: bool | typing.Any | None
297
299
  :param mono: Mono, Merge all the sound's channels into one
@@ -328,8 +330,8 @@ def open_mono(
328
330
  relative_path: bool | typing.Any | None = True,
329
331
  show_multiview: bool | typing.Any | None = False,
330
332
  use_multiview: bool | typing.Any | None = False,
331
- display_type: typing.Any | None = "DEFAULT",
332
- sort_method: str | int | typing.Any | None = "",
333
+ display_type: str | None = "DEFAULT",
334
+ sort_method: str | None = "",
333
335
  cache: bool | typing.Any | None = False,
334
336
  mono: bool | typing.Any | None = True,
335
337
  ):
@@ -399,9 +401,9 @@ def open_mono(
399
401
 
400
402
  THUMBNAIL
401
403
  Thumbnails -- Display files as thumbnails.
402
- :type display_type: typing.Any | None
404
+ :type display_type: str | None
403
405
  :param sort_method: File sorting mode
404
- :type sort_method: str | int | typing.Any | None
406
+ :type sort_method: str | None
405
407
  :param cache: Cache, Cache the sound in memory
406
408
  :type cache: bool | typing.Any | None
407
409
  :param mono: Mono, Mixdown the sound to mono
@@ -428,7 +430,7 @@ def unpack(
428
430
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
429
431
  execution_context: str | int | None = None,
430
432
  undo: bool | None = None,
431
- method: str | int | None = "USE_LOCAL",
433
+ method: str | None = "USE_LOCAL",
432
434
  id: str | typing.Any = "",
433
435
  ):
434
436
  """Unpack the sound to the samples filename
@@ -437,7 +439,7 @@ def unpack(
437
439
  :type execution_context: str | int | None
438
440
  :type undo: bool | None
439
441
  :param method: Method, How to unpack
440
- :type method: str | int | None
442
+ :type method: str | None
441
443
  :param id: Sound Name, Sound data-block name to unpack
442
444
  :type id: str | typing.Any
443
445
  """
@@ -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 add_row_filter_rule(
7
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -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 primitive_nurbs_surface_circle_add(
7
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -9,7 +11,7 @@ def primitive_nurbs_surface_circle_add(
9
11
  undo: bool | None = None,
10
12
  radius: typing.Any | None = 1.0,
11
13
  enter_editmode: bool | typing.Any | None = False,
12
- align: typing.Any | None = "WORLD",
14
+ align: str | None = "WORLD",
13
15
  location: typing.Any | None = (0.0, 0.0, 0.0),
14
16
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
15
17
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -33,7 +35,7 @@ def primitive_nurbs_surface_circle_add(
33
35
 
34
36
  CURSOR
35
37
  3D Cursor -- Use the 3D cursor orientation for the new object.
36
- :type align: typing.Any | None
38
+ :type align: str | None
37
39
  :param location: Location, Location for the newly added object
38
40
  :type location: typing.Any | None
39
41
  :param rotation: Rotation, Rotation for the newly added object
@@ -50,7 +52,7 @@ def primitive_nurbs_surface_curve_add(
50
52
  undo: bool | None = None,
51
53
  radius: typing.Any | None = 1.0,
52
54
  enter_editmode: bool | typing.Any | None = False,
53
- align: typing.Any | None = "WORLD",
55
+ align: str | None = "WORLD",
54
56
  location: typing.Any | None = (0.0, 0.0, 0.0),
55
57
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
56
58
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -74,7 +76,7 @@ def primitive_nurbs_surface_curve_add(
74
76
 
75
77
  CURSOR
76
78
  3D Cursor -- Use the 3D cursor orientation for the new object.
77
- :type align: typing.Any | None
79
+ :type align: str | None
78
80
  :param location: Location, Location for the newly added object
79
81
  :type location: typing.Any | None
80
82
  :param rotation: Rotation, Rotation for the newly added object
@@ -91,7 +93,7 @@ def primitive_nurbs_surface_cylinder_add(
91
93
  undo: bool | None = None,
92
94
  radius: typing.Any | None = 1.0,
93
95
  enter_editmode: bool | typing.Any | None = False,
94
- align: typing.Any | None = "WORLD",
96
+ align: str | None = "WORLD",
95
97
  location: typing.Any | None = (0.0, 0.0, 0.0),
96
98
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
97
99
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -115,7 +117,7 @@ def primitive_nurbs_surface_cylinder_add(
115
117
 
116
118
  CURSOR
117
119
  3D Cursor -- Use the 3D cursor orientation for the new object.
118
- :type align: typing.Any | None
120
+ :type align: str | None
119
121
  :param location: Location, Location for the newly added object
120
122
  :type location: typing.Any | None
121
123
  :param rotation: Rotation, Rotation for the newly added object
@@ -132,7 +134,7 @@ def primitive_nurbs_surface_sphere_add(
132
134
  undo: bool | None = None,
133
135
  radius: typing.Any | None = 1.0,
134
136
  enter_editmode: bool | typing.Any | None = False,
135
- align: typing.Any | None = "WORLD",
137
+ align: str | None = "WORLD",
136
138
  location: typing.Any | None = (0.0, 0.0, 0.0),
137
139
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
138
140
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -156,7 +158,7 @@ def primitive_nurbs_surface_sphere_add(
156
158
 
157
159
  CURSOR
158
160
  3D Cursor -- Use the 3D cursor orientation for the new object.
159
- :type align: typing.Any | None
161
+ :type align: str | None
160
162
  :param location: Location, Location for the newly added object
161
163
  :type location: typing.Any | None
162
164
  :param rotation: Rotation, Rotation for the newly added object
@@ -173,7 +175,7 @@ def primitive_nurbs_surface_surface_add(
173
175
  undo: bool | None = None,
174
176
  radius: typing.Any | None = 1.0,
175
177
  enter_editmode: bool | typing.Any | None = False,
176
- align: typing.Any | None = "WORLD",
178
+ align: str | None = "WORLD",
177
179
  location: typing.Any | None = (0.0, 0.0, 0.0),
178
180
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
179
181
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -197,7 +199,7 @@ def primitive_nurbs_surface_surface_add(
197
199
 
198
200
  CURSOR
199
201
  3D Cursor -- Use the 3D cursor orientation for the new object.
200
- :type align: typing.Any | None
202
+ :type align: str | None
201
203
  :param location: Location, Location for the newly added object
202
204
  :type location: typing.Any | None
203
205
  :param rotation: Rotation, Rotation for the newly added object
@@ -214,7 +216,7 @@ def primitive_nurbs_surface_torus_add(
214
216
  undo: bool | None = None,
215
217
  radius: typing.Any | None = 1.0,
216
218
  enter_editmode: bool | typing.Any | None = False,
217
- align: typing.Any | None = "WORLD",
219
+ align: str | None = "WORLD",
218
220
  location: typing.Any | None = (0.0, 0.0, 0.0),
219
221
  rotation: typing.Any | None = (0.0, 0.0, 0.0),
220
222
  scale: typing.Any | None = (0.0, 0.0, 0.0),
@@ -238,7 +240,7 @@ def primitive_nurbs_surface_torus_add(
238
240
 
239
241
  CURSOR
240
242
  3D Cursor -- Use the 3D cursor orientation for the new object.
241
- :type align: typing.Any | None
243
+ :type align: str | None
242
244
  :param location: Location, Location for the newly added object
243
245
  :type location: typing.Any | None
244
246
  :param rotation: Rotation, Rotation for the newly added object
bpy/ops/text/__init__.pyi CHANGED
@@ -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 autocomplete(
7
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -21,7 +23,7 @@ def comment_toggle(
21
23
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
22
24
  execution_context: str | int | None = None,
23
25
  undo: bool | None = None,
24
- type: typing.Any | None = "TOGGLE",
26
+ type: str | None = "TOGGLE",
25
27
  ):
26
28
  """Undocumented, consider contributing.
27
29
 
@@ -29,7 +31,7 @@ def comment_toggle(
29
31
  :type execution_context: str | int | None
30
32
  :type undo: bool | None
31
33
  :param type: Type, Add or remove comments
32
- :type type: typing.Any | None
34
+ :type type: str | None
33
35
  """
34
36
 
35
37
  ...
@@ -38,7 +40,7 @@ def convert_whitespace(
38
40
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
39
41
  execution_context: str | int | None = None,
40
42
  undo: bool | None = None,
41
- type: typing.Any | None = "SPACES",
43
+ type: str | None = "SPACES",
42
44
  ):
43
45
  """Convert whitespaces by type
44
46
 
@@ -46,7 +48,7 @@ def convert_whitespace(
46
48
  :type execution_context: str | int | None
47
49
  :type undo: bool | None
48
50
  :param type: Type, Type of whitespace to convert to
49
- :type type: typing.Any | None
51
+ :type type: str | None
50
52
  """
51
53
 
52
54
  ...
@@ -103,7 +105,7 @@ def delete(
103
105
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
104
106
  execution_context: str | int | None = None,
105
107
  undo: bool | None = None,
106
- type: typing.Any | None = "NEXT_CHARACTER",
108
+ type: str | None = "NEXT_CHARACTER",
107
109
  ):
108
110
  """Delete text by cursor position
109
111
 
@@ -111,7 +113,7 @@ def delete(
111
113
  :type execution_context: str | int | None
112
114
  :type undo: bool | None
113
115
  :param type: Type, Which part of the text to delete
114
- :type type: typing.Any | None
116
+ :type type: str | None
115
117
  """
116
118
 
117
119
  ...
@@ -289,7 +291,7 @@ def move(
289
291
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
290
292
  execution_context: str | int | None = None,
291
293
  undo: bool | None = None,
292
- type: typing.Any | None = "LINE_BEGIN",
294
+ type: str | None = "LINE_BEGIN",
293
295
  ):
294
296
  """Move cursor to position type
295
297
 
@@ -297,7 +299,7 @@ def move(
297
299
  :type execution_context: str | int | None
298
300
  :type undo: bool | None
299
301
  :param type: Type, Where to move cursor to
300
- :type type: typing.Any | None
302
+ :type type: str | None
301
303
  """
302
304
 
303
305
  ...
@@ -306,7 +308,7 @@ def move_lines(
306
308
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
307
309
  execution_context: str | int | None = None,
308
310
  undo: bool | None = None,
309
- direction: typing.Any | None = "DOWN",
311
+ direction: str | None = "DOWN",
310
312
  ):
311
313
  """Move the currently selected line(s) up/down
312
314
 
@@ -314,7 +316,7 @@ def move_lines(
314
316
  :type execution_context: str | int | None
315
317
  :type undo: bool | None
316
318
  :param direction: Direction
317
- :type direction: typing.Any | None
319
+ :type direction: str | None
318
320
  """
319
321
 
320
322
  ...
@@ -323,7 +325,7 @@ def move_select(
323
325
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
324
326
  execution_context: str | int | None = None,
325
327
  undo: bool | None = None,
326
- type: typing.Any | None = "LINE_BEGIN",
328
+ type: str | None = "LINE_BEGIN",
327
329
  ):
328
330
  """Move the cursor while selecting
329
331
 
@@ -331,7 +333,7 @@ def move_select(
331
333
  :type execution_context: str | int | None
332
334
  :type undo: bool | None
333
335
  :param type: Type, Where to move cursor to, to make a selection
334
- :type type: typing.Any | None
336
+ :type type: str | None
335
337
  """
336
338
 
337
339
  ...
@@ -375,8 +377,8 @@ def open(
375
377
  filter_folder: bool | typing.Any | None = True,
376
378
  filter_blenlib: bool | typing.Any | None = False,
377
379
  filemode: typing.Any | None = 9,
378
- display_type: typing.Any | None = "DEFAULT",
379
- sort_method: typing.Any | None = "",
380
+ display_type: str | None = "DEFAULT",
381
+ sort_method: str | None = "",
380
382
  internal: bool | typing.Any | None = False,
381
383
  ):
382
384
  """Open a new text data-block
@@ -439,7 +441,7 @@ def open(
439
441
 
440
442
  THUMBNAIL
441
443
  Thumbnails -- Display files as thumbnails.
442
- :type display_type: typing.Any | None
444
+ :type display_type: str | None
443
445
  :param sort_method: File sorting mode
444
446
 
445
447
  DEFAULT
@@ -456,7 +458,7 @@ def open(
456
458
 
457
459
  FILE_SORT_SIZE
458
460
  Size -- Sort files by size.
459
- :type sort_method: typing.Any | None
461
+ :type sort_method: str | None
460
462
  :param internal: Make Internal, Make text file internal after loading
461
463
  :type internal: bool | typing.Any | None
462
464
  """
@@ -557,7 +559,7 @@ def resolve_conflict(
557
559
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
558
560
  execution_context: str | int | None = None,
559
561
  undo: bool | None = None,
560
- resolution: typing.Any | None = "IGNORE",
562
+ resolution: str | None = "IGNORE",
561
563
  ):
562
564
  """When external text is out of sync, resolve the conflict
563
565
 
@@ -565,7 +567,7 @@ def resolve_conflict(
565
567
  :type execution_context: str | int | None
566
568
  :type undo: bool | None
567
569
  :param resolution: Resolution, How to solve conflict due to differences in internal and external text
568
- :type resolution: typing.Any | None
570
+ :type resolution: str | None
569
571
  """
570
572
 
571
573
  ...
@@ -623,8 +625,8 @@ def save_as(
623
625
  filter_folder: bool | typing.Any | None = True,
624
626
  filter_blenlib: bool | typing.Any | None = False,
625
627
  filemode: typing.Any | None = 9,
626
- display_type: typing.Any | None = "DEFAULT",
627
- sort_method: str | int | typing.Any | None = "",
628
+ display_type: str | None = "DEFAULT",
629
+ sort_method: str | None = "",
628
630
  ):
629
631
  """Save active text file with options
630
632
 
@@ -686,9 +688,9 @@ def save_as(
686
688
 
687
689
  THUMBNAIL
688
690
  Thumbnails -- Display files as thumbnails.
689
- :type display_type: typing.Any | None
691
+ :type display_type: str | None
690
692
  :param sort_method: File sorting mode
691
- :type sort_method: str | int | typing.Any | None
693
+ :type sort_method: str | None
692
694
  """
693
695
 
694
696
  ...
@@ -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 preset_add(
7
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -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 new(
7
9
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
@@ -35,7 +37,7 @@ def slot_move(
35
37
  override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
36
38
  execution_context: str | int | None = None,
37
39
  undo: bool | None = None,
38
- type: typing.Any | None = "UP",
40
+ type: str | None = "UP",
39
41
  ):
40
42
  """Move texture slots up and down
41
43
 
@@ -43,7 +45,7 @@ def slot_move(
43
45
  :type execution_context: str | int | None
44
46
  :type undo: bool | None
45
47
  :param type: Type
46
- :type type: typing.Any | None
48
+ :type type: str | None
47
49
  """
48
50
 
49
51
  ...