fake-bpy-module 20240326__py3-none-any.whl → 20240329__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 (117) hide show
  1. aud/__init__.pyi +34 -96
  2. bgl/__init__.pyi +1265 -2417
  3. bl_math/__init__.pyi +3 -14
  4. bl_operators/presets/__init__.pyi +167 -0
  5. bl_operators/view3d/__init__.pyi +248 -0
  6. bl_ui/space_toolsystem_toolbar/__init__.pyi +3 -0
  7. blf/__init__.pyi +13 -50
  8. bmesh/ops/__init__.pyi +68 -142
  9. bmesh/types/__init__.pyi +18 -44
  10. bmesh/utils/__init__.pyi +2 -6
  11. bpy/app/icons/__init__.pyi +2 -4
  12. bpy/app/timers/__init__.pyi +2 -6
  13. bpy/ops/action/__init__.pyi +92 -93
  14. bpy/ops/anim/__init__.pyi +104 -104
  15. bpy/ops/armature/__init__.pyi +108 -112
  16. bpy/ops/asset/__init__.pyi +32 -32
  17. bpy/ops/boid/__init__.pyi +18 -18
  18. bpy/ops/brush/__init__.pyi +18 -18
  19. bpy/ops/buttons/__init__.pyi +12 -12
  20. bpy/ops/cachefile/__init__.pyi +10 -10
  21. bpy/ops/camera/__init__.pyi +4 -4
  22. bpy/ops/clip/__init__.pyi +194 -195
  23. bpy/ops/cloth/__init__.pyi +2 -2
  24. bpy/ops/collection/__init__.pyi +10 -10
  25. bpy/ops/console/__init__.pyi +42 -42
  26. bpy/ops/constraint/__init__.pyi +36 -36
  27. bpy/ops/curve/__init__.pyi +114 -118
  28. bpy/ops/curves/__init__.pyi +55 -53
  29. bpy/ops/cycles/__init__.pyi +6 -6
  30. bpy/ops/dpaint/__init__.pyi +12 -12
  31. bpy/ops/ed/__init__.pyi +24 -24
  32. bpy/ops/export_anim/__init__.pyi +2 -2
  33. bpy/ops/export_mesh/__init__.pyi +2 -2
  34. bpy/ops/export_scene/__init__.pyi +7 -7
  35. bpy/ops/file/__init__.pyi +80 -83
  36. bpy/ops/fluid/__init__.pyi +28 -28
  37. bpy/ops/font/__init__.pyi +46 -46
  38. bpy/ops/geometry/__init__.pyi +38 -38
  39. bpy/ops/gizmogroup/__init__.pyi +4 -4
  40. bpy/ops/gpencil/__init__.pyi +308 -309
  41. bpy/ops/graph/__init__.pyi +150 -151
  42. bpy/ops/grease_pencil/__init__.pyi +114 -115
  43. bpy/ops/image/__init__.pyi +100 -100
  44. bpy/ops/import_anim/__init__.pyi +2 -2
  45. bpy/ops/import_curve/__init__.pyi +2 -2
  46. bpy/ops/import_mesh/__init__.pyi +2 -2
  47. bpy/ops/import_scene/__init__.pyi +6 -6
  48. bpy/ops/info/__init__.pyi +14 -14
  49. bpy/ops/lattice/__init__.pyi +16 -16
  50. bpy/ops/marker/__init__.pyi +22 -22
  51. bpy/ops/mask/__init__.pyi +90 -91
  52. bpy/ops/material/__init__.pyi +6 -6
  53. bpy/ops/mball/__init__.pyi +20 -21
  54. bpy/ops/mesh/__init__.pyi +429 -427
  55. bpy/ops/nla/__init__.pyi +90 -91
  56. bpy/ops/node/__init__.pyi +242 -243
  57. bpy/ops/object/__init__.pyi +572 -567
  58. bpy/ops/outliner/__init__.pyi +142 -142
  59. bpy/ops/paint/__init__.pyi +182 -126
  60. bpy/ops/paintcurve/__init__.pyi +20 -20
  61. bpy/ops/palette/__init__.pyi +14 -14
  62. bpy/ops/particle/__init__.pyi +72 -72
  63. bpy/ops/pose/__init__.pyi +90 -90
  64. bpy/ops/poselib/__init__.pyi +18 -18
  65. bpy/ops/preferences/__init__.pyi +76 -76
  66. bpy/ops/ptcache/__init__.pyi +14 -14
  67. bpy/ops/render/__init__.pyi +24 -24
  68. bpy/ops/rigidbody/__init__.pyi +34 -34
  69. bpy/ops/scene/__init__.pyi +86 -86
  70. bpy/ops/screen/__init__.pyi +84 -84
  71. bpy/ops/script/__init__.pyi +6 -6
  72. bpy/ops/sculpt/__init__.pyi +80 -62
  73. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  74. bpy/ops/sequencer/__init__.pyi +184 -185
  75. bpy/ops/sound/__init__.pyi +16 -16
  76. bpy/ops/spreadsheet/__init__.pyi +8 -8
  77. bpy/ops/surface/__init__.pyi +12 -12
  78. bpy/ops/text/__init__.pyi +86 -86
  79. bpy/ops/text_editor/__init__.pyi +2 -2
  80. bpy/ops/texture/__init__.pyi +8 -8
  81. bpy/ops/transform/__init__.pyi +112 -112
  82. bpy/ops/ui/__init__.pyi +64 -64
  83. bpy/ops/uilist/__init__.pyi +6 -6
  84. bpy/ops/uv/__init__.pyi +104 -105
  85. bpy/ops/view2d/__init__.pyi +28 -28
  86. bpy/ops/view3d/__init__.pyi +134 -134
  87. bpy/ops/wm/__init__.pyi +253 -230
  88. bpy/ops/workspace/__init__.pyi +14 -14
  89. bpy/ops/world/__init__.pyi +2 -2
  90. bpy/props/__init__.pyi +29 -52
  91. bpy/types/__init__.pyi +4648 -3095
  92. bpy/utils/__init__.pyi +3 -6
  93. bpy/utils/units/__init__.pyi +3 -6
  94. bpy_extras/io_utils/__init__.pyi +8 -0
  95. bpy_types/__init__.pyi +3 -0
  96. {fake_bpy_module-20240326.dist-info → fake_bpy_module-20240329.dist-info}/METADATA +1 -1
  97. {fake_bpy_module-20240326.dist-info → fake_bpy_module-20240329.dist-info}/RECORD +117 -117
  98. freestyle/chainingiterators/__init__.pyi +5 -12
  99. freestyle/functions/__init__.pyi +19 -73
  100. freestyle/predicates/__init__.pyi +8 -21
  101. freestyle/shaders/__init__.pyi +32 -81
  102. freestyle/types/__init__.pyi +100 -270
  103. freestyle/utils/ContextFunctions/__init__.pyi +7 -27
  104. freestyle/utils/__init__.pyi +1 -2
  105. gpu/capabilities/__init__.pyi +15 -32
  106. gpu/matrix/__init__.pyi +1 -2
  107. gpu/state/__init__.pyi +4 -10
  108. gpu/types/__init__.pyi +29 -87
  109. gpu_extras/presets/__init__.pyi +4 -16
  110. imbuf/types/__init__.pyi +4 -10
  111. mathutils/__init__.pyi +106 -257
  112. mathutils/bvhtree/__init__.pyi +7 -15
  113. mathutils/geometry/__init__.pyi +9 -18
  114. mathutils/kdtree/__init__.pyi +4 -11
  115. mathutils/noise/__init__.pyi +41 -82
  116. {fake_bpy_module-20240326.dist-info → fake_bpy_module-20240329.dist-info}/WHEEL +0 -0
  117. {fake_bpy_module-20240326.dist-info → fake_bpy_module-20240329.dist-info}/top_level.txt +0 -0
