fake-bpy-module 20240224__py3-none-any.whl → 20240326__py3-none-any.whl

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

Potentially problematic release.


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

Files changed (293) hide show
  1. addon_utils/__init__.pyi +54 -10
  2. animsys_refactor/__init__.pyi +36 -6
  3. aud/__init__.pyi +132 -125
  4. bgl/__init__.pyi +2545 -546
  5. bl_app_override/__init__.pyi +14 -3
  6. bl_app_override/helpers/__init__.pyi +24 -2
  7. bl_app_template_utils/__init__.pyi +19 -4
  8. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
  9. bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
  10. bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
  11. bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
  12. bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
  13. bl_i18n_utils/merge_po/__init__.pyi +4 -1
  14. bl_i18n_utils/settings/__init__.pyi +53 -6
  15. bl_i18n_utils/utils/__init__.pyi +332 -44
  16. bl_i18n_utils/utils_cli/__init__.pyi +29 -6
  17. bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
  18. bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
  19. bl_keymap_utils/io/__init__.pyi +44 -9
  20. bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
  21. bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
  22. bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
  23. bl_keymap_utils/versioning/__init__.pyi +4 -1
  24. bl_math/__init__.pyi +3 -3
  25. bl_operators/__init__.pyi +9 -2
  26. bl_operators/add_mesh_torus/__init__.pyi +171 -37
  27. bl_operators/anim/__init__.pyi +1065 -226
  28. bl_operators/assets/__init__.pyi +427 -92
  29. bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
  30. bl_operators/clip/__init__.pyi +1342 -287
  31. bl_operators/console/__init__.pyi +647 -140
  32. bl_operators/constraint/__init__.pyi +524 -112
  33. bl_operators/file/__init__.pyi +396 -84
  34. bl_operators/freestyle/__init__.pyi +532 -113
  35. bl_operators/geometry_nodes/__init__.pyi +2412 -596
  36. bl_operators/image/__init__.pyi +380 -82
  37. bl_operators/mesh/__init__.pyi +401 -85
  38. bl_operators/node/__init__.pyi +1756 -384
  39. bl_operators/object/__init__.pyi +2022 -552
  40. bl_operators/object_align/__init__.pyi +145 -31
  41. bl_operators/object_quick_effects/__init__.pyi +555 -124
  42. bl_operators/object_randomize_transform/__init__.pyi +136 -32
  43. bl_operators/presets/__init__.pyi +3516 -708
  44. bl_operators/rigidbody/__init__.pyi +401 -85
  45. bl_operators/screen_play_rendered_anim/__init__.pyi +129 -29
  46. bl_operators/sequencer/__init__.pyi +731 -149
  47. bl_operators/spreadsheet/__init__.pyi +145 -30
  48. bl_operators/userpref/__init__.pyi +3416 -824
  49. bl_operators/uvcalc_follow_active/__init__.pyi +149 -32
  50. bl_operators/uvcalc_lightmap/__init__.pyi +187 -34
  51. bl_operators/uvcalc_transform/__init__.pyi +344 -73
  52. bl_operators/vertexpaint_dirt/__init__.pyi +140 -30
  53. bl_operators/view3d/__init__.pyi +697 -146
  54. bl_operators/wm/__init__.pyi +6287 -1533
  55. bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
  56. bl_rna_utils/data_path/__init__.pyi +12 -2
  57. bl_text_utils/external_editor/__init__.pyi +4 -1
  58. bl_ui/__init__.pyi +504 -106
  59. bl_ui/anim/__init__.pyi +164 -33
  60. bl_ui/asset_shelf/__init__.pyi +146 -31
  61. bl_ui/generic_ui_list/__init__.pyi +471 -99
  62. bl_ui/node_add_menu/__init__.pyi +196 -40
  63. bl_ui/node_add_menu_compositor/__init__.pyi +3017 -621
  64. bl_ui/node_add_menu_geometry/__init__.pyi +8060 -1625
  65. bl_ui/node_add_menu_shader/__init__.pyi +1709 -348
  66. bl_ui/node_add_menu_texture/__init__.pyi +1502 -305
  67. bl_ui/properties_animviz/__init__.pyi +32 -2
  68. bl_ui/properties_collection/__init__.pyi +787 -179
  69. bl_ui/properties_constraint/__init__.pyi +28635 -5523
  70. bl_ui/properties_data_armature/__init__.pyi +1905 -448
  71. bl_ui/properties_data_bone/__init__.pyi +1560 -336
  72. bl_ui/properties_data_camera/__init__.pyi +2269 -494
  73. bl_ui/properties_data_curve/__init__.pyi +2362 -534
  74. bl_ui/properties_data_curves/__init__.pyi +951 -203
  75. bl_ui/properties_data_empty/__init__.pyi +317 -69
  76. bl_ui/properties_data_gpencil/__init__.pyi +2924 -734
  77. bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -188
  78. bl_ui/properties_data_lattice/__init__.pyi +472 -104
  79. bl_ui/properties_data_light/__init__.pyi +1570 -337
  80. bl_ui/properties_data_lightprobe/__init__.pyi +938 -208
  81. bl_ui/properties_data_mesh/__init__.pyi +3205 -767
  82. bl_ui/properties_data_metaball/__init__.pyi +774 -170
  83. bl_ui/properties_data_modifier/__init__.pyi +1554 -328
  84. bl_ui/properties_data_pointcloud/__init__.pyi +821 -194
  85. bl_ui/properties_data_shaderfx/__init__.pyi +154 -34
  86. bl_ui/properties_data_speaker/__init__.pyi +782 -168
  87. bl_ui/properties_data_volume/__init__.pyi +1243 -281
  88. bl_ui/properties_freestyle/__init__.pyi +4071 -1030
  89. bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -483
  90. bl_ui/properties_mask_common/__init__.pyi +1256 -249
  91. bl_ui/properties_material/__init__.pyi +2351 -542
  92. bl_ui/properties_material_gpencil/__init__.pyi +1590 -365
  93. bl_ui/properties_object/__init__.pyi +2179 -512
  94. bl_ui/properties_output/__init__.pyi +2956 -705
  95. bl_ui/properties_paint_common/__init__.pyi +947 -140
  96. bl_ui/properties_particle/__init__.pyi +8322 -1970
  97. bl_ui/properties_physics_cloth/__init__.pyi +2254 -508
  98. bl_ui/properties_physics_common/__init__.pyi +200 -44
  99. bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -965
  100. bl_ui/properties_physics_field/__init__.pyi +1695 -364
  101. bl_ui/properties_physics_fluid/__init__.pyi +6127 -1280
  102. bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -32
  103. bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -278
  104. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -483
  105. bl_ui/properties_physics_softbody/__init__.pyi +2394 -542
  106. bl_ui/properties_render/__init__.pyi +8312 -1933
  107. bl_ui/properties_scene/__init__.pyi +2211 -539
  108. bl_ui/properties_texture/__init__.pyi +4185 -1013
  109. bl_ui/properties_view_layer/__init__.pyi +2803 -664
  110. bl_ui/properties_workspace/__init__.pyi +626 -148
  111. bl_ui/properties_world/__init__.pyi +1092 -234
  112. bl_ui/space_clip/__init__.pyi +11475 -2805
  113. bl_ui/space_console/__init__.pyi +967 -202
  114. bl_ui/space_dopesheet/__init__.pyi +4260 -966
  115. bl_ui/space_filebrowser/__init__.pyi +4852 -1187
  116. bl_ui/space_graph/__init__.pyi +3251 -702
  117. bl_ui/space_image/__init__.pyi +12219 -2968
  118. bl_ui/space_info/__init__.pyi +964 -200
  119. bl_ui/space_nla/__init__.pyi +2756 -584
  120. bl_ui/space_node/__init__.pyi +5661 -1265
  121. bl_ui/space_outliner/__init__.pyi +2294 -478
  122. bl_ui/space_properties/__init__.pyi +417 -92
  123. bl_ui/space_sequencer/__init__.pyi +12436 -3009
  124. bl_ui/space_spreadsheet/__init__.pyi +184 -36
  125. bl_ui/space_statusbar/__init__.pyi +135 -30
  126. bl_ui/space_text/__init__.pyi +2556 -542
  127. bl_ui/space_time/__init__.pyi +1151 -243
  128. bl_ui/space_toolsystem_common/__init__.pyi +368 -66
  129. bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -228
  130. bl_ui/space_topbar/__init__.pyi +4214 -887
  131. bl_ui/space_userpref/__init__.pyi +13920 -3468
  132. bl_ui/space_view3d/__init__.pyi +43701 -10599
  133. bl_ui/space_view3d_toolbar/__init__.pyi +16380 -3860
  134. bl_ui/utils/__init__.pyi +42 -4
  135. bl_ui_utils/bug_report_url/__init__.pyi +4 -1
  136. bl_ui_utils/layout/__init__.pyi +4 -1
  137. blend_render_info/__init__.pyi +13 -3
  138. blf/__init__.pyi +5 -7
  139. bmesh/__init__.pyi +7 -7
  140. bmesh/geometry/__init__.pyi +5 -5
  141. bmesh/ops/__init__.pyi +490 -504
  142. bmesh/types/__init__.pyi +268 -262
  143. bmesh/utils/__init__.pyi +55 -55
  144. bpy/__init__.pyi +2 -2
  145. bpy/app/__init__.pyi +4 -5
  146. bpy/app/handlers/__init__.pyi +36 -36
  147. bpy/app/icons/__init__.pyi +8 -10
  148. bpy/app/timers/__init__.pyi +9 -11
  149. bpy/app/translations/__init__.pyi +20 -22
  150. bpy/msgbus/__init__.pyi +3 -12
  151. bpy/ops/action/__init__.pyi +350 -305
  152. bpy/ops/anim/__init__.pyi +464 -426
  153. bpy/ops/armature/__init__.pyi +392 -360
  154. bpy/ops/asset/__init__.pyi +166 -129
  155. bpy/ops/boid/__init__.pyi +64 -37
  156. bpy/ops/brush/__init__.pyi +78 -72
  157. bpy/ops/buttons/__init__.pyi +136 -122
  158. bpy/ops/cachefile/__init__.pyi +128 -123
  159. bpy/ops/camera/__init__.pyi +22 -24
  160. bpy/ops/clip/__init__.pyi +844 -735
  161. bpy/ops/cloth/__init__.pyi +10 -11
  162. bpy/ops/collection/__init__.pyi +38 -38
  163. bpy/ops/console/__init__.pyi +170 -141
  164. bpy/ops/constraint/__init__.pyi +156 -159
  165. bpy/ops/curve/__init__.pyi +518 -461
  166. bpy/ops/curves/__init__.pyi +188 -159
  167. bpy/ops/cycles/__init__.pyi +20 -18
  168. bpy/ops/dpaint/__init__.pyi +40 -30
  169. bpy/ops/ed/__init__.pyi +136 -107
  170. bpy/ops/export_anim/__init__.pyi +18 -19
  171. bpy/ops/export_mesh/__init__.pyi +26 -27
  172. bpy/ops/export_scene/__init__.pyi +313 -334
  173. bpy/ops/file/__init__.pyi +394 -304
  174. bpy/ops/fluid/__init__.pyi +114 -63
  175. bpy/ops/font/__init__.pyi +272 -245
  176. bpy/ops/geometry/__init__.pyi +92 -87
  177. bpy/ops/gizmogroup/__init__.pyi +24 -21
  178. bpy/ops/gpencil/__init__.pyi +1530 -1476
  179. bpy/ops/graph/__init__.pyi +680 -659
  180. bpy/ops/grease_pencil/__init__.pyi +510 -390
  181. bpy/ops/image/__init__.pyi +650 -603
  182. bpy/ops/import_anim/__init__.pyi +26 -27
  183. bpy/ops/import_curve/__init__.pyi +6 -7
  184. bpy/ops/import_mesh/__init__.pyi +18 -21
  185. bpy/ops/import_scene/__init__.pyi +86 -95
  186. bpy/ops/info/__init__.pyi +68 -55
  187. bpy/ops/lattice/__init__.pyi +70 -63
  188. bpy/ops/marker/__init__.pyi +110 -111
  189. bpy/ops/mask/__init__.pyi +352 -308
  190. bpy/ops/material/__init__.pyi +24 -12
  191. bpy/ops/mball/__init__.pyi +72 -75
  192. bpy/ops/mesh/__init__.pyi +2052 -2088
  193. bpy/ops/nla/__init__.pyi +369 -313
  194. bpy/ops/node/__init__.pyi +944 -805
  195. bpy/ops/object/__init__.pyi +2662 -2461
  196. bpy/ops/outliner/__init__.pyi +582 -431
  197. bpy/ops/paint/__init__.pyi +605 -516
  198. bpy/ops/paintcurve/__init__.pyi +72 -60
  199. bpy/ops/palette/__init__.pyi +54 -46
  200. bpy/ops/particle/__init__.pyi +302 -245
  201. bpy/ops/pose/__init__.pyi +366 -330
  202. bpy/ops/poselib/__init__.pyi +78 -64
  203. bpy/ops/preferences/__init__.pyi +361 -341
  204. bpy/ops/ptcache/__init__.pyi +56 -38
  205. bpy/ops/render/__init__.pyi +120 -117
  206. bpy/ops/rigidbody/__init__.pyi +114 -97
  207. bpy/ops/scene/__init__.pyi +302 -240
  208. bpy/ops/screen/__init__.pyi +414 -363
  209. bpy/ops/script/__init__.pyi +20 -18
  210. bpy/ops/sculpt/__init__.pyi +414 -452
  211. bpy/ops/sculpt_curves/__init__.pyi +42 -43
  212. bpy/ops/sequencer/__init__.pyi +1094 -1053
  213. bpy/ops/sound/__init__.pyi +214 -206
  214. bpy/ops/spreadsheet/__init__.pyi +34 -28
  215. bpy/ops/surface/__init__.pyi +108 -114
  216. bpy/ops/text/__init__.pyi +432 -350
  217. bpy/ops/text_editor/__init__.pyi +10 -11
  218. bpy/ops/texture/__init__.pyi +32 -21
  219. bpy/ops/transform/__init__.pyi +801 -854
  220. bpy/ops/ui/__init__.pyi +254 -185
  221. bpy/ops/uilist/__init__.pyi +20 -23
  222. bpy/ops/uv/__init__.pyi +618 -626
  223. bpy/ops/view2d/__init__.pyi +162 -161
  224. bpy/ops/view3d/__init__.pyi +669 -658
  225. bpy/ops/wm/__init__.pyi +2433 -2415
  226. bpy/ops/workspace/__init__.pyi +54 -31
  227. bpy/ops/world/__init__.pyi +8 -4
  228. bpy/path/__init__.pyi +111 -68
  229. bpy/props/__init__.pyi +263 -267
  230. bpy/types/__init__.pyi +86789 -85719
  231. bpy/utils/__init__.pyi +265 -123
  232. bpy/utils/previews/__init__.pyi +103 -17
  233. bpy/utils/units/__init__.pyi +19 -22
  234. bpy_extras/__init__.pyi +0 -4
  235. bpy_extras/anim_utils/__init__.pyi +11 -46
  236. bpy_extras/asset_utils/__init__.pyi +3 -12
  237. bpy_extras/id_map_utils/__init__.pyi +0 -2
  238. bpy_extras/image_utils/__init__.pyi +2 -2
  239. bpy_extras/io_utils/__init__.pyi +30 -27
  240. bpy_extras/keyconfig_utils/__init__.pyi +4 -1
  241. bpy_extras/mesh_utils/__init__.pyi +18 -18
  242. bpy_extras/node_utils/__init__.pyi +4 -3
  243. bpy_extras/object_utils/__init__.pyi +25 -26
  244. bpy_extras/view3d_utils/__init__.pyi +33 -38
  245. bpy_restrict_state/__init__.pyi +14 -1
  246. bpy_types/__init__.pyi +3873 -997
  247. console_python/__init__.pyi +41 -7
  248. console_shell/__init__.pyi +24 -5
  249. {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
  250. fake_bpy_module-20240326.dist-info/RECORD +343 -0
  251. {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
  252. freestyle/chainingiterators/__init__.pyi +50 -52
  253. freestyle/functions/__init__.pyi +303 -207
  254. freestyle/predicates/__init__.pyi +299 -115
  255. freestyle/shaders/__init__.pyi +49 -80
  256. freestyle/types/__init__.pyi +465 -472
  257. freestyle/utils/ContextFunctions/__init__.pyi +9 -9
  258. freestyle/utils/__init__.pyi +28 -18
  259. gpu/capabilities/__init__.pyi +27 -19
  260. gpu/matrix/__init__.pyi +14 -16
  261. gpu/platform/__init__.pyi +5 -5
  262. gpu/shader/__init__.pyi +2 -5
  263. gpu/state/__init__.pyi +1 -1
  264. gpu/texture/__init__.pyi +3 -3
  265. gpu/types/__init__.pyi +54 -85
  266. gpu_extras/batch/__init__.pyi +27 -5
  267. gpu_extras/presets/__init__.pyi +52 -14
  268. graphviz_export/__init__.pyi +9 -2
  269. idprop/types/__init__.pyi +36 -12
  270. imbuf/__init__.pyi +8 -9
  271. imbuf/types/__init__.pyi +8 -15
  272. keyingsets_builtins/__init__.pyi +3149 -701
  273. keyingsets_utils/__init__.pyi +69 -14
  274. mathutils/__init__.pyi +502 -427
  275. mathutils/bvhtree/__init__.pyi +28 -32
  276. mathutils/geometry/__init__.pyi +177 -186
  277. mathutils/kdtree/__init__.pyi +16 -18
  278. mathutils/noise/__init__.pyi +47 -48
  279. nodeitems_builtins/__init__.pyi +50 -10
  280. nodeitems_utils/__init__.pyi +58 -10
  281. rna_info/__init__.pyi +230 -26
  282. rna_keymap_ui/__init__.pyi +29 -6
  283. rna_prop_ui/__init__.pyi +69 -12
  284. rna_xml/__init__.pyi +29 -6
  285. sys_info/__init__.pyi +4 -1
  286. bpy_extras/bmesh_utils/__init__.pyi +0 -6
  287. bpy_extras/extensions/__init__.pyi +0 -4
  288. bpy_extras/extensions/junction_module/__init__.pyi +0 -12
  289. bpy_extras/node_shader_utils/__init__.pyi +0 -131
  290. bpy_extras/wm_utils/__init__.pyi +0 -4
  291. bpy_extras/wm_utils/progress_report/__init__.pyi +0 -29
  292. fake_bpy_module-20240224.dist-info/RECORD +0 -349
  293. {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/text/__init__.pyi CHANGED
@@ -3,173 +3,200 @@ import bpy.types
3
3
 
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
- def autocomplete(override_context=None, execution_context=None, undo=None):
6
+ def autocomplete(
7
+ override_context: typing.Union[dict, bpy.types.Context] = None,
8
+ execution_context: typing.Union[str, int] = None,
9
+ undo: bool = None,
10
+ ):
7
11
  """Show a list of used text in the open document
8
12
 
9
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
10
- :type execution_context: typing.Optional[typing.Union[int, str]]
11
- :type undo: typing.Optional[bool]
13
+ :type override_context: typing.Union[dict, bpy.types.Context]
14
+ :type execution_context: typing.Union[str, int]
15
+ :type undo: bool
12
16
  """
13
17
 
14
18
  ...
15
19
 
16
20
  def comment_toggle(
17
- override_context=None,
18
- execution_context=None,
19
- undo=None,
20
- *,
21
- type: typing.Optional[typing.Any] = "TOGGLE",
21
+ override_context: typing.Union[dict, bpy.types.Context] = None,
22
+ execution_context: typing.Union[str, int] = None,
23
+ undo: bool = None,
24
+ type: typing.Any = "TOGGLE",
22
25
  ):
23
26
  """Undocumented, consider contributing.
24
27
 
25
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
26
- :type execution_context: typing.Optional[typing.Union[int, str]]
27
- :type undo: typing.Optional[bool]
28
+ :type override_context: typing.Union[dict, bpy.types.Context]
29
+ :type execution_context: typing.Union[str, int]
30
+ :type undo: bool
28
31
  :param type: Type, Add or remove comments
29
- :type type: typing.Optional[typing.Any]
32
+ :type type: typing.Any
30
33
  """
31
34
 
32
35
  ...
33
36
 
34
37
  def convert_whitespace(
35
- override_context=None,
36
- execution_context=None,
37
- undo=None,
38
- *,
39
- type: typing.Optional[typing.Any] = "SPACES",
38
+ override_context: typing.Union[dict, bpy.types.Context] = None,
39
+ execution_context: typing.Union[str, int] = None,
40
+ undo: bool = None,
41
+ type: typing.Any = "SPACES",
40
42
  ):
41
43
  """Convert whitespaces by type
42
44
 
43
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
44
- :type execution_context: typing.Optional[typing.Union[int, str]]
45
- :type undo: typing.Optional[bool]
45
+ :type override_context: typing.Union[dict, bpy.types.Context]
46
+ :type execution_context: typing.Union[str, int]
47
+ :type undo: bool
46
48
  :param type: Type, Type of whitespace to convert to
47
- :type type: typing.Optional[typing.Any]
49
+ :type type: typing.Any
48
50
  """
49
51
 
50
52
  ...
51
53
 
52
- def copy(override_context=None, execution_context=None, undo=None):
54
+ def copy(
55
+ override_context: typing.Union[dict, bpy.types.Context] = None,
56
+ execution_context: typing.Union[str, int] = None,
57
+ undo: bool = None,
58
+ ):
53
59
  """Copy selected text to clipboard
54
60
 
55
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
56
- :type execution_context: typing.Optional[typing.Union[int, str]]
57
- :type undo: typing.Optional[bool]
61
+ :type override_context: typing.Union[dict, bpy.types.Context]
62
+ :type execution_context: typing.Union[str, int]
63
+ :type undo: bool
58
64
  """
59
65
 
60
66
  ...
61
67
 
62
68
  def cursor_set(
63
- override_context=None,
64
- execution_context=None,
65
- undo=None,
66
- *,
67
- x: typing.Optional[typing.Any] = 0,
68
- y: typing.Optional[typing.Any] = 0,
69
+ override_context: typing.Union[dict, bpy.types.Context] = None,
70
+ execution_context: typing.Union[str, int] = None,
71
+ undo: bool = None,
72
+ x: typing.Any = 0,
73
+ y: typing.Any = 0,
69
74
  ):
70
75
  """Set cursor position
71
76
 
72
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
73
- :type execution_context: typing.Optional[typing.Union[int, str]]
74
- :type undo: typing.Optional[bool]
77
+ :type override_context: typing.Union[dict, bpy.types.Context]
78
+ :type execution_context: typing.Union[str, int]
79
+ :type undo: bool
75
80
  :param x: X
76
- :type x: typing.Optional[typing.Any]
81
+ :type x: typing.Any
77
82
  :param y: Y
78
- :type y: typing.Optional[typing.Any]
83
+ :type y: typing.Any
79
84
  """
80
85
 
81
86
  ...
82
87
 
83
- def cut(override_context=None, execution_context=None, undo=None):
88
+ def cut(
89
+ override_context: typing.Union[dict, bpy.types.Context] = None,
90
+ execution_context: typing.Union[str, int] = None,
91
+ undo: bool = None,
92
+ ):
84
93
  """Cut selected text to clipboard
85
94
 
86
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
87
- :type execution_context: typing.Optional[typing.Union[int, str]]
88
- :type undo: typing.Optional[bool]
95
+ :type override_context: typing.Union[dict, bpy.types.Context]
96
+ :type execution_context: typing.Union[str, int]
97
+ :type undo: bool
89
98
  """
90
99
 
91
100
  ...
92
101
 
93
102
  def delete(
94
- override_context=None,
95
- execution_context=None,
96
- undo=None,
97
- *,
98
- type: typing.Optional[typing.Any] = "NEXT_CHARACTER",
103
+ override_context: typing.Union[dict, bpy.types.Context] = None,
104
+ execution_context: typing.Union[str, int] = None,
105
+ undo: bool = None,
106
+ type: typing.Any = "NEXT_CHARACTER",
99
107
  ):
100
108
  """Delete text by cursor position
101
109
 
102
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
103
- :type execution_context: typing.Optional[typing.Union[int, str]]
104
- :type undo: typing.Optional[bool]
110
+ :type override_context: typing.Union[dict, bpy.types.Context]
111
+ :type execution_context: typing.Union[str, int]
112
+ :type undo: bool
105
113
  :param type: Type, Which part of the text to delete
106
- :type type: typing.Optional[typing.Any]
114
+ :type type: typing.Any
107
115
  """
108
116
 
109
117
  ...
110
118
 
111
- def duplicate_line(override_context=None, execution_context=None, undo=None):
119
+ def duplicate_line(
120
+ override_context: typing.Union[dict, bpy.types.Context] = None,
121
+ execution_context: typing.Union[str, int] = None,
122
+ undo: bool = None,
123
+ ):
112
124
  """Duplicate the current line
113
125
 
114
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
115
- :type execution_context: typing.Optional[typing.Union[int, str]]
116
- :type undo: typing.Optional[bool]
126
+ :type override_context: typing.Union[dict, bpy.types.Context]
127
+ :type execution_context: typing.Union[str, int]
128
+ :type undo: bool
117
129
  """
118
130
 
119
131
  ...
120
132
 
121
- def find(override_context=None, execution_context=None, undo=None):
133
+ def find(
134
+ override_context: typing.Union[dict, bpy.types.Context] = None,
135
+ execution_context: typing.Union[str, int] = None,
136
+ undo: bool = None,
137
+ ):
122
138
  """Find specified text
123
139
 
124
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
125
- :type execution_context: typing.Optional[typing.Union[int, str]]
126
- :type undo: typing.Optional[bool]
140
+ :type override_context: typing.Union[dict, bpy.types.Context]
141
+ :type execution_context: typing.Union[str, int]
142
+ :type undo: bool
127
143
  """
128
144
 
129
145
  ...
130
146
 
131
- def find_set_selected(override_context=None, execution_context=None, undo=None):
147
+ def find_set_selected(
148
+ override_context: typing.Union[dict, bpy.types.Context] = None,
149
+ execution_context: typing.Union[str, int] = None,
150
+ undo: bool = None,
151
+ ):
132
152
  """Find specified text and set as selected
133
153
 
134
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
135
- :type execution_context: typing.Optional[typing.Union[int, str]]
136
- :type undo: typing.Optional[bool]
154
+ :type override_context: typing.Union[dict, bpy.types.Context]
155
+ :type execution_context: typing.Union[str, int]
156
+ :type undo: bool
137
157
  """
138
158
 
139
159
  ...
140
160
 
141
- def indent(override_context=None, execution_context=None, undo=None):
161
+ def indent(
162
+ override_context: typing.Union[dict, bpy.types.Context] = None,
163
+ execution_context: typing.Union[str, int] = None,
164
+ undo: bool = None,
165
+ ):
142
166
  """Indent selected text
143
167
 
144
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
145
- :type execution_context: typing.Optional[typing.Union[int, str]]
146
- :type undo: typing.Optional[bool]
168
+ :type override_context: typing.Union[dict, bpy.types.Context]
169
+ :type execution_context: typing.Union[str, int]
170
+ :type undo: bool
147
171
  """
148
172
 
149
173
  ...
150
174
 
151
- def indent_or_autocomplete(override_context=None, execution_context=None, undo=None):
175
+ def indent_or_autocomplete(
176
+ override_context: typing.Union[dict, bpy.types.Context] = None,
177
+ execution_context: typing.Union[str, int] = None,
178
+ undo: bool = None,
179
+ ):
152
180
  """Indent selected text or autocomplete
153
181
 
154
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
155
- :type execution_context: typing.Optional[typing.Union[int, str]]
156
- :type undo: typing.Optional[bool]
182
+ :type override_context: typing.Union[dict, bpy.types.Context]
183
+ :type execution_context: typing.Union[str, int]
184
+ :type undo: bool
157
185
  """
158
186
 
159
187
  ...
160
188
 
161
189
  def insert(
162
- override_context=None,
163
- execution_context=None,
164
- undo=None,
165
- *,
190
+ override_context: typing.Union[dict, bpy.types.Context] = None,
191
+ execution_context: typing.Union[str, int] = None,
192
+ undo: bool = None,
166
193
  text: typing.Union[str, typing.Any] = "",
167
194
  ):
168
195
  """Insert text at cursor position
169
196
 
170
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
171
- :type execution_context: typing.Optional[typing.Union[int, str]]
172
- :type undo: typing.Optional[bool]
197
+ :type override_context: typing.Union[dict, bpy.types.Context]
198
+ :type execution_context: typing.Union[str, int]
199
+ :type undo: bool
173
200
  :param text: Text, Text to insert at the cursor position
174
201
  :type text: typing.Union[str, typing.Any]
175
202
  """
@@ -177,218 +204,228 @@ def insert(
177
204
  ...
178
205
 
179
206
  def jump(
180
- override_context=None,
181
- execution_context=None,
182
- undo=None,
183
- *,
184
- line: typing.Optional[typing.Any] = 1,
207
+ override_context: typing.Union[dict, bpy.types.Context] = None,
208
+ execution_context: typing.Union[str, int] = None,
209
+ undo: bool = None,
210
+ line: typing.Any = 1,
185
211
  ):
186
212
  """Jump cursor to line
187
213
 
188
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
189
- :type execution_context: typing.Optional[typing.Union[int, str]]
190
- :type undo: typing.Optional[bool]
214
+ :type override_context: typing.Union[dict, bpy.types.Context]
215
+ :type execution_context: typing.Union[str, int]
216
+ :type undo: bool
191
217
  :param line: Line, Line number to jump to
192
- :type line: typing.Optional[typing.Any]
218
+ :type line: typing.Any
193
219
  """
194
220
 
195
221
  ...
196
222
 
197
223
  def jump_to_file_at_point(
198
- override_context=None,
199
- execution_context=None,
200
- undo=None,
201
- *,
224
+ override_context: typing.Union[dict, bpy.types.Context] = None,
225
+ execution_context: typing.Union[str, int] = None,
226
+ undo: bool = None,
202
227
  filepath: typing.Union[str, typing.Any] = "",
203
- line: typing.Optional[typing.Any] = 0,
204
- column: typing.Optional[typing.Any] = 0,
228
+ line: typing.Any = 0,
229
+ column: typing.Any = 0,
205
230
  ):
206
231
  """Jump to a file for the text editor
207
232
 
208
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
209
- :type execution_context: typing.Optional[typing.Union[int, str]]
210
- :type undo: typing.Optional[bool]
233
+ :type override_context: typing.Union[dict, bpy.types.Context]
234
+ :type execution_context: typing.Union[str, int]
235
+ :type undo: bool
211
236
  :param filepath: Filepath
212
237
  :type filepath: typing.Union[str, typing.Any]
213
238
  :param line: Line, Line to jump to
214
- :type line: typing.Optional[typing.Any]
239
+ :type line: typing.Any
215
240
  :param column: Column, Column to jump to
216
- :type column: typing.Optional[typing.Any]
241
+ :type column: typing.Any
217
242
  """
218
243
 
219
244
  ...
220
245
 
221
- def line_break(override_context=None, execution_context=None, undo=None):
246
+ def line_break(
247
+ override_context: typing.Union[dict, bpy.types.Context] = None,
248
+ execution_context: typing.Union[str, int] = None,
249
+ undo: bool = None,
250
+ ):
222
251
  """Insert line break at cursor position
223
252
 
224
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
225
- :type execution_context: typing.Optional[typing.Union[int, str]]
226
- :type undo: typing.Optional[bool]
253
+ :type override_context: typing.Union[dict, bpy.types.Context]
254
+ :type execution_context: typing.Union[str, int]
255
+ :type undo: bool
227
256
  """
228
257
 
229
258
  ...
230
259
 
231
- def line_number(override_context=None, execution_context=None, undo=None):
260
+ def line_number(
261
+ override_context: typing.Union[dict, bpy.types.Context] = None,
262
+ execution_context: typing.Union[str, int] = None,
263
+ undo: bool = None,
264
+ ):
232
265
  """The current line number
233
266
 
234
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
235
- :type execution_context: typing.Optional[typing.Union[int, str]]
236
- :type undo: typing.Optional[bool]
267
+ :type override_context: typing.Union[dict, bpy.types.Context]
268
+ :type execution_context: typing.Union[str, int]
269
+ :type undo: bool
237
270
  """
238
271
 
239
272
  ...
240
273
 
241
- def make_internal(override_context=None, execution_context=None, undo=None):
274
+ def make_internal(
275
+ override_context: typing.Union[dict, bpy.types.Context] = None,
276
+ execution_context: typing.Union[str, int] = None,
277
+ undo: bool = None,
278
+ ):
242
279
  """Make active text file internal
243
280
 
244
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
245
- :type execution_context: typing.Optional[typing.Union[int, str]]
246
- :type undo: typing.Optional[bool]
281
+ :type override_context: typing.Union[dict, bpy.types.Context]
282
+ :type execution_context: typing.Union[str, int]
283
+ :type undo: bool
247
284
  """
248
285
 
249
286
  ...
250
287
 
251
288
  def move(
252
- override_context=None,
253
- execution_context=None,
254
- undo=None,
255
- *,
256
- type: typing.Optional[typing.Any] = "LINE_BEGIN",
289
+ override_context: typing.Union[dict, bpy.types.Context] = None,
290
+ execution_context: typing.Union[str, int] = None,
291
+ undo: bool = None,
292
+ type: typing.Any = "LINE_BEGIN",
257
293
  ):
258
294
  """Move cursor to position type
259
295
 
260
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
261
- :type execution_context: typing.Optional[typing.Union[int, str]]
262
- :type undo: typing.Optional[bool]
296
+ :type override_context: typing.Union[dict, bpy.types.Context]
297
+ :type execution_context: typing.Union[str, int]
298
+ :type undo: bool
263
299
  :param type: Type, Where to move cursor to
264
- :type type: typing.Optional[typing.Any]
300
+ :type type: typing.Any
265
301
  """
266
302
 
267
303
  ...
268
304
 
269
305
  def move_lines(
270
- override_context=None,
271
- execution_context=None,
272
- undo=None,
273
- *,
274
- direction: typing.Optional[typing.Any] = "DOWN",
306
+ override_context: typing.Union[dict, bpy.types.Context] = None,
307
+ execution_context: typing.Union[str, int] = None,
308
+ undo: bool = None,
309
+ direction: typing.Any = "DOWN",
275
310
  ):
276
311
  """Move the currently selected line(s) up/down
277
312
 
278
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
279
- :type execution_context: typing.Optional[typing.Union[int, str]]
280
- :type undo: typing.Optional[bool]
313
+ :type override_context: typing.Union[dict, bpy.types.Context]
314
+ :type execution_context: typing.Union[str, int]
315
+ :type undo: bool
281
316
  :param direction: Direction
282
- :type direction: typing.Optional[typing.Any]
317
+ :type direction: typing.Any
283
318
  """
284
319
 
285
320
  ...
286
321
 
287
322
  def move_select(
288
- override_context=None,
289
- execution_context=None,
290
- undo=None,
291
- *,
292
- type: typing.Optional[typing.Any] = "LINE_BEGIN",
323
+ override_context: typing.Union[dict, bpy.types.Context] = None,
324
+ execution_context: typing.Union[str, int] = None,
325
+ undo: bool = None,
326
+ type: typing.Any = "LINE_BEGIN",
293
327
  ):
294
328
  """Move the cursor while selecting
295
329
 
296
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
297
- :type execution_context: typing.Optional[typing.Union[int, str]]
298
- :type undo: typing.Optional[bool]
330
+ :type override_context: typing.Union[dict, bpy.types.Context]
331
+ :type execution_context: typing.Union[str, int]
332
+ :type undo: bool
299
333
  :param type: Type, Where to move cursor to, to make a selection
300
- :type type: typing.Optional[typing.Any]
334
+ :type type: typing.Any
301
335
  """
302
336
 
303
337
  ...
304
338
 
305
- def new(override_context=None, execution_context=None, undo=None):
339
+ def new(
340
+ override_context: typing.Union[dict, bpy.types.Context] = None,
341
+ execution_context: typing.Union[str, int] = None,
342
+ undo: bool = None,
343
+ ):
306
344
  """Create a new text data-block
307
345
 
308
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
309
- :type execution_context: typing.Optional[typing.Union[int, str]]
310
- :type undo: typing.Optional[bool]
346
+ :type override_context: typing.Union[dict, bpy.types.Context]
347
+ :type execution_context: typing.Union[str, int]
348
+ :type undo: bool
311
349
  """
312
350
 
313
351
  ...
314
352
 
315
353
  def open(
316
- override_context=None,
317
- execution_context=None,
318
- undo=None,
319
- *,
354
+ override_context: typing.Union[dict, bpy.types.Context] = None,
355
+ execution_context: typing.Union[str, int] = None,
356
+ undo: bool = None,
320
357
  filepath: typing.Union[str, typing.Any] = "",
321
- hide_props_region: typing.Optional[typing.Union[bool, typing.Any]] = True,
322
- check_existing: typing.Optional[typing.Union[bool, typing.Any]] = False,
323
- filter_blender: typing.Optional[typing.Union[bool, typing.Any]] = False,
324
- filter_backup: typing.Optional[typing.Union[bool, typing.Any]] = False,
325
- filter_image: typing.Optional[typing.Union[bool, typing.Any]] = False,
326
- filter_movie: typing.Optional[typing.Union[bool, typing.Any]] = False,
327
- filter_python: typing.Optional[typing.Union[bool, typing.Any]] = True,
328
- filter_font: typing.Optional[typing.Union[bool, typing.Any]] = False,
329
- filter_sound: typing.Optional[typing.Union[bool, typing.Any]] = False,
330
- filter_text: typing.Optional[typing.Union[bool, typing.Any]] = True,
331
- filter_archive: typing.Optional[typing.Union[bool, typing.Any]] = False,
332
- filter_btx: typing.Optional[typing.Union[bool, typing.Any]] = False,
333
- filter_collada: typing.Optional[typing.Union[bool, typing.Any]] = False,
334
- filter_alembic: typing.Optional[typing.Union[bool, typing.Any]] = False,
335
- filter_usd: typing.Optional[typing.Union[bool, typing.Any]] = False,
336
- filter_obj: typing.Optional[typing.Union[bool, typing.Any]] = False,
337
- filter_volume: typing.Optional[typing.Union[bool, typing.Any]] = False,
338
- filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = True,
339
- filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]] = False,
340
- filemode: typing.Optional[typing.Any] = 9,
341
- display_type: typing.Optional[typing.Any] = "DEFAULT",
342
- sort_method: typing.Optional[typing.Any] = "",
343
- internal: typing.Optional[typing.Union[bool, typing.Any]] = False,
358
+ hide_props_region: typing.Union[bool, typing.Any] = True,
359
+ check_existing: typing.Union[bool, typing.Any] = False,
360
+ filter_blender: typing.Union[bool, typing.Any] = False,
361
+ filter_backup: typing.Union[bool, typing.Any] = False,
362
+ filter_image: typing.Union[bool, typing.Any] = False,
363
+ filter_movie: typing.Union[bool, typing.Any] = False,
364
+ filter_python: typing.Union[bool, typing.Any] = True,
365
+ filter_font: typing.Union[bool, typing.Any] = False,
366
+ filter_sound: typing.Union[bool, typing.Any] = False,
367
+ filter_text: typing.Union[bool, typing.Any] = True,
368
+ filter_archive: typing.Union[bool, typing.Any] = False,
369
+ filter_btx: typing.Union[bool, typing.Any] = False,
370
+ filter_collada: typing.Union[bool, typing.Any] = False,
371
+ filter_alembic: typing.Union[bool, typing.Any] = False,
372
+ filter_usd: typing.Union[bool, typing.Any] = False,
373
+ filter_obj: typing.Union[bool, typing.Any] = False,
374
+ filter_volume: typing.Union[bool, typing.Any] = False,
375
+ filter_folder: typing.Union[bool, typing.Any] = True,
376
+ filter_blenlib: typing.Union[bool, typing.Any] = False,
377
+ filemode: typing.Any = 9,
378
+ display_type: typing.Any = "DEFAULT",
379
+ sort_method: typing.Any = "",
380
+ internal: typing.Union[bool, typing.Any] = False,
344
381
  ):
345
382
  """Open a new text data-block
346
383
 
347
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
348
- :type execution_context: typing.Optional[typing.Union[int, str]]
349
- :type undo: typing.Optional[bool]
384
+ :type override_context: typing.Union[dict, bpy.types.Context]
385
+ :type execution_context: typing.Union[str, int]
386
+ :type undo: bool
350
387
  :param filepath: File Path, Path to file
351
388
  :type filepath: typing.Union[str, typing.Any]
352
389
  :param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
353
- :type hide_props_region: typing.Optional[typing.Union[bool, typing.Any]]
390
+ :type hide_props_region: typing.Union[bool, typing.Any]
354
391
  :param check_existing: Check Existing, Check and warn on overwriting existing files
355
- :type check_existing: typing.Optional[typing.Union[bool, typing.Any]]
392
+ :type check_existing: typing.Union[bool, typing.Any]
356
393
  :param filter_blender: Filter .blend files
357
- :type filter_blender: typing.Optional[typing.Union[bool, typing.Any]]
394
+ :type filter_blender: typing.Union[bool, typing.Any]
358
395
  :param filter_backup: Filter .blend files
359
- :type filter_backup: typing.Optional[typing.Union[bool, typing.Any]]
396
+ :type filter_backup: typing.Union[bool, typing.Any]
360
397
  :param filter_image: Filter image files
361
- :type filter_image: typing.Optional[typing.Union[bool, typing.Any]]
398
+ :type filter_image: typing.Union[bool, typing.Any]
362
399
  :param filter_movie: Filter movie files
363
- :type filter_movie: typing.Optional[typing.Union[bool, typing.Any]]
400
+ :type filter_movie: typing.Union[bool, typing.Any]
364
401
  :param filter_python: Filter Python files
365
- :type filter_python: typing.Optional[typing.Union[bool, typing.Any]]
402
+ :type filter_python: typing.Union[bool, typing.Any]
366
403
  :param filter_font: Filter font files
367
- :type filter_font: typing.Optional[typing.Union[bool, typing.Any]]
404
+ :type filter_font: typing.Union[bool, typing.Any]
368
405
  :param filter_sound: Filter sound files
369
- :type filter_sound: typing.Optional[typing.Union[bool, typing.Any]]
406
+ :type filter_sound: typing.Union[bool, typing.Any]
370
407
  :param filter_text: Filter text files
371
- :type filter_text: typing.Optional[typing.Union[bool, typing.Any]]
408
+ :type filter_text: typing.Union[bool, typing.Any]
372
409
  :param filter_archive: Filter archive files
373
- :type filter_archive: typing.Optional[typing.Union[bool, typing.Any]]
410
+ :type filter_archive: typing.Union[bool, typing.Any]
374
411
  :param filter_btx: Filter btx files
375
- :type filter_btx: typing.Optional[typing.Union[bool, typing.Any]]
412
+ :type filter_btx: typing.Union[bool, typing.Any]
376
413
  :param filter_collada: Filter COLLADA files
377
- :type filter_collada: typing.Optional[typing.Union[bool, typing.Any]]
414
+ :type filter_collada: typing.Union[bool, typing.Any]
378
415
  :param filter_alembic: Filter Alembic files
379
- :type filter_alembic: typing.Optional[typing.Union[bool, typing.Any]]
416
+ :type filter_alembic: typing.Union[bool, typing.Any]
380
417
  :param filter_usd: Filter USD files
381
- :type filter_usd: typing.Optional[typing.Union[bool, typing.Any]]
418
+ :type filter_usd: typing.Union[bool, typing.Any]
382
419
  :param filter_obj: Filter OBJ files
383
- :type filter_obj: typing.Optional[typing.Union[bool, typing.Any]]
420
+ :type filter_obj: typing.Union[bool, typing.Any]
384
421
  :param filter_volume: Filter OpenVDB volume files
385
- :type filter_volume: typing.Optional[typing.Union[bool, typing.Any]]
422
+ :type filter_volume: typing.Union[bool, typing.Any]
386
423
  :param filter_folder: Filter folders
387
- :type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
424
+ :type filter_folder: typing.Union[bool, typing.Any]
388
425
  :param filter_blenlib: Filter Blender IDs
389
- :type filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]]
426
+ :type filter_blenlib: typing.Union[bool, typing.Any]
390
427
  :param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
391
- :type filemode: typing.Optional[typing.Any]
428
+ :type filemode: typing.Any
392
429
  :param display_type: Display Type
393
430
 
394
431
  DEFAULT
@@ -402,7 +439,7 @@ def open(
402
439
 
403
440
  THUMBNAIL
404
441
  Thumbnails -- Display files as thumbnails.
405
- :type display_type: typing.Optional[typing.Any]
442
+ :type display_type: typing.Any
406
443
  :param sort_method: File sorting mode
407
444
 
408
445
  DEFAULT
@@ -419,203 +456,223 @@ def open(
419
456
 
420
457
  FILE_SORT_SIZE
421
458
  Size -- Sort files by size.
422
- :type sort_method: typing.Optional[typing.Any]
459
+ :type sort_method: typing.Any
423
460
  :param internal: Make Internal, Make text file internal after loading
424
- :type internal: typing.Optional[typing.Union[bool, typing.Any]]
461
+ :type internal: typing.Union[bool, typing.Any]
425
462
  """
426
463
 
427
464
  ...
428
465
 
429
- def overwrite_toggle(override_context=None, execution_context=None, undo=None):
466
+ def overwrite_toggle(
467
+ override_context: typing.Union[dict, bpy.types.Context] = None,
468
+ execution_context: typing.Union[str, int] = None,
469
+ undo: bool = None,
470
+ ):
430
471
  """Toggle overwrite while typing
431
472
 
432
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
433
- :type execution_context: typing.Optional[typing.Union[int, str]]
434
- :type undo: typing.Optional[bool]
473
+ :type override_context: typing.Union[dict, bpy.types.Context]
474
+ :type execution_context: typing.Union[str, int]
475
+ :type undo: bool
435
476
  """
436
477
 
437
478
  ...
438
479
 
439
480
  def paste(
440
- override_context=None,
441
- execution_context=None,
442
- undo=None,
443
- *,
444
- selection: typing.Optional[typing.Union[bool, typing.Any]] = False,
481
+ override_context: typing.Union[dict, bpy.types.Context] = None,
482
+ execution_context: typing.Union[str, int] = None,
483
+ undo: bool = None,
484
+ selection: typing.Union[bool, typing.Any] = False,
445
485
  ):
446
486
  """Paste text from clipboard
447
487
 
448
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
449
- :type execution_context: typing.Optional[typing.Union[int, str]]
450
- :type undo: typing.Optional[bool]
488
+ :type override_context: typing.Union[dict, bpy.types.Context]
489
+ :type execution_context: typing.Union[str, int]
490
+ :type undo: bool
451
491
  :param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
452
- :type selection: typing.Optional[typing.Union[bool, typing.Any]]
492
+ :type selection: typing.Union[bool, typing.Any]
453
493
  """
454
494
 
455
495
  ...
456
496
 
457
- def refresh_pyconstraints(override_context=None, execution_context=None, undo=None):
497
+ def refresh_pyconstraints(
498
+ override_context: typing.Union[dict, bpy.types.Context] = None,
499
+ execution_context: typing.Union[str, int] = None,
500
+ undo: bool = None,
501
+ ):
458
502
  """Refresh all pyconstraints
459
503
 
460
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
461
- :type execution_context: typing.Optional[typing.Union[int, str]]
462
- :type undo: typing.Optional[bool]
504
+ :type override_context: typing.Union[dict, bpy.types.Context]
505
+ :type execution_context: typing.Union[str, int]
506
+ :type undo: bool
463
507
  """
464
508
 
465
509
  ...
466
510
 
467
- def reload(override_context=None, execution_context=None, undo=None):
511
+ def reload(
512
+ override_context: typing.Union[dict, bpy.types.Context] = None,
513
+ execution_context: typing.Union[str, int] = None,
514
+ undo: bool = None,
515
+ ):
468
516
  """Reload active text data-block from its file
469
517
 
470
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
471
- :type execution_context: typing.Optional[typing.Union[int, str]]
472
- :type undo: typing.Optional[bool]
518
+ :type override_context: typing.Union[dict, bpy.types.Context]
519
+ :type execution_context: typing.Union[str, int]
520
+ :type undo: bool
473
521
  """
474
522
 
475
523
  ...
476
524
 
477
525
  def replace(
478
- override_context=None,
479
- execution_context=None,
480
- undo=None,
481
- *,
482
- all: typing.Optional[typing.Union[bool, typing.Any]] = False,
526
+ override_context: typing.Union[dict, bpy.types.Context] = None,
527
+ execution_context: typing.Union[str, int] = None,
528
+ undo: bool = None,
529
+ all: typing.Union[bool, typing.Any] = False,
483
530
  ):
484
531
  """Replace text with the specified text
485
532
 
486
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
487
- :type execution_context: typing.Optional[typing.Union[int, str]]
488
- :type undo: typing.Optional[bool]
533
+ :type override_context: typing.Union[dict, bpy.types.Context]
534
+ :type execution_context: typing.Union[str, int]
535
+ :type undo: bool
489
536
  :param all: Replace All, Replace all occurrences
490
- :type all: typing.Optional[typing.Union[bool, typing.Any]]
537
+ :type all: typing.Union[bool, typing.Any]
491
538
  """
492
539
 
493
540
  ...
494
541
 
495
- def replace_set_selected(override_context=None, execution_context=None, undo=None):
542
+ def replace_set_selected(
543
+ override_context: typing.Union[dict, bpy.types.Context] = None,
544
+ execution_context: typing.Union[str, int] = None,
545
+ undo: bool = None,
546
+ ):
496
547
  """Replace text with specified text and set as selected
497
548
 
498
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
499
- :type execution_context: typing.Optional[typing.Union[int, str]]
500
- :type undo: typing.Optional[bool]
549
+ :type override_context: typing.Union[dict, bpy.types.Context]
550
+ :type execution_context: typing.Union[str, int]
551
+ :type undo: bool
501
552
  """
502
553
 
503
554
  ...
504
555
 
505
556
  def resolve_conflict(
506
- override_context=None,
507
- execution_context=None,
508
- undo=None,
509
- *,
510
- resolution: typing.Optional[typing.Any] = "IGNORE",
557
+ override_context: typing.Union[dict, bpy.types.Context] = None,
558
+ execution_context: typing.Union[str, int] = None,
559
+ undo: bool = None,
560
+ resolution: typing.Any = "IGNORE",
511
561
  ):
512
562
  """When external text is out of sync, resolve the conflict
513
563
 
514
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
515
- :type execution_context: typing.Optional[typing.Union[int, str]]
516
- :type undo: typing.Optional[bool]
564
+ :type override_context: typing.Union[dict, bpy.types.Context]
565
+ :type execution_context: typing.Union[str, int]
566
+ :type undo: bool
517
567
  :param resolution: Resolution, How to solve conflict due to differences in internal and external text
518
- :type resolution: typing.Optional[typing.Any]
568
+ :type resolution: typing.Any
519
569
  """
520
570
 
521
571
  ...
522
572
 
523
- def run_script(override_context=None, execution_context=None, undo=None):
573
+ def run_script(
574
+ override_context: typing.Union[dict, bpy.types.Context] = None,
575
+ execution_context: typing.Union[str, int] = None,
576
+ undo: bool = None,
577
+ ):
524
578
  """Run active script
525
579
 
526
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
527
- :type execution_context: typing.Optional[typing.Union[int, str]]
528
- :type undo: typing.Optional[bool]
580
+ :type override_context: typing.Union[dict, bpy.types.Context]
581
+ :type execution_context: typing.Union[str, int]
582
+ :type undo: bool
529
583
  """
530
584
 
531
585
  ...
532
586
 
533
- def save(override_context=None, execution_context=None, undo=None):
587
+ def save(
588
+ override_context: typing.Union[dict, bpy.types.Context] = None,
589
+ execution_context: typing.Union[str, int] = None,
590
+ undo: bool = None,
591
+ ):
534
592
  """Save active text data-block
535
593
 
536
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
537
- :type execution_context: typing.Optional[typing.Union[int, str]]
538
- :type undo: typing.Optional[bool]
594
+ :type override_context: typing.Union[dict, bpy.types.Context]
595
+ :type execution_context: typing.Union[str, int]
596
+ :type undo: bool
539
597
  """
540
598
 
541
599
  ...
542
600
 
543
601
  def save_as(
544
- override_context=None,
545
- execution_context=None,
546
- undo=None,
547
- *,
602
+ override_context: typing.Union[dict, bpy.types.Context] = None,
603
+ execution_context: typing.Union[str, int] = None,
604
+ undo: bool = None,
548
605
  filepath: typing.Union[str, typing.Any] = "",
549
- hide_props_region: typing.Optional[typing.Union[bool, typing.Any]] = True,
550
- check_existing: typing.Optional[typing.Union[bool, typing.Any]] = True,
551
- filter_blender: typing.Optional[typing.Union[bool, typing.Any]] = False,
552
- filter_backup: typing.Optional[typing.Union[bool, typing.Any]] = False,
553
- filter_image: typing.Optional[typing.Union[bool, typing.Any]] = False,
554
- filter_movie: typing.Optional[typing.Union[bool, typing.Any]] = False,
555
- filter_python: typing.Optional[typing.Union[bool, typing.Any]] = True,
556
- filter_font: typing.Optional[typing.Union[bool, typing.Any]] = False,
557
- filter_sound: typing.Optional[typing.Union[bool, typing.Any]] = False,
558
- filter_text: typing.Optional[typing.Union[bool, typing.Any]] = True,
559
- filter_archive: typing.Optional[typing.Union[bool, typing.Any]] = False,
560
- filter_btx: typing.Optional[typing.Union[bool, typing.Any]] = False,
561
- filter_collada: typing.Optional[typing.Union[bool, typing.Any]] = False,
562
- filter_alembic: typing.Optional[typing.Union[bool, typing.Any]] = False,
563
- filter_usd: typing.Optional[typing.Union[bool, typing.Any]] = False,
564
- filter_obj: typing.Optional[typing.Union[bool, typing.Any]] = False,
565
- filter_volume: typing.Optional[typing.Union[bool, typing.Any]] = False,
566
- filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = True,
567
- filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]] = False,
568
- filemode: typing.Optional[typing.Any] = 9,
569
- display_type: typing.Optional[typing.Any] = "DEFAULT",
570
- sort_method: typing.Optional[typing.Union[int, str, typing.Any]] = "",
606
+ hide_props_region: typing.Union[bool, typing.Any] = True,
607
+ check_existing: typing.Union[bool, typing.Any] = True,
608
+ filter_blender: typing.Union[bool, typing.Any] = False,
609
+ filter_backup: typing.Union[bool, typing.Any] = False,
610
+ filter_image: typing.Union[bool, typing.Any] = False,
611
+ filter_movie: typing.Union[bool, typing.Any] = False,
612
+ filter_python: typing.Union[bool, typing.Any] = True,
613
+ filter_font: typing.Union[bool, typing.Any] = False,
614
+ filter_sound: typing.Union[bool, typing.Any] = False,
615
+ filter_text: typing.Union[bool, typing.Any] = True,
616
+ filter_archive: typing.Union[bool, typing.Any] = False,
617
+ filter_btx: typing.Union[bool, typing.Any] = False,
618
+ filter_collada: typing.Union[bool, typing.Any] = False,
619
+ filter_alembic: typing.Union[bool, typing.Any] = False,
620
+ filter_usd: typing.Union[bool, typing.Any] = False,
621
+ filter_obj: typing.Union[bool, typing.Any] = False,
622
+ filter_volume: typing.Union[bool, typing.Any] = False,
623
+ filter_folder: typing.Union[bool, typing.Any] = True,
624
+ filter_blenlib: typing.Union[bool, typing.Any] = False,
625
+ filemode: typing.Any = 9,
626
+ display_type: typing.Any = "DEFAULT",
627
+ sort_method: typing.Union[str, int, typing.Any] = "",
571
628
  ):
