fake-bpy-module 20240411__py3-none-any.whl → 20240418__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 (145) 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/presets/__init__.pyi +7 -0
  9. bl_ui/node_add_menu/__init__.pyi +1 -1
  10. bl_ui/properties_data_lightprobe/__init__.pyi +1134 -0
  11. bl_ui/properties_physics_dynamicpaint/__init__.pyi +3 -0
  12. bl_ui/properties_physics_fluid/__init__.pyi +3 -0
  13. bl_ui/space_toolsystem_toolbar/__init__.pyi +17 -0
  14. bl_ui/space_userpref/__init__.pyi +13 -4
  15. bl_ui/space_view3d/__init__.pyi +190 -0
  16. blf/__init__.pyi +63 -13
  17. bmesh/__init__.pyi +13 -0
  18. bmesh/geometry/__init__.pyi +5 -0
  19. bmesh/ops/__init__.pyi +157 -68
  20. bmesh/types/__init__.pyi +109 -62
  21. bmesh/utils/__init__.pyi +11 -2
  22. bpy/__init__.pyi +7 -0
  23. bpy/app/__init__.pyi +13 -0
  24. bpy/app/handlers/__init__.pyi +41 -0
  25. bpy/app/icons/__init__.pyi +4 -2
  26. bpy/app/timers/__init__.pyi +38 -2
  27. bpy/app/translations/__init__.pyi +59 -1
  28. bpy/msgbus/__init__.pyi +46 -0
  29. bpy/ops/__init__.pyi +151 -0
  30. bpy/ops/action/__init__.pyi +76 -76
  31. bpy/ops/anim/__init__.pyi +104 -104
  32. bpy/ops/armature/__init__.pyi +96 -96
  33. bpy/ops/asset/__init__.pyi +32 -32
  34. bpy/ops/boid/__init__.pyi +16 -16
  35. bpy/ops/brush/__init__.pyi +18 -18
  36. bpy/ops/buttons/__init__.pyi +12 -12
  37. bpy/ops/cachefile/__init__.pyi +10 -10
  38. bpy/ops/camera/__init__.pyi +4 -4
  39. bpy/ops/clip/__init__.pyi +184 -184
  40. bpy/ops/cloth/__init__.pyi +2 -2
  41. bpy/ops/collection/__init__.pyi +18 -18
  42. bpy/ops/console/__init__.pyi +42 -42
  43. bpy/ops/constraint/__init__.pyi +36 -36
  44. bpy/ops/curve/__init__.pyi +102 -102
  45. bpy/ops/curves/__init__.pyi +132 -50
  46. bpy/ops/cycles/__init__.pyi +6 -6
  47. bpy/ops/dpaint/__init__.pyi +10 -10
  48. bpy/ops/ed/__init__.pyi +24 -24
  49. bpy/ops/export_anim/__init__.pyi +2 -2
  50. bpy/ops/export_mesh/__init__.pyi +2 -2
  51. bpy/ops/export_scene/__init__.pyi +11 -8
  52. bpy/ops/file/__init__.pyi +80 -80
  53. bpy/ops/fluid/__init__.pyi +28 -28
  54. bpy/ops/font/__init__.pyi +46 -46
  55. bpy/ops/geometry/__init__.pyi +20 -20
  56. bpy/ops/gizmogroup/__init__.pyi +4 -4
  57. bpy/ops/gpencil/__init__.pyi +300 -300
  58. bpy/ops/graph/__init__.pyi +130 -130
  59. bpy/ops/grease_pencil/__init__.pyi +139 -110
  60. bpy/ops/image/__init__.pyi +92 -92
  61. bpy/ops/import_anim/__init__.pyi +2 -2
  62. bpy/ops/import_curve/__init__.pyi +2 -2
  63. bpy/ops/import_mesh/__init__.pyi +2 -2
  64. bpy/ops/import_scene/__init__.pyi +6 -6
  65. bpy/ops/info/__init__.pyi +14 -14
  66. bpy/ops/lattice/__init__.pyi +16 -16
  67. bpy/ops/marker/__init__.pyi +22 -22
  68. bpy/ops/mask/__init__.pyi +78 -78
  69. bpy/ops/material/__init__.pyi +6 -6
  70. bpy/ops/mball/__init__.pyi +16 -16
  71. bpy/ops/mesh/__init__.pyi +327 -327
  72. bpy/ops/nla/__init__.pyi +80 -80
  73. bpy/ops/node/__init__.pyi +203 -203
  74. bpy/ops/object/__init__.pyi +496 -508
  75. bpy/ops/outliner/__init__.pyi +139 -139
  76. bpy/ops/paint/__init__.pyi +104 -104
  77. bpy/ops/paintcurve/__init__.pyi +16 -16
  78. bpy/ops/palette/__init__.pyi +14 -14
  79. bpy/ops/particle/__init__.pyi +72 -72
  80. bpy/ops/pose/__init__.pyi +78 -78
  81. bpy/ops/poselib/__init__.pyi +18 -18
  82. bpy/ops/preferences/__init__.pyi +77 -77
  83. bpy/ops/ptcache/__init__.pyi +14 -14
  84. bpy/ops/render/__init__.pyi +24 -24
  85. bpy/ops/rigidbody/__init__.pyi +26 -26
  86. bpy/ops/scene/__init__.pyi +78 -78
  87. bpy/ops/screen/__init__.pyi +78 -78
  88. bpy/ops/script/__init__.pyi +6 -6
  89. bpy/ops/sculpt/__init__.pyi +68 -62
  90. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  91. bpy/ops/sequencer/__init__.pyi +170 -170
  92. bpy/ops/sound/__init__.pyi +14 -14
  93. bpy/ops/spreadsheet/__init__.pyi +8 -8
  94. bpy/ops/surface/__init__.pyi +12 -12
  95. bpy/ops/text/__init__.pyi +86 -86
  96. bpy/ops/text_editor/__init__.pyi +2 -2
  97. bpy/ops/texture/__init__.pyi +8 -8
  98. bpy/ops/transform/__init__.pyi +54 -54
  99. bpy/ops/ui/__init__.pyi +64 -64
  100. bpy/ops/uilist/__init__.pyi +6 -6
  101. bpy/ops/uv/__init__.pyi +98 -98
  102. bpy/ops/view2d/__init__.pyi +28 -28
  103. bpy/ops/view3d/__init__.pyi +134 -134
  104. bpy/ops/wm/__init__.pyi +225 -225
  105. bpy/ops/workspace/__init__.pyi +14 -14
  106. bpy/ops/world/__init__.pyi +2 -2
  107. bpy/path/__init__.pyi +6 -0
  108. bpy/props/__init__.pyi +141 -29
  109. bpy/types/__init__.pyi +101773 -5222
  110. bpy/utils/__init__.pyi +18 -3
  111. bpy/utils/previews/__init__.pyi +15 -0
  112. bpy/utils/units/__init__.pyi +11 -3
  113. bpy_extras/__init__.pyi +19 -0
  114. bpy_extras/asset_utils/__init__.pyi +5 -0
  115. {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/METADATA +1 -1
  116. {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/RECORD +145 -141
  117. {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/top_level.txt +1 -0
  118. freestyle/__init__.pyi +18 -0
  119. freestyle/chainingiterators/__init__.pyi +20 -5
  120. freestyle/functions/__init__.pyi +151 -155
  121. freestyle/predicates/__init__.pyi +53 -46
  122. freestyle/shaders/__init__.pyi +91 -32
  123. freestyle/types/__init__.pyi +362 -120
  124. freestyle/utils/ContextFunctions/__init__.pyi +32 -7
  125. freestyle/utils/__init__.pyi +13 -1
  126. gpu/__init__.pyi +225 -0
  127. gpu/capabilities/__init__.pyi +37 -15
  128. gpu/matrix/__init__.pyi +7 -1
  129. gpu/platform/__init__.pyi +5 -0
  130. gpu/select/__init__.pyi +5 -0
  131. gpu/shader/__init__.pyi +77 -0
  132. gpu/state/__init__.pyi +15 -4
  133. gpu/texture/__init__.pyi +5 -0
  134. gpu/types/__init__.pyi +91 -33
  135. gpu_extras/__init__.pyi +15 -0
  136. gpu_extras/presets/__init__.pyi +16 -4
  137. imbuf/__init__.pyi +13 -0
  138. imbuf/types/__init__.pyi +20 -5
  139. mathutils/__init__.pyi +349 -227
  140. mathutils/bvhtree/__init__.pyi +21 -8
  141. mathutils/geometry/__init__.pyi +23 -9
  142. mathutils/interpolate/__init__.pyi +5 -0
  143. mathutils/kdtree/__init__.pyi +19 -5
  144. mathutils/noise/__init__.pyi +87 -41
  145. {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/WHEEL +0 -0
@@ -5,13 +5,13 @@ GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def bake_all(
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
  """Bake Entire Fluid Simulation
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,13 +19,13 @@ def bake_all(
19
19
 
20
20
  def bake_data(
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
  ):
25
25
  """Bake Fluid Data
26
26
 
27
27
  :type override_context: typing.Union[dict, bpy.types.Context]
28
- :type execution_context: str
28
+ :type execution_context: typing.Union[str, int]
29
29
  :type undo: bool
30
30
  """
31
31
 
@@ -33,13 +33,13 @@ def bake_data(
33
33
 
34
34
  def bake_guides(
35
35
  override_context: typing.Union[dict, bpy.types.Context] = None,
36
- execution_context: str = None,
36
+ execution_context: typing.Union[str, int] = None,
37
37
  undo: bool = None,
38
38
  ):
39
39
  """Bake Fluid Guiding
40
40
 
41
41
  :type override_context: typing.Union[dict, bpy.types.Context]
42
- :type execution_context: str
42
+ :type execution_context: typing.Union[str, int]
43
43
  :type undo: bool
44
44
  """
45
45
 
@@ -47,13 +47,13 @@ def bake_guides(
47
47
 
48
48
  def bake_mesh(
49
49
  override_context: typing.Union[dict, bpy.types.Context] = None,
50
- execution_context: str = None,
50
+ execution_context: typing.Union[str, int] = None,
51
51
  undo: bool = None,
52
52
  ):
53
53
  """Bake Fluid Mesh
54
54
 
55
55
  :type override_context: typing.Union[dict, bpy.types.Context]
56
- :type execution_context: str
56
+ :type execution_context: typing.Union[str, int]
57
57
  :type undo: bool
58
58
  """
59
59
 
@@ -61,13 +61,13 @@ def bake_mesh(
61
61
 
62
62
  def bake_noise(
63
63
  override_context: typing.Union[dict, bpy.types.Context] = None,
64
- execution_context: str = None,
64
+ execution_context: typing.Union[str, int] = None,
65
65
  undo: bool = None,
66
66
  ):
67
67
  """Bake Fluid Noise
68
68
 
69
69
  :type override_context: typing.Union[dict, bpy.types.Context]
70
- :type execution_context: str
70
+ :type execution_context: typing.Union[str, int]
71
71
  :type undo: bool
72
72
  """
73
73
 
@@ -75,13 +75,13 @@ def bake_noise(
75
75
 
76
76
  def bake_particles(
77
77
  override_context: typing.Union[dict, bpy.types.Context] = None,
78
- execution_context: str = None,
78
+ execution_context: typing.Union[str, int] = None,
79
79
  undo: bool = None,
80
80
  ):
81
81
  """Bake Fluid Particles
82
82
 
83
83
  :type override_context: typing.Union[dict, bpy.types.Context]
84
- :type execution_context: str
84
+ :type execution_context: typing.Union[str, int]
85
85
  :type undo: bool
86
86
  """
87
87
 
@@ -89,13 +89,13 @@ def bake_particles(
89
89
 
90
90
  def free_all(
91
91
  override_context: typing.Union[dict, bpy.types.Context] = None,
92
- execution_context: str = None,
92
+ execution_context: typing.Union[str, int] = None,
93
93
  undo: bool = None,
94
94
  ):
95
95
  """Free Entire Fluid Simulation
96
96
 
97
97
  :type override_context: typing.Union[dict, bpy.types.Context]
98
- :type execution_context: str
98
+ :type execution_context: typing.Union[str, int]
99
99
  :type undo: bool
100
100
  """
101
101
 
@@ -103,13 +103,13 @@ def free_all(
103
103
 
104
104
  def free_data(
105
105
  override_context: typing.Union[dict, bpy.types.Context] = None,
106
- execution_context: str = None,
106
+ execution_context: typing.Union[str, int] = None,
107
107
  undo: bool = None,
108
108
  ):
109
109
  """Free Fluid Data
110
110
 
111
111
  :type override_context: typing.Union[dict, bpy.types.Context]
112
- :type execution_context: str
112
+ :type execution_context: typing.Union[str, int]
113
113
  :type undo: bool
114
114
  """
115
115
 
@@ -117,13 +117,13 @@ def free_data(
117
117
 
118
118
  def free_guides(
119
119
  override_context: typing.Union[dict, bpy.types.Context] = None,
120
- execution_context: str = None,
120
+ execution_context: typing.Union[str, int] = None,
121
121
  undo: bool = None,
122
122
  ):
123
123
  """Free Fluid Guiding
124
124
 
125
125
  :type override_context: typing.Union[dict, bpy.types.Context]
126
- :type execution_context: str
126
+ :type execution_context: typing.Union[str, int]
127
127
  :type undo: bool
128
128
  """
129
129
 
@@ -131,13 +131,13 @@ def free_guides(
131
131
 
132
132
  def free_mesh(
133
133
  override_context: typing.Union[dict, bpy.types.Context] = None,
134
- execution_context: str = None,
134
+ execution_context: typing.Union[str, int] = None,
135
135
  undo: bool = None,
136
136
  ):
137
137
  """Free Fluid Mesh
138
138
 
139
139
  :type override_context: typing.Union[dict, bpy.types.Context]
140
- :type execution_context: str
140
+ :type execution_context: typing.Union[str, int]
141
141
  :type undo: bool
142
142
  """
143
143
 
@@ -145,13 +145,13 @@ def free_mesh(
145
145
 
146
146
  def free_noise(
147
147
  override_context: typing.Union[dict, bpy.types.Context] = None,
148
- execution_context: str = None,
148
+ execution_context: typing.Union[str, int] = None,
149
149
  undo: bool = None,
150
150
  ):
151
151
  """Free Fluid Noise
152
152
 
153
153
  :type override_context: typing.Union[dict, bpy.types.Context]
154
- :type execution_context: str
154
+ :type execution_context: typing.Union[str, int]
155
155
  :type undo: bool
156
156
  """
157
157
 
@@ -159,13 +159,13 @@ def free_noise(
159
159
 
160
160
  def free_particles(
161
161
  override_context: typing.Union[dict, bpy.types.Context] = None,
162
- execution_context: str = None,
162
+ execution_context: typing.Union[str, int] = None,
163
163
  undo: bool = None,
164
164
  ):
165
165
  """Free Fluid Particles
166
166
 
167
167
  :type override_context: typing.Union[dict, bpy.types.Context]
168
- :type execution_context: str
168
+ :type execution_context: typing.Union[str, int]
169
169
  :type undo: bool
170
170
  """
171
171
 
@@ -173,13 +173,13 @@ def free_particles(
173
173
 
174
174
  def pause_bake(
175
175
  override_context: typing.Union[dict, bpy.types.Context] = None,
176
- execution_context: str = None,
176
+ execution_context: typing.Union[str, int] = None,
177
177
  undo: bool = None,
178
178
  ):
179
179
  """Pause Bake
180
180
 
181
181
  :type override_context: typing.Union[dict, bpy.types.Context]
182
- :type execution_context: str
182
+ :type execution_context: typing.Union[str, int]
183
183
  :type undo: bool
184
184
  """
185
185
 
@@ -187,7 +187,7 @@ def pause_bake(
187
187
 
188
188
  def preset_add(
189
189
  override_context: typing.Union[dict, bpy.types.Context] = None,
190
- execution_context: str = None,
190
+ execution_context: typing.Union[str, int] = None,
191
191
  undo: bool = None,
192
192
  name: typing.Union[str, typing.Any] = "",
193
193
  remove_name: typing.Union[bool, typing.Any] = False,
@@ -196,7 +196,7 @@ def preset_add(
196
196
  """Add or remove a Fluid Preset
197
197
 
198
198
  :type override_context: typing.Union[dict, bpy.types.Context]
199
- :type execution_context: str
199
+ :type execution_context: typing.Union[str, int]
200
200
  :type undo: bool
201
201
  :param name: Name, Name of the preset, used to make the path name
202
202
  :type name: typing.Union[str, typing.Any]
bpy/ops/font/__init__.pyi CHANGED
@@ -5,14 +5,14 @@ GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def case_set(
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
  case: typing.Any = "LOWER",
11
11
  ):
12
12
  """Set font case
13
13
 
14
14
  :type override_context: typing.Union[dict, bpy.types.Context]
15
- :type execution_context: str
15
+ :type execution_context: typing.Union[str, int]
16
16
  :type undo: bool
17
17
  :param case: Case, Lower or upper case
18
18
  :type case: typing.Any
@@ -22,13 +22,13 @@ def case_set(
22
22
 
23
23
  def case_toggle(
24
24
  override_context: typing.Union[dict, bpy.types.Context] = None,
25
- execution_context: str = None,
25
+ execution_context: typing.Union[str, int] = None,
26
26
  undo: bool = None,
27
27
  ):
28
28
  """Toggle font case
29
29
 
30
30
  :type override_context: typing.Union[dict, bpy.types.Context]
31
- :type execution_context: str
31
+ :type execution_context: typing.Union[str, int]
32
32
  :type undo: bool
33
33
  """
34
34
 
@@ -36,14 +36,14 @@ def case_toggle(
36
36
 
37
37
  def change_character(
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
  delta: typing.Any = 1,
42
42
  ):
43
43
  """Change font character code
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 delta: Delta, Number to increase or decrease character code with
49
49
  :type delta: typing.Any
@@ -53,14 +53,14 @@ def change_character(
53
53
 
54
54
  def change_spacing(
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
  delta: typing.Any = 1.0,
59
59
  ):
60
60
  """Change font spacing
61
61
 
62
62
  :type override_context: typing.Union[dict, bpy.types.Context]
63
- :type execution_context: str
63
+ :type execution_context: typing.Union[str, int]
64
64
  :type undo: bool
65
65
  :param delta: Delta, Amount to decrease or increase character spacing with
66
66
  :type delta: typing.Any
@@ -70,14 +70,14 @@ def change_spacing(
70
70
 
71
71
  def delete(
72
72
  override_context: typing.Union[dict, bpy.types.Context] = None,
73
- execution_context: str = None,
73
+ execution_context: typing.Union[str, int] = None,
74
74
  undo: bool = None,
75
75
  type: typing.Any = "PREVIOUS_CHARACTER",
76
76
  ):
77
77
  """Delete text by cursor position
78
78
 
79
79
  :type override_context: typing.Union[dict, bpy.types.Context]
80
- :type execution_context: str
80
+ :type execution_context: typing.Union[str, int]
81
81
  :type undo: bool
82
82
  :param type: Type, Which part of the text to delete
83
83
  :type type: typing.Any
@@ -87,13 +87,13 @@ def delete(
87
87
 
88
88
  def line_break(
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
  """Insert line break at cursor position
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 line_break(
101
101
 
102
102
  def move(
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 = "LINE_BEGIN",
107
107
  ):
108
108
  """Move cursor to position type
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, Where to move cursor to
114
114
  :type type: typing.Any
@@ -118,14 +118,14 @@ def move(
118
118
 
119
119
  def move_select(
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
  type: typing.Any = "LINE_BEGIN",
124
124
  ):
125
125
  """Move the cursor while selecting
126
126
 
127
127
  :type override_context: typing.Union[dict, bpy.types.Context]
128
- :type execution_context: str
128
+ :type execution_context: typing.Union[str, int]
129
129
  :type undo: bool
130
130
  :param type: Type, Where to move cursor to, to make a selection
131
131
  :type type: typing.Any
@@ -135,7 +135,7 @@ def move_select(
135
135
 
136
136
  def open(
137
137
  override_context: typing.Union[dict, bpy.types.Context] = None,
138
- execution_context: str = None,
138
+ execution_context: typing.Union[str, int] = None,
139
139
  undo: bool = None,
140
140
  filepath: typing.Union[str, typing.Any] = "",
141
141
  hide_props_region: typing.Union[bool, typing.Any] = True,
@@ -165,7 +165,7 @@ def open(
165
165
  """Load a new font from a file
166
166
 
167
167
  :type override_context: typing.Union[dict, bpy.types.Context]
168
- :type execution_context: str
168
+ :type execution_context: typing.Union[str, int]
169
169
  :type undo: bool
170
170
  :param filepath: File Path, Path to file
171
171
  :type filepath: typing.Union[str, typing.Any]
@@ -233,13 +233,13 @@ def open(
233
233
 
234
234
  def select_all(
235
235
  override_context: typing.Union[dict, bpy.types.Context] = None,
236
- execution_context: str = None,
236
+ execution_context: typing.Union[str, int] = None,
237
237
  undo: bool = None,
238
238
  ):
239
239
  """Select all text
240
240
 
241
241
  :type override_context: typing.Union[dict, bpy.types.Context]
242
- :type execution_context: str
242
+ :type execution_context: typing.Union[str, int]
243
243
  :type undo: bool
244
244
  """
245
245
 
@@ -247,13 +247,13 @@ def select_all(
247
247
 
248
248
  def select_word(
249
249
  override_context: typing.Union[dict, bpy.types.Context] = None,
250
- execution_context: str = None,
250
+ execution_context: typing.Union[str, int] = None,
251
251
  undo: bool = None,
252
252
  ):
253
253
  """Select word under cursor
254
254
 
255
255
  :type override_context: typing.Union[dict, bpy.types.Context]
256
- :type execution_context: str
256
+ :type execution_context: typing.Union[str, int]
257
257
  :type undo: bool
258
258
  """
259
259
 
@@ -261,13 +261,13 @@ def select_word(
261
261
 
262
262
  def selection_set(
263
263
  override_context: typing.Union[dict, bpy.types.Context] = None,
264
- execution_context: str = None,
264
+ execution_context: typing.Union[str, int] = None,
265
265
  undo: bool = None,
266
266
  ):
267
267
  """Set cursor selection
268
268
 
269
269
  :type override_context: typing.Union[dict, bpy.types.Context]
270
- :type execution_context: str
270
+ :type execution_context: typing.Union[str, int]
271
271
  :type undo: bool
272
272
  """
273
273
 
@@ -275,7 +275,7 @@ def selection_set(
275
275
 
276
276
  def style_set(
277
277
  override_context: typing.Union[dict, bpy.types.Context] = None,
278
- execution_context: str = None,
278
+ execution_context: typing.Union[str, int] = None,
279
279
  undo: bool = None,
280
280
  style: typing.Any = "BOLD",
281
281
  clear: typing.Union[bool, typing.Any] = False,
@@ -283,7 +283,7 @@ def style_set(
283
283
  """Set font style
284
284
 
285
285
  :type override_context: typing.Union[dict, bpy.types.Context]
286
- :type execution_context: str
286
+ :type execution_context: typing.Union[str, int]
287
287
  :type undo: bool
288
288
  :param style: Style, Style to set selection to
289
289
  :type style: typing.Any
@@ -295,14 +295,14 @@ def style_set(
295
295
 
296
296
  def style_toggle(
297
297
  override_context: typing.Union[dict, bpy.types.Context] = None,
298
- execution_context: str = None,
298
+ execution_context: typing.Union[str, int] = None,
299
299
  undo: bool = None,
300
300
  style: typing.Any = "BOLD",
301
301
  ):
302
302
  """Toggle font style
303
303
 
304
304
  :type override_context: typing.Union[dict, bpy.types.Context]
305
- :type execution_context: str
305
+ :type execution_context: typing.Union[str, int]
306
306
  :type undo: bool
307
307
  :param style: Style, Style to set selection to
308
308
  :type style: typing.Any
@@ -312,13 +312,13 @@ def style_toggle(
312
312
 
313
313
  def text_copy(
314
314
  override_context: typing.Union[dict, bpy.types.Context] = None,
315
- execution_context: str = None,
315
+ execution_context: typing.Union[str, int] = None,
316
316
  undo: bool = None,
317
317
  ):
318
318
  """Copy selected text to clipboard
319
319
 
320
320
  :type override_context: typing.Union[dict, bpy.types.Context]
321
- :type execution_context: str
321
+ :type execution_context: typing.Union[str, int]
322
322
  :type undo: bool
323
323
  """
324
324
 
@@ -326,13 +326,13 @@ def text_copy(
326
326
 
327
327
  def text_cut(
328
328
  override_context: typing.Union[dict, bpy.types.Context] = None,
329
- execution_context: str = None,
329
+ execution_context: typing.Union[str, int] = None,
330
330
  undo: bool = None,
331
331
  ):
332
332
  """Cut selected text to clipboard
333
333
 
334
334
  :type override_context: typing.Union[dict, bpy.types.Context]
335
- :type execution_context: str
335
+ :type execution_context: typing.Union[str, int]
336
336
  :type undo: bool
337
337
  """
338
338
 
@@ -340,7 +340,7 @@ def text_cut(
340
340
 
341
341
  def text_insert(
342
342
  override_context: typing.Union[dict, bpy.types.Context] = None,
343
- execution_context: str = None,
343
+ execution_context: typing.Union[str, int] = None,
344
344
  undo: bool = None,
345
345
  text: typing.Union[str, typing.Any] = "",
346
346
  accent: typing.Union[bool, typing.Any] = False,
@@ -348,7 +348,7 @@ def text_insert(
348
348
  """Insert text at cursor position
349
349
 
350
350
  :type override_context: typing.Union[dict, bpy.types.Context]
351
- :type execution_context: str
351
+ :type execution_context: typing.Union[str, int]
352
352
  :type undo: bool
353
353
  :param text: Text, Text to insert at the cursor position
354
354
  :type text: typing.Union[str, typing.Any]
@@ -360,13 +360,13 @@ def text_insert(
360
360
 
361
361
  def text_insert_unicode(
362
362
  override_context: typing.Union[dict, bpy.types.Context] = None,
363
- execution_context: str = None,
363
+ execution_context: typing.Union[str, int] = None,
364
364
  undo: bool = None,
365
365
  ):
366
366
  """Insert Unicode Character
367
367
 
368
368
  :type override_context: typing.Union[dict, bpy.types.Context]
369
- :type execution_context: str
369
+ :type execution_context: typing.Union[str, int]
370
370
  :type undo: bool
371
371
  """
372
372
 
@@ -374,14 +374,14 @@ def text_insert_unicode(
374
374
 
375
375
  def text_paste(
376
376
  override_context: typing.Union[dict, bpy.types.Context] = None,
377
- execution_context: str = None,
377
+ execution_context: typing.Union[str, int] = None,
378
378
  undo: bool = None,
379
379
  selection: typing.Union[bool, typing.Any] = False,
380
380
  ):
381
381
  """Paste text from clipboard
382
382
 
383
383
  :type override_context: typing.Union[dict, bpy.types.Context]
384
- :type execution_context: str
384
+ :type execution_context: typing.Union[str, int]
385
385
  :type undo: bool
386
386
  :param selection: Selection, Paste text selected elsewhere rather than copied (X11/Wayland only)
387
387
  :type selection: typing.Union[bool, typing.Any]
@@ -391,7 +391,7 @@ def text_paste(
391
391
 
392
392
  def text_paste_from_file(
393
393
  override_context: typing.Union[dict, bpy.types.Context] = None,
394
- execution_context: str = None,
394
+ execution_context: typing.Union[str, int] = None,
395
395
  undo: bool = None,
396
396
  filepath: typing.Union[str, typing.Any] = "",
397
397
  hide_props_region: typing.Union[bool, typing.Any] = True,
@@ -420,7 +420,7 @@ def text_paste_from_file(
420
420
  """Paste contents from file
421
421
 
422
422
  :type override_context: typing.Union[dict, bpy.types.Context]
423
- :type execution_context: str
423
+ :type execution_context: typing.Union[str, int]
424
424
  :type undo: bool
425
425
  :param filepath: File Path, Path to file
426
426
  :type filepath: typing.Union[str, typing.Any]
@@ -486,13 +486,13 @@ def text_paste_from_file(
486
486
 
487
487
  def textbox_add(
488
488
  override_context: typing.Union[dict, bpy.types.Context] = None,
489
- execution_context: str = None,
489
+ execution_context: typing.Union[str, int] = None,
490
490
  undo: bool = None,
491
491
  ):
492
492
  """Add a new text box
493
493
 
494
494
  :type override_context: typing.Union[dict, bpy.types.Context]
495
- :type execution_context: str
495
+ :type execution_context: typing.Union[str, int]
496
496
  :type undo: bool
497
497
  """
498
498
 
@@ -500,14 +500,14 @@ def textbox_add(
500
500
 
501
501
  def textbox_remove(
502
502
  override_context: typing.Union[dict, bpy.types.Context] = None,
503
- execution_context: str = None,
503
+ execution_context: typing.Union[str, int] = None,
504
504
  undo: bool = None,
505
505
  index: typing.Any = 0,
506
506
  ):
507
507
  """Remove the text box
508
508
 
509
509
  :type override_context: typing.Union[dict, bpy.types.Context]
510
- :type execution_context: str
510
+ :type execution_context: typing.Union[str, int]
511
511
  :type undo: bool
512
512
  :param index: Index, The current text box
513
513
  :type index: typing.Any
@@ -517,13 +517,13 @@ def textbox_remove(
517
517
 
518
518
  def unlink(
519
519
  override_context: typing.Union[dict, bpy.types.Context] = None,
520
- execution_context: str = None,
520
+ execution_context: typing.Union[str, int] = None,
521
521
  undo: bool = None,
522
522
  ):
523
523
  """Unlink active font data-block
524
524
 
525
525
  :type override_context: typing.Union[dict, bpy.types.Context]
526
- :type execution_context: str
526
+ :type execution_context: typing.Union[str, int]
527
527
  :type undo: bool
528
528
  """
529
529