@@ -5,13 +5,13 @@ GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def assign_action(
7
7
  override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: typing.Union[str, int] = None,
8
+ execution_context: str = None,
9
9
  undo: bool = None,
10
10
  ):
11
11
  """Set this pose Action as active Action on the active Object
12
12
 
13
13
  :type override_context: typing.Union[dict, bpy.types.Context]
14
- :type execution_context: typing.Union[str, int]
14
+ :type execution_context: str
15
15
  :type undo: bool
16
16
  """
17
17
 
@@ -19,7 +19,7 @@ def assign_action(
19
19
 
20
20
  def bundle_install(
21
21
  override_context: typing.Union[dict, bpy.types.Context] = None,
22
- execution_context: typing.Union[str, int] = None,
22
+ execution_context: str = None,
23
23
  undo: bool = None,
24
24
  asset_library_reference: typing.Union[str, int, typing.Any] = "",
25
25
  filepath: typing.Union[str, typing.Any] = "",
@@ -49,7 +49,7 @@ def bundle_install(
49
49
  """Copy the current .blend file into an Asset Library. Only works on standalone .blend files (i.e. when no other files are referenced)
50
50
 
51
51
  :type override_context: typing.Union[dict, bpy.types.Context]
52
- :type execution_context: typing.Union[str, int]
52
+ :type execution_context: str
53
53
  :type undo: bool
54
54
  :param asset_library_reference: asset_library_reference
55
55
  :type asset_library_reference: typing.Union[str, int, typing.Any]
@@ -117,14 +117,14 @@ def bundle_install(
117
117
 
118
118
  def catalog_delete(
119
119
  override_context: typing.Union[dict, bpy.types.Context] = None,
120
- execution_context: typing.Union[str, int] = None,
120
+ execution_context: str = None,
121
121
  undo: bool = None,
122
122
  catalog_id: typing.Union[str, typing.Any] = "",
123
123
  ):
124
124
  """Remove an asset catalog from the asset library (contained assets will not be affected and show up as unassigned)
125
125
 
126
126
  :type override_context: typing.Union[dict, bpy.types.Context]
127
- :type execution_context: typing.Union[str, int]
127
+ :type execution_context: str
128
128
  :type undo: bool
129
129
  :param catalog_id: Catalog ID, ID of the catalog to delete
130
130
  :type catalog_id: typing.Union[str, typing.Any]
@@ -134,14 +134,14 @@ def catalog_delete(
134
134
 
135
135
  def catalog_new(
136
136
  override_context: typing.Union[dict, bpy.types.Context] = None,
137
- execution_context: typing.Union[str, int] = None,
137
+ execution_context: str = None,
138
138
  undo: bool = None,
139
139
  parent_path: typing.Union[str, typing.Any] = "",
140
140
  ):
141
141
  """Create a new catalog to put assets in
142
142
 
143
143
  :type override_context: typing.Union[dict, bpy.types.Context]
144
- :type execution_context: typing.Union[str, int]
144
+ :type execution_context: str
145
145
  :type undo: bool
146
146
  :param parent_path: Parent Path, Optional path defining the location to put the new catalog under
147
147
  :type parent_path: typing.Union[str, typing.Any]
@@ -151,13 +151,13 @@ def catalog_new(
151
151
 
152
152
  def catalog_redo(
153
153
  override_context: typing.Union[dict, bpy.types.Context] = None,
154
- execution_context: typing.Union[str, int] = None,
154
+ execution_context: str = None,
155
155
  undo: bool = None,
156
156
  ):
157
157
  """Redo the last undone edit to the asset catalogs
158
158
 
159
159
  :type override_context: typing.Union[dict, bpy.types.Context]
160
- :type execution_context: typing.Union[str, int]
160
+ :type execution_context: str
161
161
  :type undo: bool
162
162
  """
163
163
 
@@ -165,13 +165,13 @@ def catalog_redo(
165
165
 
166
166
  def catalog_undo(
167
167
  override_context: typing.Union[dict, bpy.types.Context] = None,
168
- execution_context: typing.Union[str, int] = None,
168
+ execution_context: str = None,
169
169
  undo: bool = None,
170
170
  ):
171
171
  """Undo the last edit to the asset catalogs
172
172
 
173
173
  :type override_context: typing.Union[dict, bpy.types.Context]
174
- :type execution_context: typing.Union[str, int]
174
+ :type execution_context: str
175
175
  :type undo: bool
176
176
  """
177
177
 
@@ -179,13 +179,13 @@ def catalog_undo(
179
179
 
180
180
  def catalog_undo_push(
181
181
  override_context: typing.Union[dict, bpy.types.Context] = None,
182
- execution_context: typing.Union[str, int] = None,
182
+ execution_context: str = None,
183
183
  undo: bool = None,
184
184
  ):
185
185
  """Store the current state of the asset catalogs in the undo buffer
186
186
 
187
187
  :type override_context: typing.Union[dict, bpy.types.Context]
188
- :type execution_context: typing.Union[str, int]
188
+ :type execution_context: str
189
189
  :type undo: bool
190
190
  """
191
191
 
@@ -193,13 +193,13 @@ def catalog_undo_push(
193
193
 
194
194
  def catalogs_save(
195
195
  override_context: typing.Union[dict, bpy.types.Context] = None,
196
- execution_context: typing.Union[str, int] = None,
196
+ execution_context: str = None,
197
197
  undo: bool = None,
198
198
  ):
199
199
  """Make any edits to any catalogs permanent by writing the current set up to the asset library
200
200
 
201
201
  :type override_context: typing.Union[dict, bpy.types.Context]
202
- :type execution_context: typing.Union[str, int]
202
+ :type execution_context: str
203
203
  :type undo: bool
204
204
  """
205
205
 
@@ -207,14 +207,14 @@ def catalogs_save(
207
207
 
208
208
  def clear(
209
209
  override_context: typing.Union[dict, bpy.types.Context] = None,
210
- execution_context: typing.Union[str, int] = None,
210
+ execution_context: str = None,
211
211
  undo: bool = None,
212
212
  set_fake_user: typing.Union[bool, typing.Any] = False,
213
213
  ):
214
214
  """Delete all asset metadata and turn the selected asset data-blocks back into normal data-blocks
215
215
 
216
216
  :type override_context: typing.Union[dict, bpy.types.Context]
217
- :type execution_context: typing.Union[str, int]
217
+ :type execution_context: str
218
218
  :type undo: bool
219
219
  :param set_fake_user: Set Fake User, Ensure the data-block is saved, even when it is no longer marked as asset
220
220
  :type set_fake_user: typing.Union[bool, typing.Any]
@@ -224,14 +224,14 @@ def clear(
224
224
 
225
225
  def clear_single(
226
226
  override_context: typing.Union[dict, bpy.types.Context] = None,
227
- execution_context: typing.Union[str, int] = None,
227
+ execution_context: str = None,
228
228
  undo: bool = None,
229
229
  set_fake_user: typing.Union[bool, typing.Any] = False,
230
230
  ):
231
231
  """Delete all asset metadata and turn the asset data-block back into a normal data-block
232
232
 
233
233
  :type override_context: typing.Union[dict, bpy.types.Context]
234
- :type execution_context: typing.Union[str, int]
234
+ :type execution_context: str
235
235
  :type undo: bool
236
236
  :param set_fake_user: Set Fake User, Ensure the data-block is saved, even when it is no longer marked as asset
237
237
  :type set_fake_user: typing.Union[bool, typing.Any]
@@ -241,13 +241,13 @@ def clear_single(
241
241
 
242
242
  def library_refresh(
243
243
  override_context: typing.Union[dict, bpy.types.Context] = None,
244
- execution_context: typing.Union[str, int] = None,
244
+ execution_context: str = None,
245
245
  undo: bool = None,
246
246
  ):
247
247
  """Reread assets and asset catalogs from the asset library on disk
248
248
 
249
249
  :type override_context: typing.Union[dict, bpy.types.Context]
250
- :type execution_context: typing.Union[str, int]
250
+ :type execution_context: str
251
251
  :type undo: bool
252
252
  """
253
253
 
@@ -255,13 +255,13 @@ def library_refresh(
255
255
 
256
256
  def mark(
257
257
  override_context: typing.Union[dict, bpy.types.Context] = None,
258
- execution_context: typing.Union[str, int] = None,
258
+ execution_context: str = None,
259
259
  undo: bool = None,
260
260
  ):
261
261
  """Enable easier reuse of selected data-blocks through the Asset Browser, with the help of customizable metadata (like previews, descriptions and tags)
262
262
 
263
263
  :type override_context: typing.Union[dict, bpy.types.Context]
264
- :type execution_context: typing.Union[str, int]
264
+ :type execution_context: str
265
265
  :type undo: bool
266
266
  """
267
267
 
@@ -269,13 +269,13 @@ def mark(
269
269
 
270
270
  def mark_single(
271
271
  override_context: typing.Union[dict, bpy.types.Context] = None,
272
- execution_context: typing.Union[str, int] = None,
272
+ execution_context: str = None,
273
273
  undo: bool = None,
274
274
  ):
275
275
  """Enable easier reuse of a data-block through the Asset Browser, with the help of customizable metadata (like previews, descriptions and tags)
276
276
 
277
277
  :type override_context: typing.Union[dict, bpy.types.Context]
278
- :type execution_context: typing.Union[str, int]
278
+ :type execution_context: str
279
279
  :type undo: bool
280
280
  """
281
281
 
@@ -283,13 +283,13 @@ def mark_single(
283
283
 
284
284
  def open_containing_blend_file(
285
285
  override_context: typing.Union[dict, bpy.types.Context] = None,
286
- execution_context: typing.Union[str, int] = None,
286
+ execution_context: str = None,
287
287
  undo: bool = None,
288
288
  ):
289
289
  """Open the blend file that contains the active asset
290
290
 
291
291
  :type override_context: typing.Union[dict, bpy.types.Context]
292
- :type execution_context: typing.Union[str, int]
292
+ :type execution_context: str
293
293
  :type undo: bool
294
294
  """
295
295
 
@@ -297,13 +297,13 @@ def open_containing_blend_file(
297
297
 
298
298
  def tag_add(
299
299
  override_context: typing.Union[dict, bpy.types.Context] = None,
300
- execution_context: typing.Union[str, int] = None,
300
+ execution_context: str = None,
301
301
  undo: bool = None,
302
302
  ):
303
303
  """Add a new keyword tag to the active asset
304
304
 
305
305
  :type override_context: typing.Union[dict, bpy.types.Context]
306
- :type execution_context: typing.Union[str, int]
306
+ :type execution_context: str
307
307
  :type undo: bool
308
308
  """
309
309
 
@@ -311,13 +311,13 @@ def tag_add(
311
311
 
312
312
  def tag_remove(
313
313
  override_context: typing.Union[dict, bpy.types.Context] = None,
314
- execution_context: typing.Union[str, int] = None,
314
+ execution_context: str = None,
315
315
  undo: bool = None,
316
316
  ):
317
317
  """Remove an existing keyword tag from the active asset
318
318
 
319
319
  :type override_context: typing.Union[dict, bpy.types.Context]
320
- :type execution_context: typing.Union[str, int]
320
+ :type execution_context: str
321
321
  :type undo: bool
322
322
  """
323
323
 
bpy/ops/boid/__init__.pyi CHANGED
@@ -5,30 +5,30 @@ GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def rule_add(
7
7
  override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: typing.Union[str, int] = None,
8
+ execution_context: str = None,
9
9
  undo: bool = None,
10
- type: typing.Any = "GOAL",
10
+ type: typing.Union[str, int] = "GOAL",
11
11
  ):
12
12
  """Add a boid rule to the current boid state
13
13
 
14
14
  :type override_context: typing.Union[dict, bpy.types.Context]
15
- :type execution_context: typing.Union[str, int]
15
+ :type execution_context: str
16
16
  :type undo: bool
17
17
  :param type: Type
18
- :type type: typing.Any
18
+ :type type: typing.Union[str, int]
19
19
  """
20
20
 
21
21
  ...
22
22
 
23
23
  def rule_del(
24
24
  override_context: typing.Union[dict, bpy.types.Context] = None,
25
- execution_context: typing.Union[str, int] = None,
25
+ execution_context: str = None,
26
26
  undo: bool = None,
27
27
  ):
28
28
  """Delete current boid rule
29
29
 
30
30
  :type override_context: typing.Union[dict, bpy.types.Context]
31
- :type execution_context: typing.Union[str, int]
31
+ :type execution_context: str
32
32
  :type undo: bool
33
33
  """
34
34
 
@@ -36,13 +36,13 @@ def rule_del(
36
36
 
37
37
  def rule_move_down(
38
38
  override_context: typing.Union[dict, bpy.types.Context] = None,
39
- execution_context: typing.Union[str, int] = None,
39
+ execution_context: str = None,
40
40
  undo: bool = None,
41
41
  ):
42
42
  """Move boid rule down in the list
43
43
 
44
44
  :type override_context: typing.Union[dict, bpy.types.Context]
45
- :type execution_context: typing.Union[str, int]
45
+ :type execution_context: str
46
46
  :type undo: bool
47
47
  """
48
48
 
@@ -50,13 +50,13 @@ def rule_move_down(
50
50
 
51
51
  def rule_move_up(
52
52
  override_context: typing.Union[dict, bpy.types.Context] = None,
53
- execution_context: typing.Union[str, int] = None,
53
+ execution_context: str = None,
54
54
  undo: bool = None,
55
55
  ):
56
56
  """Move boid rule up in the list
57
57
 
58
58
  :type override_context: typing.Union[dict, bpy.types.Context]
59
- :type execution_context: typing.Union[str, int]
59
+ :type execution_context: str
60
60
  :type undo: bool
61
61
  """
62
62
 
@@ -64,13 +64,13 @@ def rule_move_up(
64
64
 
65
65
  def state_add(
66
66
  override_context: typing.Union[dict, bpy.types.Context] = None,
67
- execution_context: typing.Union[str, int] = None,
67
+ execution_context: str = None,
68
68
  undo: bool = None,
69
69
  ):
70
70
  """Add a boid state to the particle system
71
71
 
72
72
  :type override_context: typing.Union[dict, bpy.types.Context]
73
- :type execution_context: typing.Union[str, int]
73
+ :type execution_context: str
74
74
  :type undo: bool
75
75
  """
76
76
 
@@ -78,13 +78,13 @@ def state_add(
78
78
 
79
79
  def state_del(
80
80
  override_context: typing.Union[dict, bpy.types.Context] = None,
81
- execution_context: typing.Union[str, int] = None,
81
+ execution_context: str = None,
82
82
  undo: bool = None,
83
83
  ):
84
84
  """Delete current boid state
85
85
 
86
86
  :type override_context: typing.Union[dict, bpy.types.Context]
87
- :type execution_context: typing.Union[str, int]
87
+ :type execution_context: str
88
88
  :type undo: bool
89
89
  """
90
90
 
@@ -92,13 +92,13 @@ def state_del(
92
92
 
93
93
  def state_move_down(
94
94
  override_context: typing.Union[dict, bpy.types.Context] = None,
95
- execution_context: typing.Union[str, int] = None,
95
+ execution_context: str = None,
96
96
  undo: bool = None,
97
97
  ):
98
98
  """Move boid state down in the list
99
99
 
100
100
  :type override_context: typing.Union[dict, bpy.types.Context]
101
- :type execution_context: typing.Union[str, int]
101
+ :type execution_context: str
102
102
  :type undo: bool
103
103
  """
104
104
 
@@ -106,13 +106,13 @@ def state_move_down(
106
106
 
107
107
  def state_move_up(
108
108
  override_context: typing.Union[dict, bpy.types.Context] = None,
109
- execution_context: typing.Union[str, int] = None,
109
+ execution_context: str = None,
110
110
  undo: bool = None,
111
111
  ):
112
112
  """Move boid state up in the list
113
113
 
114
114
  :type override_context: typing.Union[dict, bpy.types.Context]
115
- :type execution_context: typing.Union[str, int]
115
+ :type execution_context: str
116
116
  :type undo: bool
117
117
  """
118
118
 
@@ -5,13 +5,13 @@ GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def add(
7
7
  override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: typing.Union[str, int] = None,
8
+ execution_context: str = None,
9
9
  undo: bool = None,
10
10
  ):
11
11
  """Add brush by mode type
12
12
 
13
13
  :type override_context: typing.Union[dict, bpy.types.Context]
14
- :type execution_context: typing.Union[str, int]
14
+ :type execution_context: str
15
15
  :type undo: bool
16
16
  """
17
17
 
@@ -19,13 +19,13 @@ def add(
19
19
 
20
20
  def add_gpencil(
21
21
  override_context: typing.Union[dict, bpy.types.Context] = None,
22
- execution_context: typing.Union[str, int] = None,
22
+ execution_context: str = None,
23
23
  undo: bool = None,
24
24
  ):
25
25
  """Add brush for Grease Pencil
26
26
 
27
27
  :type override_context: typing.Union[dict, bpy.types.Context]
28
- :type execution_context: typing.Union[str, int]
28
+ :type execution_context: str
29
29
  :type undo: bool
30
30
  """
31
31
 
@@ -33,14 +33,14 @@ def add_gpencil(
33
33
 
34
34
  def curve_preset(
35
35
  override_context: typing.Union[dict, bpy.types.Context] = None,
36
- execution_context: typing.Union[str, int] = None,
36
+ execution_context: str = None,
37
37
  undo: bool = None,
38
38
  shape: typing.Any = "SMOOTH",
39
39
  ):
40
40
  """Set brush shape
41
41
 
42
42
  :type override_context: typing.Union[dict, bpy.types.Context]
43
- :type execution_context: typing.Union[str, int]
43
+ :type execution_context: str
44
44
  :type undo: bool
45
45
  :param shape: Mode
46
46
  :type shape: typing.Any
@@ -50,13 +50,13 @@ def curve_preset(
50
50
 
51
51
  def reset(
52
52
  override_context: typing.Union[dict, bpy.types.Context] = None,
53
- execution_context: typing.Union[str, int] = None,
53
+ execution_context: str = None,
54
54
  undo: bool = None,
55
55
  ):
56
56
  """Return brush to defaults based on current tool
57
57
 
58
58
  :type override_context: typing.Union[dict, bpy.types.Context]
59
- :type execution_context: typing.Union[str, int]
59
+ :type execution_context: str
60
60
  :type undo: bool
61
61
  """
62
62
 
@@ -64,14 +64,14 @@ def reset(
64
64
 
65
65
  def scale_size(
66
66
  override_context: typing.Union[dict, bpy.types.Context] = None,
67
- execution_context: typing.Union[str, int] = None,
67
+ execution_context: str = None,
68
68
  undo: bool = None,
69
69
  scalar: typing.Any = 1.0,
70
70
  ):
71
71
  """Change brush size by a scalar
72
72
 
73
73
  :type override_context: typing.Union[dict, bpy.types.Context]
74
- :type execution_context: typing.Union[str, int]
74
+ :type execution_context: str
75
75
  :type undo: bool
76
76
  :param scalar: Scalar, Factor to scale brush size by
77
77
  :type scalar: typing.Any
@@ -81,14 +81,14 @@ def scale_size(
81
81
 
82
82
  def sculpt_curves_falloff_preset(
83
83
  override_context: typing.Union[dict, bpy.types.Context] = None,
84
- execution_context: typing.Union[str, int] = None,
84
+ execution_context: str = None,
85
85
  undo: bool = None,
86
86
  shape: typing.Any = "SMOOTH",
87
87
  ):
88
88
  """Set Curve Falloff Preset
89
89
 
90
90
  :type override_context: typing.Union[dict, bpy.types.Context]
91
- :type execution_context: typing.Union[str, int]
91
+ :type execution_context: str
92
92
  :type undo: bool
93
93
  :param shape: Mode
94
94
  :type shape: typing.Any
@@ -98,7 +98,7 @@ def sculpt_curves_falloff_preset(
98
98
 
99
99
  def stencil_control(
100
100
  override_context: typing.Union[dict, bpy.types.Context] = None,
101
- execution_context: typing.Union[str, int] = None,
101
+ execution_context: str = None,
102
102
  undo: bool = None,
103
103
  mode: typing.Any = "TRANSLATION",
104
104
  texmode: typing.Any = "PRIMARY",
@@ -106,7 +106,7 @@ def stencil_control(
106
106
  """Control the stencil brush
107
107
 
108
108
  :type override_context: typing.Union[dict, bpy.types.Context]
109
- :type execution_context: typing.Union[str, int]
109
+ :type execution_context: str
110
110
  :type undo: bool
111
111
  :param mode: Tool
112
112
  :type mode: typing.Any
@@ -118,7 +118,7 @@ def stencil_control(
118
118
 
119
119
  def stencil_fit_image_aspect(
120
120
  override_context: typing.Union[dict, bpy.types.Context] = None,
121
- execution_context: typing.Union[str, int] = None,
121
+ execution_context: str = None,
122
122
  undo: bool = None,
123
123
  use_repeat: typing.Union[bool, typing.Any] = True,
124
124
  use_scale: typing.Union[bool, typing.Any] = True,
@@ -127,7 +127,7 @@ def stencil_fit_image_aspect(
127
127
  """When using an image texture, adjust the stencil size to fit the image aspect ratio
128
128
 
129
129
  :type override_context: typing.Union[dict, bpy.types.Context]
130
- :type execution_context: typing.Union[str, int]
130
+ :type execution_context: str
131
131
  :type undo: bool
132
132
  :param use_repeat: Use Repeat, Use repeat mapping values
133
133
  :type use_repeat: typing.Union[bool, typing.Any]
@@ -141,14 +141,14 @@ def stencil_fit_image_aspect(
141
141
 
142
142
  def stencil_reset_transform(
143
143
  override_context: typing.Union[dict, bpy.types.Context] = None,
144
- execution_context: typing.Union[str, int] = None,
144
+ execution_context: str = None,
145
145
  undo: bool = None,
146
146
  mask: typing.Union[bool, typing.Any] = False,
147
147
  ):
148
148
  """Reset the stencil transformation to the default
149
149
 
150
150
  :type override_context: typing.Union[dict, bpy.types.Context]
151
- :type execution_context: typing.Union[str, int]
151
+ :type execution_context: str
152
152
  :type undo: bool
153
153
  :param mask: Modify Mask Stencil, Modify either the primary or mask stencil
154
154
  :type mask: typing.Union[bool, typing.Any]
@@ -5,13 +5,13 @@ GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def clear_filter(
7
7
  override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: typing.Union[str, int] = None,
8
+ execution_context: str = None,
9
9
  undo: bool = None,
10
10
  ):
11
11
  """Clear the search filter
12
12
 
13
13
  :type override_context: typing.Union[dict, bpy.types.Context]
14
- :type execution_context: typing.Union[str, int]
14
+ :type execution_context: str
15
15
  :type undo: bool
16
16
  """
17
17
 
@@ -19,13 +19,13 @@ def clear_filter(
19
19
 
20
20
  def context_menu(
21
21
  override_context: typing.Union[dict, bpy.types.Context] = None,
22
- execution_context: typing.Union[str, int] = None,
22
+ execution_context: str = None,
23
23
  undo: bool = None,
24
24
  ):
25
25
  """Display properties editor context_menu
26
26
 
27
27
  :type override_context: typing.Union[dict, bpy.types.Context]
28
- :type execution_context: typing.Union[str, int]
28
+ :type execution_context: str
29
29
  :type undo: bool
30
30
  """
31
31
 
@@ -33,7 +33,7 @@ def context_menu(
33
33
 
34
34
  def directory_browse(
35
35
  override_context: typing.Union[dict, bpy.types.Context] = None,
36
- execution_context: typing.Union[str, int] = None,
36
+ execution_context: str = None,
37
37
  undo: bool = None,
38
38
  directory: typing.Union[str, typing.Any] = "",
39
39
  hide_props_region: typing.Union[bool, typing.Any] = True,
@@ -63,7 +63,7 @@ def directory_browse(
63
63
  """Open a directory browser, hold Shift to open the file, Alt to browse containing directory
64
64
 
65
65
  :type override_context: typing.Union[dict, bpy.types.Context]
66
- :type execution_context: typing.Union[str, int]
66
+ :type execution_context: str
67
67
  :type undo: bool
68
68
  :param directory: Directory, Directory of the file
69
69
  :type directory: typing.Union[str, typing.Any]
@@ -131,7 +131,7 @@ def directory_browse(
131
131
 
132
132
  def file_browse(
133
133
  override_context: typing.Union[dict, bpy.types.Context] = None,
134
- execution_context: typing.Union[str, int] = None,
134
+ execution_context: str = None,
135
135
  undo: bool = None,
136
136
  filepath: typing.Union[str, typing.Any] = "",
137
137
  hide_props_region: typing.Union[bool, typing.Any] = True,
@@ -161,7 +161,7 @@ def file_browse(
161
161
  """Open a file browser, hold Shift to open the file, Alt to browse containing directory
162
162
 
163
163
  :type override_context: typing.Union[dict, bpy.types.Context]
164
- :type execution_context: typing.Union[str, int]
164
+ :type execution_context: str
165
165
  :type undo: bool
166
166
  :param filepath: File Path, Path to file
167
167
  :type filepath: typing.Union[str, typing.Any]
@@ -229,13 +229,13 @@ def file_browse(
229
229
 
230
230
  def start_filter(
231
231
  override_context: typing.Union[dict, bpy.types.Context] = None,
232
- execution_context: typing.Union[str, int] = None,
232
+ execution_context: str = None,
233
233
  undo: bool = None,
234
234
  ):
235
235
  """Start entering filter text
236
236
 
237
237
  :type override_context: typing.Union[dict, bpy.types.Context]
238
- :type execution_context: typing.Union[str, int]
238
+ :type execution_context: str
239
239
  :type undo: bool
240
240
  """
241
241
 
@@ -243,13 +243,13 @@ def start_filter(
243
243
 
244
244
  def toggle_pin(
245
245
  override_context: typing.Union[dict, bpy.types.Context] = None,
246
- execution_context: typing.Union[str, int] = None,
246
+ execution_context: str = None,
247
247
  undo: bool = None,
248
248
  ):
249
249
  """Keep the current data-block displayed
250
250
 
251
251
  :type override_context: typing.Union[dict, bpy.types.Context]
252
- :type execution_context: typing.Union[str, int]
252
+ :type execution_context: str
253
253
  :type undo: bool
254
254
  """
255
255