572
629
  """Save active text file with options
573
630
 
574
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
575
- :type execution_context: typing.Optional[typing.Union[int, str]]
576
- :type undo: typing.Optional[bool]
631
+ :type override_context: typing.Union[dict, bpy.types.Context]
632
+ :type execution_context: typing.Union[str, int]
633
+ :type undo: bool
577
634
  :param filepath: File Path, Path to file
578
635
  :type filepath: typing.Union[str, typing.Any]
579
636
  :param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
580
- :type hide_props_region: typing.Optional[typing.Union[bool, typing.Any]]
637
+ :type hide_props_region: typing.Union[bool, typing.Any]
581
638
  :param check_existing: Check Existing, Check and warn on overwriting existing files
582
- :type check_existing: typing.Optional[typing.Union[bool, typing.Any]]
639
+ :type check_existing: typing.Union[bool, typing.Any]
583
640
  :param filter_blender: Filter .blend files
584
- :type filter_blender: typing.Optional[typing.Union[bool, typing.Any]]
641
+ :type filter_blender: typing.Union[bool, typing.Any]
585
642
  :param filter_backup: Filter .blend files
586
- :type filter_backup: typing.Optional[typing.Union[bool, typing.Any]]
643
+ :type filter_backup: typing.Union[bool, typing.Any]
587
644
  :param filter_image: Filter image files
588
- :type filter_image: typing.Optional[typing.Union[bool, typing.Any]]
645
+ :type filter_image: typing.Union[bool, typing.Any]
589
646
  :param filter_movie: Filter movie files
590
- :type filter_movie: typing.Optional[typing.Union[bool, typing.Any]]
647
+ :type filter_movie: typing.Union[bool, typing.Any]
591
648
  :param filter_python: Filter Python files
592
- :type filter_python: typing.Optional[typing.Union[bool, typing.Any]]
649
+ :type filter_python: typing.Union[bool, typing.Any]
593
650
  :param filter_font: Filter font files
594
- :type filter_font: typing.Optional[typing.Union[bool, typing.Any]]
651
+ :type filter_font: typing.Union[bool, typing.Any]
595
652
  :param filter_sound: Filter sound files
596
- :type filter_sound: typing.Optional[typing.Union[bool, typing.Any]]
653
+ :type filter_sound: typing.Union[bool, typing.Any]
597
654
  :param filter_text: Filter text files
598
- :type filter_text: typing.Optional[typing.Union[bool, typing.Any]]
655
+ :type filter_text: typing.Union[bool, typing.Any]
599
656
  :param filter_archive: Filter archive files
600
- :type filter_archive: typing.Optional[typing.Union[bool, typing.Any]]
657
+ :type filter_archive: typing.Union[bool, typing.Any]
601
658
  :param filter_btx: Filter btx files
602
- :type filter_btx: typing.Optional[typing.Union[bool, typing.Any]]
659
+ :type filter_btx: typing.Union[bool, typing.Any]
603
660
  :param filter_collada: Filter COLLADA files
604
- :type filter_collada: typing.Optional[typing.Union[bool, typing.Any]]
661
+ :type filter_collada: typing.Union[bool, typing.Any]
605
662
  :param filter_alembic: Filter Alembic files
606
- :type filter_alembic: typing.Optional[typing.Union[bool, typing.Any]]
663
+ :type filter_alembic: typing.Union[bool, typing.Any]
607
664
  :param filter_usd: Filter USD files
608
- :type filter_usd: typing.Optional[typing.Union[bool, typing.Any]]
665
+ :type filter_usd: typing.Union[bool, typing.Any]
609
666
  :param filter_obj: Filter OBJ files
610
- :type filter_obj: typing.Optional[typing.Union[bool, typing.Any]]
667
+ :type filter_obj: typing.Union[bool, typing.Any]
611
668
  :param filter_volume: Filter OpenVDB volume files
612
- :type filter_volume: typing.Optional[typing.Union[bool, typing.Any]]
669
+ :type filter_volume: typing.Union[bool, typing.Any]
613
670
  :param filter_folder: Filter folders
614
- :type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
671
+ :type filter_folder: typing.Union[bool, typing.Any]
615
672
  :param filter_blenlib: Filter Blender IDs
616
- :type filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]]
673
+ :type filter_blenlib: typing.Union[bool, typing.Any]
617
674
  :param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
618
- :type filemode: typing.Optional[typing.Any]
675
+ :type filemode: typing.Any
619
676
  :param display_type: Display Type
620
677
 
621
678
  DEFAULT
@@ -629,133 +686,158 @@ def save_as(
629
686
 
630
687
  THUMBNAIL
631
688
  Thumbnails -- Display files as thumbnails.
632
- :type display_type: typing.Optional[typing.Any]
689
+ :type display_type: typing.Any
633
690
  :param sort_method: File sorting mode
634
- :type sort_method: typing.Optional[typing.Union[int, str, typing.Any]]
691
+ :type sort_method: typing.Union[str, int, typing.Any]
635
692
  """
