fake-bpy-module 20240417__py3-none-any.whl → 20240419__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 (139) hide show
  1. _bpy_internal/__init__.pyi +4 -0
  2. _bpy_internal/freedesktop/__init__.pyi +88 -0
  3. _bpy_internal/freedesktop/py.typed +0 -0
  4. _bpy_internal/py.typed +0 -0
  5. aud/__init__.pyi +121 -48
  6. bgl/__init__.pyi +2443 -1265
  7. bl_math/__init__.pyi +19 -3
  8. bl_operators/geometry_nodes/__init__.pyi +13 -0
  9. bl_ui/properties_data_light/__init__.pyi +337 -0
  10. blf/__init__.pyi +63 -13
  11. bmesh/__init__.pyi +13 -0
  12. bmesh/geometry/__init__.pyi +5 -0
  13. bmesh/ops/__init__.pyi +157 -68
  14. bmesh/types/__init__.pyi +109 -62
  15. bmesh/utils/__init__.pyi +11 -2
  16. bpy/__init__.pyi +7 -0
  17. bpy/app/__init__.pyi +13 -0
  18. bpy/app/handlers/__init__.pyi +41 -0
  19. bpy/app/icons/__init__.pyi +4 -2
  20. bpy/app/timers/__init__.pyi +38 -2
  21. bpy/app/translations/__init__.pyi +58 -0
  22. bpy/msgbus/__init__.pyi +46 -0
  23. bpy/ops/__init__.pyi +151 -0
  24. bpy/ops/action/__init__.pyi +76 -76
  25. bpy/ops/anim/__init__.pyi +104 -104
  26. bpy/ops/armature/__init__.pyi +96 -96
  27. bpy/ops/asset/__init__.pyi +32 -32
  28. bpy/ops/boid/__init__.pyi +16 -16
  29. bpy/ops/brush/__init__.pyi +18 -18
  30. bpy/ops/buttons/__init__.pyi +12 -12
  31. bpy/ops/cachefile/__init__.pyi +10 -10
  32. bpy/ops/camera/__init__.pyi +4 -4
  33. bpy/ops/clip/__init__.pyi +184 -184
  34. bpy/ops/cloth/__init__.pyi +2 -2
  35. bpy/ops/collection/__init__.pyi +18 -18
  36. bpy/ops/console/__init__.pyi +42 -42
  37. bpy/ops/constraint/__init__.pyi +36 -36
  38. bpy/ops/curve/__init__.pyi +102 -102
  39. bpy/ops/curves/__init__.pyi +54 -54
  40. bpy/ops/cycles/__init__.pyi +6 -6
  41. bpy/ops/dpaint/__init__.pyi +10 -10
  42. bpy/ops/ed/__init__.pyi +24 -24
  43. bpy/ops/export_anim/__init__.pyi +2 -2
  44. bpy/ops/export_mesh/__init__.pyi +2 -2
  45. bpy/ops/export_scene/__init__.pyi +7 -7
  46. bpy/ops/file/__init__.pyi +80 -80
  47. bpy/ops/fluid/__init__.pyi +28 -28
  48. bpy/ops/font/__init__.pyi +46 -46
  49. bpy/ops/geometry/__init__.pyi +20 -20
  50. bpy/ops/gizmogroup/__init__.pyi +4 -4
  51. bpy/ops/gpencil/__init__.pyi +300 -300
  52. bpy/ops/graph/__init__.pyi +130 -130
  53. bpy/ops/grease_pencil/__init__.pyi +112 -112
  54. bpy/ops/image/__init__.pyi +92 -92
  55. bpy/ops/import_anim/__init__.pyi +2 -2
  56. bpy/ops/import_curve/__init__.pyi +2 -2
  57. bpy/ops/import_mesh/__init__.pyi +2 -2
  58. bpy/ops/import_scene/__init__.pyi +6 -6
  59. bpy/ops/info/__init__.pyi +14 -14
  60. bpy/ops/lattice/__init__.pyi +16 -16
  61. bpy/ops/marker/__init__.pyi +22 -22
  62. bpy/ops/mask/__init__.pyi +78 -78
  63. bpy/ops/material/__init__.pyi +6 -6
  64. bpy/ops/mball/__init__.pyi +16 -16
  65. bpy/ops/mesh/__init__.pyi +326 -326
  66. bpy/ops/nla/__init__.pyi +80 -80
  67. bpy/ops/node/__init__.pyi +202 -202
  68. bpy/ops/object/__init__.pyi +509 -500
  69. bpy/ops/outliner/__init__.pyi +138 -138
  70. bpy/ops/paint/__init__.pyi +104 -104
  71. bpy/ops/paintcurve/__init__.pyi +16 -16
  72. bpy/ops/palette/__init__.pyi +14 -14
  73. bpy/ops/particle/__init__.pyi +72 -72
  74. bpy/ops/pose/__init__.pyi +78 -78
  75. bpy/ops/poselib/__init__.pyi +18 -18
  76. bpy/ops/preferences/__init__.pyi +76 -76
  77. bpy/ops/ptcache/__init__.pyi +14 -14
  78. bpy/ops/render/__init__.pyi +24 -24
  79. bpy/ops/rigidbody/__init__.pyi +26 -26
  80. bpy/ops/scene/__init__.pyi +78 -78
  81. bpy/ops/screen/__init__.pyi +78 -78
  82. bpy/ops/script/__init__.pyi +6 -6
  83. bpy/ops/sculpt/__init__.pyi +62 -62
  84. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  85. bpy/ops/sequencer/__init__.pyi +170 -170
  86. bpy/ops/sound/__init__.pyi +14 -14
  87. bpy/ops/spreadsheet/__init__.pyi +8 -8
  88. bpy/ops/surface/__init__.pyi +12 -12
  89. bpy/ops/text/__init__.pyi +86 -86
  90. bpy/ops/text_editor/__init__.pyi +2 -2
  91. bpy/ops/texture/__init__.pyi +8 -8
  92. bpy/ops/transform/__init__.pyi +54 -54
  93. bpy/ops/ui/__init__.pyi +64 -64
  94. bpy/ops/uilist/__init__.pyi +6 -6
  95. bpy/ops/uv/__init__.pyi +98 -98
  96. bpy/ops/view2d/__init__.pyi +28 -28
  97. bpy/ops/view3d/__init__.pyi +134 -134
  98. bpy/ops/wm/__init__.pyi +224 -224
  99. bpy/ops/workspace/__init__.pyi +14 -14
  100. bpy/ops/world/__init__.pyi +2 -2
  101. bpy/path/__init__.pyi +6 -0
  102. bpy/props/__init__.pyi +141 -29
  103. bpy/types/__init__.pyi +101517 -5027
  104. bpy/utils/__init__.pyi +18 -3
  105. bpy/utils/previews/__init__.pyi +15 -0
  106. bpy/utils/units/__init__.pyi +11 -3
  107. bpy_extras/__init__.pyi +19 -0
  108. bpy_extras/asset_utils/__init__.pyi +5 -0
  109. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/METADATA +1 -1
  110. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/RECORD +139 -135
  111. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/top_level.txt +1 -0
  112. freestyle/__init__.pyi +18 -0
  113. freestyle/chainingiterators/__init__.pyi +20 -5
  114. freestyle/functions/__init__.pyi +151 -155
  115. freestyle/predicates/__init__.pyi +53 -46
  116. freestyle/shaders/__init__.pyi +91 -32
  117. freestyle/types/__init__.pyi +362 -120
  118. freestyle/utils/ContextFunctions/__init__.pyi +32 -7
  119. freestyle/utils/__init__.pyi +13 -1
  120. gpu/__init__.pyi +225 -0
  121. gpu/capabilities/__init__.pyi +37 -15
  122. gpu/matrix/__init__.pyi +7 -1
  123. gpu/platform/__init__.pyi +5 -0
  124. gpu/select/__init__.pyi +5 -0
  125. gpu/shader/__init__.pyi +77 -0
  126. gpu/state/__init__.pyi +15 -4
  127. gpu/texture/__init__.pyi +5 -0
  128. gpu/types/__init__.pyi +91 -33
  129. gpu_extras/__init__.pyi +15 -0
  130. gpu_extras/presets/__init__.pyi +16 -4
  131. imbuf/__init__.pyi +13 -0
  132. imbuf/types/__init__.pyi +20 -5
  133. mathutils/__init__.pyi +349 -227
  134. mathutils/bvhtree/__init__.pyi +21 -8
  135. mathutils/geometry/__init__.pyi +23 -9
  136. mathutils/interpolate/__init__.pyi +5 -0
  137. mathutils/kdtree/__init__.pyi +19 -5
  138. mathutils/noise/__init__.pyi +87 -41
  139. {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/WHEEL +0 -0
bpy/ops/text/__init__.pyi CHANGED
@@ -5,13 +5,13 @@ GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def autocomplete(
7
7
  override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: str = None,
8
+ execution_context: typing.Union[str, int] = None,
9
9
  undo: bool = None,
10
10
  ):
11
11
  """Show a list of used text in the open document
12
12
 
13
13
  :type override_context: typing.Union[dict, bpy.types.Context]
14
- :type execution_context: str
14
+ :type execution_context: typing.Union[str, int]
15
15
  :type undo: bool
16
16
  """
17
17
 
@@ -19,14 +19,14 @@ def autocomplete(
19
19
 
20
20
  def comment_toggle(
21
21
  override_context: typing.Union[dict, bpy.types.Context] = None,
22
- execution_context: str = None,
22
+ execution_context: typing.Union[str, int] = None,
23
23
  undo: bool = None,
24
24
  type: typing.Any = "TOGGLE",
25
25
  ):
26
26
  """Undocumented, consider contributing.
27
27
 
28
28
  :type override_context: typing.Union[dict, bpy.types.Context]
29
- :type execution_context: str
29
+ :type execution_context: typing.Union[str, int]
30
30
  :type undo: bool
31
31
  :param type: Type, Add or remove comments
32
32
  :type type: typing.Any
@@ -36,14 +36,14 @@ def comment_toggle(
36
36
 
37
37
  def convert_whitespace(
38
38
  override_context: typing.Union[dict, bpy.types.Context] = None,
39
- execution_context: str = None,
39
+ execution_context: typing.Union[str, int] = None,
40
40
  undo: bool = None,
41
41
  type: typing.Any = "SPACES",
42
42
  ):
43
43
  """Convert whitespaces by type
44
44
 
45
45
  :type override_context: typing.Union[dict, bpy.types.Context]
46
- :type execution_context: str
46
+ :type execution_context: typing.Union[str, int]
47
47
  :type undo: bool
48
48
  :param type: Type, Type of whitespace to convert to
49
49
  :type type: typing.Any
@@ -53,13 +53,13 @@ def convert_whitespace(
53
53
 
54
54
  def copy(
55
55
  override_context: typing.Union[dict, bpy.types.Context] = None,
56
- execution_context: str = None,
56
+ execution_context: typing.Union[str, int] = None,
57
57
  undo: bool = None,
58
58
  ):
59
59
  """Copy selected text to clipboard
60
60
 
61
61
  :type override_context: typing.Union[dict, bpy.types.Context]
62
- :type execution_context: str
62
+ :type execution_context: typing.Union[str, int]
63
63
  :type undo: bool
64
64
  """
65
65
 
@@ -67,7 +67,7 @@ def copy(
67
67
 
68
68
  def cursor_set(
69
69
  override_context: typing.Union[dict, bpy.types.Context] = None,
70
- execution_context: str = None,
70
+ execution_context: typing.Union[str, int] = None,
71
71
  undo: bool = None,
72
72
  x: typing.Any = 0,
73
73
  y: typing.Any = 0,
@@ -75,7 +75,7 @@ def cursor_set(
75
75
  """Set cursor position
76
76
 
77
77
  :type override_context: typing.Union[dict, bpy.types.Context]
78
- :type execution_context: str
78
+ :type execution_context: typing.Union[str, int]
79
79
  :type undo: bool
80
80
  :param x: X
81
81
  :type x: typing.Any
@@ -87,13 +87,13 @@ def cursor_set(
87
87
 
88
88
  def cut(
89
89
  override_context: typing.Union[dict, bpy.types.Context] = None,
90
- execution_context: str = None,
90
+ execution_context: typing.Union[str, int] = None,
91
91
  undo: bool = None,
92
92
  ):
93
93
  """Cut selected text to clipboard
94
94
 
95
95
  :type override_context: typing.Union[dict, bpy.types.Context]
96
- :type execution_context: str
96
+ :type execution_context: typing.Union[str, int]
97
97
  :type undo: bool
98
98
  """
99
99
 
@@ -101,14 +101,14 @@ def cut(
101
101
 
102
102
  def delete(
103
103
  override_context: typing.Union[dict, bpy.types.Context] = None,
104
- execution_context: str = None,
104
+ execution_context: typing.Union[str, int] = None,
105
105
  undo: bool = None,
106
106
  type: typing.Any = "NEXT_CHARACTER",
107
107
  ):
108
108
  """Delete text by cursor position
109
109
 
110
110
  :type override_context: typing.Union[dict, bpy.types.Context]
111
- :type execution_context: str
111
+ :type execution_context: typing.Union[str, int]
112
112
  :type undo: bool
113
113
  :param type: Type, Which part of the text to delete
114
114
  :type type: typing.Any
@@ -118,13 +118,13 @@ def delete(
118
118
 
119
119
  def duplicate_line(
120
120
  override_context: typing.Union[dict, bpy.types.Context] = None,
121
- execution_context: str = None,
121
+ execution_context: typing.Union[str, int] = None,
122
122
  undo: bool = None,
123
123
  ):
124
124
  """Duplicate the current line
125
125
 
126
126
  :type override_context: typing.Union[dict, bpy.types.Context]
127
- :type execution_context: str
127
+ :type execution_context: typing.Union[str, int]
128
128
  :type undo: bool
129
129
  """
130
130
 
@@ -132,13 +132,13 @@ def duplicate_line(
132
132
 
133
133
  def find(
134
134
  override_context: typing.Union[dict, bpy.types.Context] = None,
135
- execution_context: str = None,
135
+ execution_context: typing.Union[str, int] = None,
136
136
  undo: bool = None,
137
137
  ):
138
138
  """Find specified text
139
139
 
140
140
  :type override_context: typing.Union[dict, bpy.types.Context]
141
- :type execution_context: str
141
+ :type execution_context: typing.Union[str, int]
142
142
  :type undo: bool
143
143
  """
144
144
 
@@ -146,13 +146,13 @@ def find(
146
146
 
147
147
  def find_set_selected(
148
148
  override_context: typing.Union[dict, bpy.types.Context] = None,
149
- execution_context: str = None,
149
+ execution_context: typing.Union[str, int] = None,
150
150
  undo: bool = None,
151
151
  ):
152
152
  """Find specified text and set as selected
153
153
 
154
154
  :type override_context: typing.Union[dict, bpy.types.Context]
155
- :type execution_context: str
155
+ :type execution_context: typing.Union[str, int]
156
156
  :type undo: bool
157
157
  """
158
158
 
@@ -160,13 +160,13 @@ def find_set_selected(
160
160
 
161
161
  def indent(
162
162
  override_context: typing.Union[dict, bpy.types.Context] = None,
163
- execution_context: str = None,
163
+ execution_context: typing.Union[str, int] = None,
164
164
  undo: bool = None,
165
165
  ):
166
166
  """Indent selected text
167
167
 
168
168
  :type override_context: typing.Union[dict, bpy.types.Context]
169
- :type execution_context: str
169
+ :type execution_context: typing.Union[str, int]
170
170
  :type undo: bool
171
171
  """
172
172
 
@@ -174,13 +174,13 @@ def indent(
174
174
 
175
175
  def indent_or_autocomplete(
176
176
  override_context: typing.Union[dict, bpy.types.Context] = None,
177
- execution_context: str = None,
177
+ execution_context: typing.Union[str, int] = None,
178
178
  undo: bool = None,
179
179
  ):
180
180
  """Indent selected text or autocomplete
181
181
 
182
182
  :type override_context: typing.Union[dict, bpy.types.Context]
183
- :type execution_context: str
183
+ :type execution_context: typing.Union[str, int]
184
184
  :type undo: bool
185
185
  """
186
186
 
@@ -188,14 +188,14 @@ def indent_or_autocomplete(
188
188
 
189
189
  def insert(
190
190
  override_context: typing.Union[dict, bpy.types.Context] = None,
191
- execution_context: str = None,
191
+ execution_context: typing.Union[str, int] = None,
192
192
  undo: bool = None,
193
193
  text: typing.Union[str, typing.Any] = "",
194
194
  ):
195
195
  """Insert text at cursor position
196
196
 
197
197
  :type override_context: typing.Union[dict, bpy.types.Context]
198
- :type execution_context: str
198
+ :type execution_context: typing.Union[str, int]
199
199
  :type undo: bool
200
200
  :param text: Text, Text to insert at the cursor position
201
201
  :type text: typing.Union[str, typing.Any]
@@ -205,14 +205,14 @@ def insert(
205
205
 
206
206
  def jump(
207
207
  override_context: typing.Union[dict, bpy.types.Context] = None,
208
- execution_context: str = None,
208
+ execution_context: typing.Union[str, int] = None,
209
209
  undo: bool = None,
210
210
  line: typing.Any = 1,
211
211
  ):
212
212
  """Jump cursor to line
213
213
 
214
214
  :type override_context: typing.Union[dict, bpy.types.Context]
215
- :type execution_context: str
215
+ :type execution_context: typing.Union[str, int]
216
216
  :type undo: bool
217
217
  :param line: Line, Line number to jump to
218
218
  :type line: typing.Any
@@ -222,7 +222,7 @@ def jump(
222
222
 
223
223
  def jump_to_file_at_point(
224
224
  override_context: typing.Union[dict, bpy.types.Context] = None,
225
- execution_context: str = None,
225
+ execution_context: typing.Union[str, int] = None,
226
226
  undo: bool = None,
227
227
  filepath: typing.Union[str, typing.Any] = "",
228
228
  line: typing.Any = 0,
@@ -231,7 +231,7 @@ def jump_to_file_at_point(
231
231
  """Jump to a file for the text editor
232
232
 
233
233
  :type override_context: typing.Union[dict, bpy.types.Context]
234
- :type execution_context: str
234
+ :type execution_context: typing.Union[str, int]
235
235
  :type undo: bool
236
236
  :param filepath: Filepath
237
237
  :type filepath: typing.Union[str, typing.Any]
@@ -245,13 +245,13 @@ def jump_to_file_at_point(
245
245
 
246
246
  def line_break(
247
247
  override_context: typing.Union[dict, bpy.types.Context] = None,
248
- execution_context: str = None,
248
+ execution_context: typing.Union[str, int] = None,
249
249
  undo: bool = None,
250
250
  ):
251
251
  """Insert line break at cursor position
252
252
 
253
253
  :type override_context: typing.Union[dict, bpy.types.Context]
254
- :type execution_context: str
254
+ :type execution_context: typing.Union[str, int]
255
255
  :type undo: bool
256
256
  """
257
257
 
@@ -259,13 +259,13 @@ def line_break(
259
259
 
260
260
  def line_number(
261
261
  override_context: typing.Union[dict, bpy.types.Context] = None,
262
- execution_context: str = None,
262
+ execution_context: typing.Union[str, int] = None,
263
263
  undo: bool = None,
264
264
  ):
265
265
  """The current line number
266
266
 
267
267
  :type override_context: typing.Union[dict, bpy.types.Context]
268
- :type execution_context: str
268
+ :type execution_context: typing.Union[str, int]
269
269
  :type undo: bool
270
270
  """
271
271
 
@@ -273,13 +273,13 @@ def line_number(
273
273
 
274
274
  def make_internal(
275
275
  override_context: typing.Union[dict, bpy.types.Context] = None,
276
- execution_context: str = None,
276
+ execution_context: typing.Union[str, int] = None,
277
277
  undo: bool = None,
278
278
  ):
279
279
  """Make active text file internal
280
280
 
281
281
  :type override_context: typing.Union[dict, bpy.types.Context]
282
- :type execution_context: str
282
+ :type execution_context: typing.Union[str, int]
283
283
  :type undo: bool
284
284
  """
285
285
 
@@ -287,14 +287,14 @@ def make_internal(
287
287
 
288
288
  def move(
289
289
  override_context: typing.Union[dict, bpy.types.Context] = None,
290
- execution_context: str = None,
290
+ execution_context: typing.Union[str, int] = None,
291
291
  undo: bool = None,
292
292
  type: typing.Any = "LINE_BEGIN",
293
293
  ):
294
294
  """Move cursor to position type
295
295
 
296
296
  :type override_context: typing.Union[dict, bpy.types.Context]
297
- :type execution_context: str
297
+ :type execution_context: typing.Union[str, int]
298
298
  :type undo: bool
299
299
  :param type: Type, Where to move cursor to
300
300
  :type type: typing.Any
@@ -304,14 +304,14 @@ def move(
304
304
 
305
305
  def move_lines(
306
306
  override_context: typing.Union[dict, bpy.types.Context] = None,
307
- execution_context: str = None,
307
+ execution_context: typing.Union[str, int] = None,
308
308
  undo: bool = None,
309
309
  direction: typing.Any = "DOWN",
310
310
  ):
311
311
  """Move the currently selected line(s) up/down
312
312
 
313
313
  :type override_context: typing.Union[dict, bpy.types.Context]
314
- :type execution_context: str
314
+ :type execution_context: typing.Union[str, int]
315
315
  :type undo: bool
316
316
  :param direction: Direction
317
317
  :type direction: typing.Any
@@ -321,14 +321,14 @@ def move_lines(
321
321
 
322
322
  def move_select(
323
323
  override_context: typing.Union[dict, bpy.types.Context] = None,
324
- execution_context: str = None,
324
+ execution_context: typing.Union[str, int] = None,
325
325
  undo: bool = None,
326
326
  type: typing.Any = "LINE_BEGIN",
327
327
  ):
328
328
  """Move the cursor while selecting
329
329
 
330
330
  :type override_context: typing.Union[dict, bpy.types.Context]
331
- :type execution_context: str
331
+ :type execution_context: typing.Union[str, int]
332
332
  :type undo: bool
333
333
  :param type: Type, Where to move cursor to, to make a selection
334
334
  :type type: typing.Any
@@ -338,13 +338,13 @@ def move_select(
338
338
 
339
339
  def new(
340
340
  override_context: typing.Union[dict, bpy.types.Context] = None,
341
- execution_context: str = None,
341
+ execution_context: typing.Union[str, int] = None,
342
342
  undo: bool = None,
343
343
  ):
344
344
  """Create a new text data-block
345
345
 
346
346
  :type override_context: typing.Union[dict, bpy.types.Context]
347
- :type execution_context: str
347
+ :type execution_context: typing.Union[str, int]
348
348
  :type undo: bool
349
349
  """
350
350
 
@@ -352,7 +352,7 @@ def new(
352
352
 
353
353
  def open(
354
354
  override_context: typing.Union[dict, bpy.types.Context] = None,
355
- execution_context: str = None,
355
+ execution_context: typing.Union[str, int] = None,
356
356
  undo: bool = None,
357
357
  filepath: typing.Union[str, typing.Any] = "",
358
358
  hide_props_region: typing.Union[bool, typing.Any] = True,
@@ -382,7 +382,7 @@ def open(
382
382
  """Open a new text data-block
383
383
 
384
384
  :type override_context: typing.Union[dict, bpy.types.Context]
385
- :type execution_context: str
385
+ :type execution_context: typing.Union[str, int]
386
386
  :type undo: bool
387
387
  :param filepath: File Path, Path to file
388
388
  :type filepath: typing.Union[str, typing.Any]
@@ -465,13 +465,13 @@ def open(
465
465
 
466
466
  def overwrite_toggle(
467
467
  override_context: typing.Union[dict, bpy.types.Context] = None,
468
- execution_context: str = None,
468
+ execution_context: typing.Union[str, int] = None,
469
469
  undo: bool = None,
470
470
  ):
471
471
  """Toggle overwrite while typing
472
472
 
473
473
  :type override_context: typing.Union[dict, bpy.types.Context]
474
- :type execution_context: str
474
+ :type execution_context: typing.Union[str, int]
475
475
  :type undo: bool
476
476
  """
477
477
 
@@ -479,14 +479,14 @@ def overwrite_toggle(
479
479
 
480
480
  def paste(
481
481
  override_context: typing.Union[dict, bpy.types.Context] = None,
482
- execution_context: str = None,
482
+ execution_context: typing.Union[str, int] = None,
483
483
  undo: bool = None,
484
484
  selection: typing.Union[bool, typing.Any] = False,
485
485
  ):
486
486
  """Paste text from clipboard
487
487
 
488
488
  :type override_context: typing.Union[dict, bpy.types.Context]
489
- :type execution_context: str
489
+ :type execution_context: typing.Union[str, int]
490
490
  :type undo: bool
491
491
  :param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
492
492
  :type selection: typing.Union[bool, typing.Any]
@@ -496,13 +496,13 @@ def paste(
496
496
 
497
497
  def refresh_pyconstraints(
498
498
  override_context: typing.Union[dict, bpy.types.Context] = None,
499
- execution_context: str = None,
499
+ execution_context: typing.Union[str, int] = None,
500
500
  undo: bool = None,
501
501
  ):
502
502
  """Refresh all pyconstraints
503
503
 
504
504
  :type override_context: typing.Union[dict, bpy.types.Context]
505
- :type execution_context: str
505
+ :type execution_context: typing.Union[str, int]
506
506
  :type undo: bool
507
507
  """
508
508
 
@@ -510,13 +510,13 @@ def refresh_pyconstraints(
510
510
 
511
511
  def reload(
512
512
  override_context: typing.Union[dict, bpy.types.Context] = None,
513
- execution_context: str = None,
513
+ execution_context: typing.Union[str, int] = None,
514
514
  undo: bool = None,
515
515
  ):
516
516
  """Reload active text data-block from its file
517
517
 
518
518
  :type override_context: typing.Union[dict, bpy.types.Context]
519
- :type execution_context: str
519
+ :type execution_context: typing.Union[str, int]
520
520
  :type undo: bool
521
521
  """
522
522
 
@@ -524,14 +524,14 @@ def reload(
524
524
 
525
525
  def replace(
526
526
  override_context: typing.Union[dict, bpy.types.Context] = None,
527
- execution_context: str = None,
527
+ execution_context: typing.Union[str, int] = None,
528
528
  undo: bool = None,
529
529
  all: typing.Union[bool, typing.Any] = False,
530
530
  ):
531
531
  """Replace text with the specified text
532
532
 
533
533
  :type override_context: typing.Union[dict, bpy.types.Context]
534
- :type execution_context: str
534
+ :type execution_context: typing.Union[str, int]
535
535
  :type undo: bool
536
536
  :param all: Replace All, Replace all occurrences
537
537
  :type all: typing.Union[bool, typing.Any]
@@ -541,13 +541,13 @@ def replace(
541
541
 
542
542
  def replace_set_selected(
543
543
  override_context: typing.Union[dict, bpy.types.Context] = None,
544
- execution_context: str = None,
544
+ execution_context: typing.Union[str, int] = None,
545
545
  undo: bool = None,
546
546
  ):
547
547
  """Replace text with specified text and set as selected
548
548
 
549
549
  :type override_context: typing.Union[dict, bpy.types.Context]
550
- :type execution_context: str
550
+ :type execution_context: typing.Union[str, int]
551
551
  :type undo: bool
552
552
  """
553
553
 
@@ -555,14 +555,14 @@ def replace_set_selected(
555
555
 
556
556
  def resolve_conflict(
557
557
  override_context: typing.Union[dict, bpy.types.Context] = None,
558
- execution_context: str = None,
558
+ execution_context: typing.Union[str, int] = None,
559
559
  undo: bool = None,
560
560
  resolution: typing.Any = "IGNORE",
561
561
  ):
562
562
  """When external text is out of sync, resolve the conflict
563
563
 
564
564
  :type override_context: typing.Union[dict, bpy.types.Context]
565
- :type execution_context: str
565
+ :type execution_context: typing.Union[str, int]
566
566
  :type undo: bool
567
567
  :param resolution: Resolution, How to solve conflict due to differences in internal and external text
568
568
  :type resolution: typing.Any
@@ -572,13 +572,13 @@ def resolve_conflict(
572
572
 
573
573
  def run_script(
574
574
  override_context: typing.Union[dict, bpy.types.Context] = None,
575
- execution_context: str = None,
575
+ execution_context: typing.Union[str, int] = None,
576
576
  undo: bool = None,
577
577
  ):
578
578
  """Run active script
579
579
 
580
580
  :type override_context: typing.Union[dict, bpy.types.Context]
581
- :type execution_context: str
581
+ :type execution_context: typing.Union[str, int]
582
582
  :type undo: bool
583
583
  """
584
584
 
@@ -586,13 +586,13 @@ def run_script(
586
586
 
587
587
  def save(
588
588
  override_context: typing.Union[dict, bpy.types.Context] = None,
589
- execution_context: str = None,
589
+ execution_context: typing.Union[str, int] = None,
590
590
  undo: bool = None,
591
591
  ):
592
592
  """Save active text data-block
593
593
 
594
594
  :type override_context: typing.Union[dict, bpy.types.Context]
595
- :type execution_context: str
595
+ :type execution_context: typing.Union[str, int]
596
596
  :type undo: bool
597
597
  """
598
598
 
@@ -600,7 +600,7 @@ def save(
600
600
 
601
601
  def save_as(
602
602
  override_context: typing.Union[dict, bpy.types.Context] = None,
603
- execution_context: str = None,
603
+ execution_context: typing.Union[str, int] = None,
604
604
  undo: bool = None,
605
605
  filepath: typing.Union[str, typing.Any] = "",
606
606
  hide_props_region: typing.Union[bool, typing.Any] = True,
@@ -629,7 +629,7 @@ def save_as(
629
629
  """Save active text file with options
630
630
 
631
631
  :type override_context: typing.Union[dict, bpy.types.Context]
632
- :type execution_context: str
632
+ :type execution_context: typing.Union[str, int]
633
633
  :type undo: bool
634
634
  :param filepath: File Path, Path to file
635
635
  :type filepath: typing.Union[str, typing.Any]
@@ -695,14 +695,14 @@ def save_as(
695
695
 
696
696
  def scroll(
697
697
  override_context: typing.Union[dict, bpy.types.Context] = None,
698
- execution_context: str = None,
698
+ execution_context: typing.Union[str, int] = None,
699
699
  undo: bool = None,
700
700
  lines: typing.Any = 1,
701
701
  ):
702
702
  """Undocumented, consider contributing.
703
703
 
704
704
  :type override_context: typing.Union[dict, bpy.types.Context]
705
- :type execution_context: str
705
+ :type execution_context: typing.Union[str, int]
706
706
  :type undo: bool
707
707
  :param lines: Lines, Number of lines to scroll
708
708
  :type lines: typing.Any
@@ -712,14 +712,14 @@ def scroll(
712
712
 
713
713
  def scroll_bar(
714
714
  override_context: typing.Union[dict, bpy.types.Context] = None,
715
- execution_context: str = None,
715
+ execution_context: typing.Union[str, int] = None,
716
716
  undo: bool = None,
717
717
  lines: typing.Any = 1,
718
718
  ):
719
719
  """Undocumented, consider contributing.
720
720
 
721
721
  :type override_context: typing.Union[dict, bpy.types.Context]
722
- :type execution_context: str
722
+ :type execution_context: typing.Union[str, int]
723
723
  :type undo: bool
724
724
  :param lines: Lines, Number of lines to scroll
725
725
  :type lines: typing.Any
@@ -729,13 +729,13 @@ def scroll_bar(
729
729
 
730
730
  def select_all(
731
731
  override_context: typing.Union[dict, bpy.types.Context] = None,
732
- execution_context: str = None,
732
+ execution_context: typing.Union[str, int] = None,
733
733
  undo: bool = None,
734
734
  ):
735
735
  """Select all text
736
736
 
737
737
  :type override_context: typing.Union[dict, bpy.types.Context]
738
- :type execution_context: str
738
+ :type execution_context: typing.Union[str, int]
739
739
  :type undo: bool
740
740
  """
741
741
 
@@ -743,13 +743,13 @@ def select_all(
743
743
 
744
744
  def select_line(
745
745
  override_context: typing.Union[dict, bpy.types.Context] = None,
746
- execution_context: str = None,
746
+ execution_context: typing.Union[str, int] = None,
747
747
  undo: bool = None,
748
748
  ):
749
749
  """Select text by line
750
750
 
751
751
  :type override_context: typing.Union[dict, bpy.types.Context]
752
- :type execution_context: str
752
+ :type execution_context: typing.Union[str, int]
753
753
  :type undo: bool
754
754
  """
755
755
 
@@ -757,13 +757,13 @@ def select_line(
757
757
 
758
758
  def select_word(
759
759
  override_context: typing.Union[dict, bpy.types.Context] = None,
760
- execution_context: str = None,
760
+ execution_context: typing.Union[str, int] = None,
761
761
  undo: bool = None,
762
762
  ):
763
763
  """Select word under cursor
764
764
 
765
765
  :type override_context: typing.Union[dict, bpy.types.Context]
766
- :type execution_context: str
766
+ :type execution_context: typing.Union[str, int]
767
767
  :type undo: bool
768
768
  """
769
769
 
@@ -771,13 +771,13 @@ def select_word(
771
771
 
772
772
  def selection_set(
773
773
  override_context: typing.Union[dict, bpy.types.Context] = None,
774
- execution_context: str = None,
774
+ execution_context: typing.Union[str, int] = None,
775
775
  undo: bool = None,
776
776
  ):
777
777
  """Set text selection
778
778
 
779
779
  :type override_context: typing.Union[dict, bpy.types.Context]
780
- :type execution_context: str
780
+ :type execution_context: typing.Union[str, int]
781
781
  :type undo: bool
782
782
  """
783
783
 
@@ -785,13 +785,13 @@ def selection_set(
785
785
 
786
786
  def start_find(
787
787
  override_context: typing.Union[dict, bpy.types.Context] = None,
788
- execution_context: str = None,
788
+ execution_context: typing.Union[str, int] = None,
789
789
  undo: bool = None,
790
790
  ):
791
791
  """Start searching text
792
792
 
793
793
  :type override_context: typing.Union[dict, bpy.types.Context]
794
- :type execution_context: str
794
+ :type execution_context: typing.Union[str, int]
795
795
  :type undo: bool
796
796
  """
797
797
 
@@ -799,14 +799,14 @@ def start_find(
799
799
 
800
800
  def to_3d_object(
801
801
  override_context: typing.Union[dict, bpy.types.Context] = None,
802
- execution_context: str = None,
802
+ execution_context: typing.Union[str, int] = None,
803
803
  undo: bool = None,
804
804
  split_lines: typing.Union[bool, typing.Any] = False,
805
805
  ):
806
806
  """Create 3D text object from active text data-block
807
807
 
808
808
  :type override_context: typing.Union[dict, bpy.types.Context]
809
- :type execution_context: str
809
+ :type execution_context: typing.Union[str, int]
810
810
  :type undo: bool
811
811
  :param split_lines: Split Lines, Create one object per line in the text
812
812
  :type split_lines: typing.Union[bool, typing.Any]
@@ -816,13 +816,13 @@ def to_3d_object(
816
816
 
817
817
  def unindent(
818
818
  override_context: typing.Union[dict, bpy.types.Context] = None,
819
- execution_context: str = None,
819
+ execution_context: typing.Union[str, int] = None,
820
820
  undo: bool = None,
821
821
  ):
822
822
  """Unindent selected text
823
823
 
824
824
  :type override_context: typing.Union[dict, bpy.types.Context]
825
- :type execution_context: str
825
+ :type execution_context: typing.Union[str, int]
826
826
  :type undo: bool
827
827
  """
828
828
 
@@ -830,13 +830,13 @@ def unindent(
830
830
 
831
831
  def unlink(
832
832
  override_context: typing.Union[dict, bpy.types.Context] = None,
833
- execution_context: str = None,
833
+ execution_context: typing.Union[str, int] = None,
834
834
  undo: bool = None,
835
835
  ):
836
836
  """Unlink active text data-block
837
837
 
838
838
  :type override_context: typing.Union[dict, bpy.types.Context]
839
- :type execution_context: str
839
+ :type execution_context: typing.Union[str, int]
840
840
  :type undo: bool
841
841
  """
842
842