636
693
 
637
694
  ...
638
695
 
639
696
  def scroll(
640
- override_context=None,
641
- execution_context=None,
642
- undo=None,
643
- *,
644
- lines: typing.Optional[typing.Any] = 1,
697
+ override_context: typing.Union[dict, bpy.types.Context] = None,
698
+ execution_context: typing.Union[str, int] = None,
699
+ undo: bool = None,
700
+ lines: typing.Any = 1,
645
701
  ):
646
702
  """Undocumented, consider contributing.
647
703
 
648
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
649
- :type execution_context: typing.Optional[typing.Union[int, str]]
650
- :type undo: typing.Optional[bool]
704
+ :type override_context: typing.Union[dict, bpy.types.Context]
705
+ :type execution_context: typing.Union[str, int]
706
+ :type undo: bool
651
707
  :param lines: Lines, Number of lines to scroll
652
- :type lines: typing.Optional[typing.Any]
708
+ :type lines: typing.Any
653
709
  """
654
710
 
655
711
  ...
656
712
 
657
713
  def scroll_bar(
658
- override_context=None,
659
- execution_context=None,
660
- undo=None,
661
- *,
662
- lines: typing.Optional[typing.Any] = 1,
714
+ override_context: typing.Union[dict, bpy.types.Context] = None,
715
+ execution_context: typing.Union[str, int] = None,
716
+ undo: bool = None,
717
+ lines: typing.Any = 1,
663
718
  ):
664
719
  """Undocumented, consider contributing.
665
720
 
666
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
667
- :type execution_context: typing.Optional[typing.Union[int, str]]
668
- :type undo: typing.Optional[bool]
721
+ :type override_context: typing.Union[dict, bpy.types.Context]
722
+ :type execution_context: typing.Union[str, int]
723
+ :type undo: bool
669
724
  :param lines: Lines, Number of lines to scroll
670
- :type lines: typing.Optional[typing.Any]
725
+ :type lines: typing.Any
671
726
  """
672
727
 
673
728
  ...
674
729
 
675
- def select_all(override_context=None, execution_context=None, undo=None):
730
+ def select_all(
731
+ override_context: typing.Union[dict, bpy.types.Context] = None,
732
+ execution_context: typing.Union[str, int] = None,
733
+ undo: bool = None,
734
+ ):
676
735
  """Select all text
677
736
 
678
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
679
- :type execution_context: typing.Optional[typing.Union[int, str]]
680
- :type undo: typing.Optional[bool]
737
+ :type override_context: typing.Union[dict, bpy.types.Context]
738
+ :type execution_context: typing.Union[str, int]
739
+ :type undo: bool
681
740
  """
682
741
 
683
742
  ...
684
743
 
685
- def select_line(override_context=None, execution_context=None, undo=None):
744
+ def select_line(
745
+ override_context: typing.Union[dict, bpy.types.Context] = None,
746
+ execution_context: typing.Union[str, int] = None,
747
+ undo: bool = None,
748
+ ):
686
749
  """Select text by line
687
750
 
688
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
689
- :type execution_context: typing.Optional[typing.Union[int, str]]
690
- :type undo: typing.Optional[bool]
751
+ :type override_context: typing.Union[dict, bpy.types.Context]
752
+ :type execution_context: typing.Union[str, int]
753
+ :type undo: bool
691
754
  """
692
755
 
693
756
  ...
694
757
 
695
- def select_word(override_context=None, execution_context=None, undo=None):
758
+ def select_word(
759
+ override_context: typing.Union[dict, bpy.types.Context] = None,
760
+ execution_context: typing.Union[str, int] = None,
761
+ undo: bool = None,
762
+ ):
696
763
  """Select word under cursor
697
764
 
698
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
699
- :type execution_context: typing.Optional[typing.Union[int, str]]
700
- :type undo: typing.Optional[bool]
765
+ :type override_context: typing.Union[dict, bpy.types.Context]
766
+ :type execution_context: typing.Union[str, int]
767
+ :type undo: bool
701
768
  """
702
769
 
703
770
  ...
704
771
 
705
- def selection_set(override_context=None, execution_context=None, undo=None):
772
+ def selection_set(
773
+ override_context: typing.Union[dict, bpy.types.Context] = None,
774
+ execution_context: typing.Union[str, int] = None,
775
+ undo: bool = None,
776
+ ):
706
777
  """Set text selection
707
778
 
708
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
709
- :type execution_context: typing.Optional[typing.Union[int, str]]
710
- :type undo: typing.Optional[bool]
779
+ :type override_context: typing.Union[dict, bpy.types.Context]
780
+ :type execution_context: typing.Union[str, int]
781
+ :type undo: bool
711
782
  """
712
783
 
713
784
  ...
714
785
 
715
- def start_find(override_context=None, execution_context=None, undo=None):
786
+ def start_find(
787
+ override_context: typing.Union[dict, bpy.types.Context] = None,
788
+ execution_context: typing.Union[str, int] = None,
789
+ undo: bool = None,
790
+ ):
716
791
  """Start searching text
717
792
 
718
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
719
- :type execution_context: typing.Optional[typing.Union[int, str]]
720
- :type undo: typing.Optional[bool]
793
+ :type override_context: typing.Union[dict, bpy.types.Context]
794
+ :type execution_context: typing.Union[str, int]
795
+ :type undo: bool
721
796
  """
722
797
 
723
798
  ...
724
799
 
725
800
  def to_3d_object(
726
- override_context=None,
727
- execution_context=None,
728
- undo=None,
729
- *,
730
- split_lines: typing.Optional[typing.Union[bool, typing.Any]] = False,
801
+ override_context: typing.Union[dict, bpy.types.Context] = None,
802
+ execution_context: typing.Union[str, int] = None,
803
+ undo: bool = None,
804
+ split_lines: typing.Union[bool, typing.Any] = False,
731
805
  ):
732
806
  """Create 3D text object from active text data-block
733
807
 
734
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
735
- :type execution_context: typing.Optional[typing.Union[int, str]]
736
- :type undo: typing.Optional[bool]
808
+ :type override_context: typing.Union[dict, bpy.types.Context]
809
+ :type execution_context: typing.Union[str, int]
810
+ :type undo: bool
737
811
  :param split_lines: Split Lines, Create one object per line in the text
738
- :type split_lines: typing.Optional[typing.Union[bool, typing.Any]]
812
+ :type split_lines: typing.Union[bool, typing.Any]
739
813
  """
740
814
 
741
815
  ...
742
816
 
743
- def unindent(override_context=None, execution_context=None, undo=None):
817
+ def unindent(
818
+ override_context: typing.Union[dict, bpy.types.Context] = None,
819
+ execution_context: typing.Union[str, int] = None,
820
+ undo: bool = None,
821
+ ):
744
822
  """Unindent selected text
745
823
 
746
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
747
- :type execution_context: typing.Optional[typing.Union[int, str]]
748
- :type undo: typing.Optional[bool]
824
+ :type override_context: typing.Union[dict, bpy.types.Context]
825
+ :type execution_context: typing.Union[str, int]
826
+ :type undo: bool
749
827
  """
750
828
 
751
829
  ...
752
830
 
753
- def unlink(override_context=None, execution_context=None, undo=None):
831
+ def unlink(
832
+ override_context: typing.Union[dict, bpy.types.Context] = None,
833
+ execution_context: typing.Union[str, int] = None,
834
+ undo: bool = None,
835
+ ):
754
836
  """Unlink active text data-block
755
837
 
756
- :type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
757
- :type execution_context: typing.Optional[typing.Union[int, str]]
758
- :type undo: typing.Optional[bool]
838
+ :type override_context: typing.Union[dict, bpy.types.Context]
839
+ :type execution_context: typing.Union[str, int]
840
+ :type undo: bool
759
841
  """
760
842
 
761
843
  ...