fake-bpy-module 20240421__py3-none-any.whl → 20240422__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.
Files changed (187) hide show
  1. bl_operators/add_mesh_torus/__init__.pyi +2 -1
  2. bl_operators/assets/__init__.pyi +12 -12
  3. bl_operators/geometry_nodes/__init__.pyi +256 -238
  4. bl_operators/node/__init__.pyi +262 -260
  5. bl_operators/object_quick_effects/__init__.pyi +19 -19
  6. bl_operators/presets/__init__.pyi +371 -368
  7. bl_operators/wm/__init__.pyi +4 -4
  8. bl_ui/__init__.pyi +3 -3
  9. bl_ui/anim/__init__.pyi +1 -1
  10. bl_ui/asset_shelf/__init__.pyi +1 -1
  11. bl_ui/generic_ui_list/__init__.pyi +3 -3
  12. bl_ui/node_add_menu/__init__.pyi +1 -1
  13. bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
  14. bl_ui/node_add_menu_geometry/__init__.pyi +50 -48
  15. bl_ui/node_add_menu_shader/__init__.pyi +10 -10
  16. bl_ui/node_add_menu_texture/__init__.pyi +9 -9
  17. bl_ui/properties_collection/__init__.pyi +39 -25
  18. bl_ui/properties_constraint/__init__.pyi +1257 -1041
  19. bl_ui/properties_data_armature/__init__.pyi +120 -96
  20. bl_ui/properties_data_bone/__init__.pyi +36 -29
  21. bl_ui/properties_data_camera/__init__.pyi +32 -14
  22. bl_ui/properties_data_curve/__init__.pyi +143 -116
  23. bl_ui/properties_data_curves/__init__.pyi +30 -25
  24. bl_ui/properties_data_empty/__init__.pyi +21 -21
  25. bl_ui/properties_data_gpencil/__init__.pyi +297 -260
  26. bl_ui/properties_data_grease_pencil/__init__.pyi +228 -205
  27. bl_ui/properties_data_lattice/__init__.pyi +25 -22
  28. bl_ui/properties_data_light/__init__.pyi +44 -31
  29. bl_ui/properties_data_lightprobe/__init__.pyi +54 -32
  30. bl_ui/properties_data_mesh/__init__.pyi +579 -570
  31. bl_ui/properties_data_metaball/__init__.pyi +29 -24
  32. bl_ui/properties_data_modifier/__init__.pyi +55 -43
  33. bl_ui/properties_data_pointcloud/__init__.pyi +146 -139
  34. bl_ui/properties_data_shaderfx/__init__.pyi +13 -13
  35. bl_ui/properties_data_speaker/__init__.pyi +27 -24
  36. bl_ui/properties_data_volume/__init__.pyi +75 -68
  37. bl_ui/properties_freestyle/__init__.pyi +407 -284
  38. bl_ui/properties_grease_pencil_common/__init__.pyi +13 -13
  39. bl_ui/properties_mask_common/__init__.pyi +7 -7
  40. bl_ui/properties_material/__init__.pyi +186 -162
  41. bl_ui/properties_material_gpencil/__init__.pyi +111 -87
  42. bl_ui/properties_object/__init__.pyi +102 -84
  43. bl_ui/properties_output/__init__.pyi +255 -228
  44. bl_ui/properties_paint_common/__init__.pyi +9 -9
  45. bl_ui/properties_particle/__init__.pyi +341 -254
  46. bl_ui/properties_physics_cloth/__init__.pyi +54 -33
  47. bl_ui/properties_physics_common/__init__.pyi +20 -20
  48. bl_ui/properties_physics_dynamicpaint/__init__.pyi +231 -193
  49. bl_ui/properties_physics_field/__init__.pyi +52 -36
  50. bl_ui/properties_physics_fluid/__init__.pyi +119 -96
  51. bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -1
  52. bl_ui/properties_physics_rigidbody/__init__.pyi +36 -20
  53. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +51 -25
  54. bl_ui/properties_physics_softbody/__init__.pyi +62 -34
  55. bl_ui/properties_render/__init__.pyi +275 -187
  56. bl_ui/properties_scene/__init__.pyi +173 -154
  57. bl_ui/properties_texture/__init__.pyi +251 -205
  58. bl_ui/properties_view_layer/__init__.pyi +126 -93
  59. bl_ui/properties_workspace/__init__.pyi +82 -76
  60. bl_ui/properties_world/__init__.pyi +31 -26
  61. bl_ui/space_clip/__init__.pyi +495 -433
  62. bl_ui/space_console/__init__.pyi +6 -6
  63. bl_ui/space_dopesheet/__init__.pyi +209 -174
  64. bl_ui/space_filebrowser/__init__.pyi +691 -679
  65. bl_ui/space_graph/__init__.pyi +25 -20
  66. bl_ui/space_image/__init__.pyi +959 -845
  67. bl_ui/space_info/__init__.pyi +6 -6
  68. bl_ui/space_nla/__init__.pyi +26 -17
  69. bl_ui/space_node/__init__.pyi +49 -36
  70. bl_ui/space_outliner/__init__.pyi +14 -14
  71. bl_ui/space_properties/__init__.pyi +3 -3
  72. bl_ui/space_sequencer/__init__.pyi +510 -444
  73. bl_ui/space_spreadsheet/__init__.pyi +1 -1
  74. bl_ui/space_statusbar/__init__.pyi +1 -1
  75. bl_ui/space_text/__init__.pyi +16 -16
  76. bl_ui/space_time/__init__.pyi +27 -23
  77. bl_ui/space_toolsystem_common/__init__.pyi +1 -1
  78. bl_ui/space_toolsystem_toolbar/__init__.pyi +21 -4
  79. bl_ui/space_topbar/__init__.pyi +26 -26
  80. bl_ui/space_userpref/__init__.pyi +795 -658
  81. bl_ui/space_view3d/__init__.pyi +1460 -1428
  82. bl_ui/space_view3d_toolbar/__init__.pyi +2968 -2657
  83. bl_ui/temp_anim_layers/__init__.pyi +1 -1
  84. bmesh/types/__init__.pyi +13 -6
  85. bpy/app/__init__.pyi +4 -4
  86. bpy/app/icons/__init__.pyi +8 -6
  87. bpy/app/timers/__init__.pyi +10 -8
  88. bpy/app/translations/__init__.pyi +22 -20
  89. bpy/msgbus/__init__.pyi +4 -2
  90. bpy/ops/action/__init__.pyi +319 -316
  91. bpy/ops/anim/__init__.pyi +428 -428
  92. bpy/ops/armature/__init__.pyi +359 -358
  93. bpy/ops/asset/__init__.pyi +146 -146
  94. bpy/ops/boid/__init__.pyi +50 -50
  95. bpy/ops/brush/__init__.pyi +72 -72
  96. bpy/ops/buttons/__init__.pyi +128 -128
  97. bpy/ops/cachefile/__init__.pyi +124 -124
  98. bpy/ops/camera/__init__.pyi +22 -22
  99. bpy/ops/clip/__init__.pyi +773 -768
  100. bpy/ops/cloth/__init__.pyi +10 -10
  101. bpy/ops/collection/__init__.pyi +64 -64
  102. bpy/ops/console/__init__.pyi +150 -150
  103. bpy/ops/constraint/__init__.pyi +150 -150
  104. bpy/ops/curve/__init__.pyi +475 -472
  105. bpy/ops/curves/__init__.pyi +247 -244
  106. bpy/ops/cycles/__init__.pyi +18 -18
  107. bpy/ops/dpaint/__init__.pyi +34 -34
  108. bpy/ops/ed/__init__.pyi +122 -122
  109. bpy/ops/export_anim/__init__.pyi +18 -18
  110. bpy/ops/export_mesh/__init__.pyi +26 -26
  111. bpy/ops/export_scene/__init__.pyi +333 -307
  112. bpy/ops/file/__init__.pyi +340 -340
  113. bpy/ops/fluid/__init__.pyi +88 -88
  114. bpy/ops/font/__init__.pyi +252 -252
  115. bpy/ops/geometry/__init__.pyi +86 -86
  116. bpy/ops/gizmogroup/__init__.pyi +22 -22
  117. bpy/ops/gpencil/__init__.pyi +1459 -1444
  118. bpy/ops/graph/__init__.pyi +645 -642
  119. bpy/ops/grease_pencil/__init__.pyi +441 -436
  120. bpy/ops/image/__init__.pyi +614 -612
  121. bpy/ops/import_anim/__init__.pyi +26 -26
  122. bpy/ops/import_curve/__init__.pyi +6 -6
  123. bpy/ops/import_mesh/__init__.pyi +20 -18
  124. bpy/ops/import_scene/__init__.pyi +92 -86
  125. bpy/ops/info/__init__.pyi +60 -60
  126. bpy/ops/lattice/__init__.pyi +64 -64
  127. bpy/ops/marker/__init__.pyi +106 -106
  128. bpy/ops/mask/__init__.pyi +321 -318
  129. bpy/ops/material/__init__.pyi +18 -18
  130. bpy/ops/mball/__init__.pyi +71 -70
  131. bpy/ops/mesh/__init__.pyi +1997 -1990
  132. bpy/ops/nla/__init__.pyi +330 -329
  133. bpy/ops/node/__init__.pyi +867 -852
  134. bpy/ops/object/__init__.pyi +2433 -2430
  135. bpy/ops/outliner/__init__.pyi +498 -498
  136. bpy/ops/paint/__init__.pyi +554 -544
  137. bpy/ops/paintcurve/__init__.pyi +64 -64
  138. bpy/ops/palette/__init__.pyi +48 -48
  139. bpy/ops/particle/__init__.pyi +266 -264
  140. bpy/ops/pose/__init__.pyi +336 -336
  141. bpy/ops/poselib/__init__.pyi +70 -70
  142. bpy/ops/preferences/__init__.pyi +338 -336
  143. bpy/ops/ptcache/__init__.pyi +46 -46
  144. bpy/ops/render/__init__.pyi +114 -114
  145. bpy/ops/rigidbody/__init__.pyi +102 -102
  146. bpy/ops/scene/__init__.pyi +270 -270
  147. bpy/ops/screen/__init__.pyi +378 -378
  148. bpy/ops/script/__init__.pyi +18 -18
  149. bpy/ops/sculpt/__init__.pyi +411 -405
  150. bpy/ops/sculpt_curves/__init__.pyi +42 -40
  151. bpy/ops/sequencer/__init__.pyi +1053 -1040
  152. bpy/ops/sound/__init__.pyi +208 -208
  153. bpy/ops/spreadsheet/__init__.pyi +30 -30
  154. bpy/ops/surface/__init__.pyi +108 -108
  155. bpy/ops/text/__init__.pyi +382 -382
  156. bpy/ops/text_editor/__init__.pyi +10 -10
  157. bpy/ops/texture/__init__.pyi +26 -26
  158. bpy/ops/transform/__init__.pyi +826 -790
  159. bpy/ops/ui/__init__.pyi +216 -216
  160. bpy/ops/uilist/__init__.pyi +20 -20
  161. bpy/ops/uv/__init__.pyi +605 -600
  162. bpy/ops/view2d/__init__.pyi +156 -156
  163. bpy/ops/view3d/__init__.pyi +578 -576
  164. bpy/ops/wm/__init__.pyi +2412 -2376
  165. bpy/ops/workspace/__init__.pyi +42 -42
  166. bpy/ops/world/__init__.pyi +6 -6
  167. bpy/path/__init__.pyi +48 -33
  168. bpy/props/__init__.pyi +263 -261
  169. bpy/types/__init__.pyi +106351 -103198
  170. bpy/utils/__init__.pyi +87 -52
  171. bpy/utils/previews/__init__.pyi +2 -2
  172. bpy/utils/units/__init__.pyi +20 -17
  173. bpy_extras/anim_utils/__init__.pyi +9 -2
  174. bpy_extras/io_utils/__init__.pyi +2 -1
  175. bpy_extras/view3d_utils/__init__.pyi +2 -1
  176. bpy_types/__init__.pyi +236 -236
  177. {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/METADATA +1 -1
  178. {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/RECORD +187 -187
  179. freestyle/chainingiterators/__init__.pyi +7 -2
  180. freestyle/types/__init__.pyi +8 -3
  181. gpu_extras/presets/__init__.pyi +14 -2
  182. keyingsets_builtins/__init__.pyi +92 -92
  183. mathutils/__init__.pyi +9 -5
  184. mathutils/geometry/__init__.pyi +8 -4
  185. nodeitems_builtins/__init__.pyi +7 -7
  186. {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/WHEEL +0 -0
  187. {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/top_level.txt +0 -0
bpy/ops/ui/__init__.pyi CHANGED
@@ -4,160 +4,160 @@ import bpy.types
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
6
  def assign_default_button(
7
- override_context: typing.Union[dict, bpy.types.Context] = None,
8
- execution_context: typing.Union[str, int] = None,
9
- undo: bool = None,
7
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
8
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
9
+ undo: typing.Optional[bool] = None,
10
10
  ):
11
11
  """Set this property's current value as the new default
12
12
 
13
- :type override_context: typing.Union[dict, bpy.types.Context]
14
- :type execution_context: typing.Union[str, int]
15
- :type undo: bool
13
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
14
+ :type execution_context: typing.Optional[typing.Union[str, int]]
15
+ :type undo: typing.Optional[bool]
16
16
  """
17
17
 
18
18
  ...
19
19
 
20
20
  def button_execute(
21
- override_context: typing.Union[dict, bpy.types.Context] = None,
22
- execution_context: typing.Union[str, int] = None,
23
- undo: bool = None,
24
- skip_depressed: typing.Union[bool, typing.Any] = False,
21
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
22
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
23
+ undo: typing.Optional[bool] = None,
24
+ skip_depressed: typing.Optional[typing.Union[bool, typing.Any]] = False,
25
25
  ):
26
26
  """Presses active button
27
27
 
28
- :type override_context: typing.Union[dict, bpy.types.Context]
29
- :type execution_context: typing.Union[str, int]
30
- :type undo: bool
28
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
29
+ :type execution_context: typing.Optional[typing.Union[str, int]]
30
+ :type undo: typing.Optional[bool]
31
31
  :param skip_depressed: Skip Depressed
32
- :type skip_depressed: typing.Union[bool, typing.Any]
32
+ :type skip_depressed: typing.Optional[typing.Union[bool, typing.Any]]
33
33
  """
34
34
 
35
35
  ...
36
36
 
37
37
  def button_string_clear(
38
- override_context: typing.Union[dict, bpy.types.Context] = None,
39
- execution_context: typing.Union[str, int] = None,
40
- undo: bool = None,
38
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
39
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
40
+ undo: typing.Optional[bool] = None,
41
41
  ):
42
42
  """Unsets the text of the active button
43
43
 
44
- :type override_context: typing.Union[dict, bpy.types.Context]
45
- :type execution_context: typing.Union[str, int]
46
- :type undo: bool
44
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
45
+ :type execution_context: typing.Optional[typing.Union[str, int]]
46
+ :type undo: typing.Optional[bool]
47
47
  """
48
48
 
49
49
  ...
50
50
 
51
51
  def copy_as_driver_button(
52
- override_context: typing.Union[dict, bpy.types.Context] = None,
53
- execution_context: typing.Union[str, int] = None,
54
- undo: bool = None,
52
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
53
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
54
+ undo: typing.Optional[bool] = None,
55
55
  ):
56
56
  """Create a new driver with this property as input, and copy it to the internal clipboard. Use Paste Driver to add it to the target property, or Paste Driver Variables to extend an existing driver
57
57
 
58
- :type override_context: typing.Union[dict, bpy.types.Context]
59
- :type execution_context: typing.Union[str, int]
60
- :type undo: bool
58
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
59
+ :type execution_context: typing.Optional[typing.Union[str, int]]
60
+ :type undo: typing.Optional[bool]
61
61
  """
62
62
 
63
63
  ...
64
64
 
65
65
  def copy_data_path_button(
66
- override_context: typing.Union[dict, bpy.types.Context] = None,
67
- execution_context: typing.Union[str, int] = None,
68
- undo: bool = None,
69
- full_path: typing.Union[bool, typing.Any] = False,
66
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
67
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
68
+ undo: typing.Optional[bool] = None,
69
+ full_path: typing.Optional[typing.Union[bool, typing.Any]] = False,
70
70
  ):
71
71
  """Copy the RNA data path for this property to the clipboard
72
72
 
73
- :type override_context: typing.Union[dict, bpy.types.Context]
74
- :type execution_context: typing.Union[str, int]
75
- :type undo: bool
73
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
74
+ :type execution_context: typing.Optional[typing.Union[str, int]]
75
+ :type undo: typing.Optional[bool]
76
76
  :param full_path: full_path, Copy full data path
77
- :type full_path: typing.Union[bool, typing.Any]
77
+ :type full_path: typing.Optional[typing.Union[bool, typing.Any]]
78
78
  """
79
79
 
80
80
  ...
81
81
 
82
82
  def copy_python_command_button(
83
- override_context: typing.Union[dict, bpy.types.Context] = None,
84
- execution_context: typing.Union[str, int] = None,
85
- undo: bool = None,
83
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
84
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
85
+ undo: typing.Optional[bool] = None,
86
86
  ):
87
87
  """Copy the Python command matching this button
88
88
 
89
- :type override_context: typing.Union[dict, bpy.types.Context]
90
- :type execution_context: typing.Union[str, int]
91
- :type undo: bool
89
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
90
+ :type execution_context: typing.Optional[typing.Union[str, int]]
91
+ :type undo: typing.Optional[bool]
92
92
  """
93
93
 
94
94
  ...
95
95
 
96
96
  def copy_to_selected_button(
97
- override_context: typing.Union[dict, bpy.types.Context] = None,
98
- execution_context: typing.Union[str, int] = None,
99
- undo: bool = None,
100
- all: typing.Union[bool, typing.Any] = True,
97
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
98
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
99
+ undo: typing.Optional[bool] = None,
100
+ all: typing.Optional[typing.Union[bool, typing.Any]] = True,
101
101
  ):
102
102
  """Copy the property's value from the active item to the same property of all selected items if the same property exists
103
103
 
104
- :type override_context: typing.Union[dict, bpy.types.Context]
105
- :type execution_context: typing.Union[str, int]
106
- :type undo: bool
104
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
105
+ :type execution_context: typing.Optional[typing.Union[str, int]]
106
+ :type undo: typing.Optional[bool]
107
107
  :param all: All, Copy to selected all elements of the array
108
- :type all: typing.Union[bool, typing.Any]
108
+ :type all: typing.Optional[typing.Union[bool, typing.Any]]
109
109
  """
110
110
 
111
111
  ...
112
112
 
113
113
  def drop_color(
114
- override_context: typing.Union[dict, bpy.types.Context] = None,
115
- execution_context: typing.Union[str, int] = None,
116
- undo: bool = None,
117
- color: typing.Any = (0.0, 0.0, 0.0),
118
- gamma: typing.Union[bool, typing.Any] = False,
114
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
115
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
116
+ undo: typing.Optional[bool] = None,
117
+ color: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
118
+ gamma: typing.Optional[typing.Union[bool, typing.Any]] = False,
119
119
  ):
120
120
  """Drop colors to buttons
121
121
 
122
- :type override_context: typing.Union[dict, bpy.types.Context]
123
- :type execution_context: typing.Union[str, int]
124
- :type undo: bool
122
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
123
+ :type execution_context: typing.Optional[typing.Union[str, int]]
124
+ :type undo: typing.Optional[bool]
125
125
  :param color: Color, Source color
126
- :type color: typing.Any
126
+ :type color: typing.Optional[typing.Any]
127
127
  :param gamma: Gamma Corrected, The source color is gamma corrected
128
- :type gamma: typing.Union[bool, typing.Any]
128
+ :type gamma: typing.Optional[typing.Union[bool, typing.Any]]
129
129
  """
130
130
 
131
131
  ...
132
132
 
133
133
  def drop_material(
134
- override_context: typing.Union[dict, bpy.types.Context] = None,
135
- execution_context: typing.Union[str, int] = None,
136
- undo: bool = None,
137
- session_uid: typing.Any = 0,
134
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
135
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
136
+ undo: typing.Optional[bool] = None,
137
+ session_uid: typing.Optional[typing.Any] = 0,
138
138
  ):
139
139
  """Drag material to Material slots in Properties
140
140
 
141
- :type override_context: typing.Union[dict, bpy.types.Context]
142
- :type execution_context: typing.Union[str, int]
143
- :type undo: bool
141
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
142
+ :type execution_context: typing.Optional[typing.Union[str, int]]
143
+ :type undo: typing.Optional[bool]
144
144
  :param session_uid: Session UID, Session UID of the data-block to use by the operator
145
- :type session_uid: typing.Any
145
+ :type session_uid: typing.Optional[typing.Any]
146
146
  """
147
147
 
148
148
  ...
149
149
 
150
150
  def drop_name(
151
- override_context: typing.Union[dict, bpy.types.Context] = None,
152
- execution_context: typing.Union[str, int] = None,
153
- undo: bool = None,
151
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
152
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
153
+ undo: typing.Optional[bool] = None,
154
154
  string: typing.Union[str, typing.Any] = "",
155
155
  ):
156
156
  """Drop name to button
157
157
 
158
- :type override_context: typing.Union[dict, bpy.types.Context]
159
- :type execution_context: typing.Union[str, int]
160
- :type undo: bool
158
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
159
+ :type execution_context: typing.Optional[typing.Union[str, int]]
160
+ :type undo: typing.Optional[bool]
161
161
  :param string: String, The string value to drop into the button
162
162
  :type string: typing.Union[str, typing.Any]
163
163
  """
@@ -165,100 +165,100 @@ def drop_name(
165
165
  ...
166
166
 
167
167
  def editsource(
168
- override_context: typing.Union[dict, bpy.types.Context] = None,
169
- execution_context: typing.Union[str, int] = None,
170
- undo: bool = None,
168
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
169
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
170
+ undo: typing.Optional[bool] = None,
171
171
  ):
172
172
  """Edit UI source code of the active button
173
173
 
174
- :type override_context: typing.Union[dict, bpy.types.Context]
175
- :type execution_context: typing.Union[str, int]
176
- :type undo: bool
174
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
175
+ :type execution_context: typing.Optional[typing.Union[str, int]]
176
+ :type undo: typing.Optional[bool]
177
177
  """
178
178
 
179
179
  ...
180
180
 
181
181
  def edittranslation_init(
182
- override_context: typing.Union[dict, bpy.types.Context] = None,
183
- execution_context: typing.Union[str, int] = None,
184
- undo: bool = None,
182
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
183
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
184
+ undo: typing.Optional[bool] = None,
185
185
  ):
186
186
  """Edit i18n in current language for the active button
187
187
 
188
- :type override_context: typing.Union[dict, bpy.types.Context]
189
- :type execution_context: typing.Union[str, int]
190
- :type undo: bool
188
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
189
+ :type execution_context: typing.Optional[typing.Union[str, int]]
190
+ :type undo: typing.Optional[bool]
191
191
  """
192
192
 
193
193
  ...
194
194
 
195
195
  def eyedropper_color(
196
- override_context: typing.Union[dict, bpy.types.Context] = None,
197
- execution_context: typing.Union[str, int] = None,
198
- undo: bool = None,
196
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
197
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
198
+ undo: typing.Optional[bool] = None,
199
199
  ):
200
200
  """Sample a color from the Blender window to store in a property
201
201
 
202
- :type override_context: typing.Union[dict, bpy.types.Context]
203
- :type execution_context: typing.Union[str, int]
204
- :type undo: bool
202
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
203
+ :type execution_context: typing.Optional[typing.Union[str, int]]
204
+ :type undo: typing.Optional[bool]
205
205
  """
206
206
 
207
207
  ...
208
208
 
209
209
  def eyedropper_colorramp(
210
- override_context: typing.Union[dict, bpy.types.Context] = None,
211
- execution_context: typing.Union[str, int] = None,
212
- undo: bool = None,
210
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
211
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
212
+ undo: typing.Optional[bool] = None,
213
213
  ):
214
214
  """Sample a color band
215
215
 
216
- :type override_context: typing.Union[dict, bpy.types.Context]
217
- :type execution_context: typing.Union[str, int]
218
- :type undo: bool
216
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
217
+ :type execution_context: typing.Optional[typing.Union[str, int]]
218
+ :type undo: typing.Optional[bool]
219
219
  """
220
220
 
221
221
  ...
222
222
 
223
223
  def eyedropper_colorramp_point(
224
- override_context: typing.Union[dict, bpy.types.Context] = None,
225
- execution_context: typing.Union[str, int] = None,
226
- undo: bool = None,
224
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
225
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
226
+ undo: typing.Optional[bool] = None,
227
227
  ):
228
228
  """Point-sample a color band
229
229
 
230
- :type override_context: typing.Union[dict, bpy.types.Context]
231
- :type execution_context: typing.Union[str, int]
232
- :type undo: bool
230
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
231
+ :type execution_context: typing.Optional[typing.Union[str, int]]
232
+ :type undo: typing.Optional[bool]
233
233
  """
234
234
 
235
235
  ...
236
236
 
237
237
  def eyedropper_depth(
238
- override_context: typing.Union[dict, bpy.types.Context] = None,
239
- execution_context: typing.Union[str, int] = None,
240
- undo: bool = None,
238
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
239
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
240
+ undo: typing.Optional[bool] = None,
241
241
  ):
242
242
  """Sample depth from the 3D view
243
243
 
244
- :type override_context: typing.Union[dict, bpy.types.Context]
245
- :type execution_context: typing.Union[str, int]
246
- :type undo: bool
244
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
245
+ :type execution_context: typing.Optional[typing.Union[str, int]]
246
+ :type undo: typing.Optional[bool]
247
247
  """
248
248
 
249
249
  ...
250
250
 
251
251
  def eyedropper_driver(
252
- override_context: typing.Union[dict, bpy.types.Context] = None,
253
- execution_context: typing.Union[str, int] = None,
254
- undo: bool = None,
255
- mapping_type: typing.Any = "SINGLE_MANY",
252
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
253
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
254
+ undo: typing.Optional[bool] = None,
255
+ mapping_type: typing.Optional[typing.Any] = "SINGLE_MANY",
256
256
  ):
257
257
  """Pick a property to use as a driver target
258
258
 
259
- :type override_context: typing.Union[dict, bpy.types.Context]
260
- :type execution_context: typing.Union[str, int]
261
- :type undo: bool
259
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
260
+ :type execution_context: typing.Optional[typing.Union[str, int]]
261
+ :type undo: typing.Optional[bool]
262
262
  :param mapping_type: Mapping Type, Method used to match target and driven properties
263
263
 
264
264
  SINGLE_MANY
@@ -275,143 +275,143 @@ def eyedropper_driver(
275
275
 
276
276
  NONE_SINGLE
277
277
  Manually Create Later (Single) -- Create driver for this property only and without assigning any targets yet.
278
- :type mapping_type: typing.Any
278
+ :type mapping_type: typing.Optional[typing.Any]
279
279
  """
280
280
 
281
281
  ...
282
282
 
283
283
  def eyedropper_gpencil_color(
284
- override_context: typing.Union[dict, bpy.types.Context] = None,
285
- execution_context: typing.Union[str, int] = None,
286
- undo: bool = None,
287
- mode: typing.Any = "MATERIAL",
284
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
285
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
286
+ undo: typing.Optional[bool] = None,
287
+ mode: typing.Optional[typing.Any] = "MATERIAL",
288
288
  ):
289
289
  """Sample a color from the Blender Window and create Grease Pencil material
290
290
 
291
- :type override_context: typing.Union[dict, bpy.types.Context]
292
- :type execution_context: typing.Union[str, int]
293
- :type undo: bool
291
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
292
+ :type execution_context: typing.Optional[typing.Union[str, int]]
293
+ :type undo: typing.Optional[bool]
294
294
  :param mode: Mode
295
- :type mode: typing.Any
295
+ :type mode: typing.Optional[typing.Any]
296
296
  """
297
297
 
298
298
  ...
299
299
 
300
300
  def eyedropper_id(
301
- override_context: typing.Union[dict, bpy.types.Context] = None,
302
- execution_context: typing.Union[str, int] = None,
303
- undo: bool = None,
301
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
302
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
303
+ undo: typing.Optional[bool] = None,
304
304
  ):
305
305
  """Sample a data-block from the 3D View to store in a property
306
306
 
307
- :type override_context: typing.Union[dict, bpy.types.Context]
308
- :type execution_context: typing.Union[str, int]
309
- :type undo: bool
307
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
308
+ :type execution_context: typing.Optional[typing.Union[str, int]]
309
+ :type undo: typing.Optional[bool]
310
310
  """
311
311
 
312
312
  ...
313
313
 
314
314
  def jump_to_target_button(
315
- override_context: typing.Union[dict, bpy.types.Context] = None,
316
- execution_context: typing.Union[str, int] = None,
317
- undo: bool = None,
315
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
316
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
317
+ undo: typing.Optional[bool] = None,
318
318
  ):
319
319
  """Switch to the target object or bone
320
320
 
321
- :type override_context: typing.Union[dict, bpy.types.Context]
322
- :type execution_context: typing.Union[str, int]
323
- :type undo: bool
321
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
322
+ :type execution_context: typing.Optional[typing.Union[str, int]]
323
+ :type undo: typing.Optional[bool]
324
324
  """
325
325
 
326
326
  ...
327
327
 
328
328
  def list_start_filter(
329
- override_context: typing.Union[dict, bpy.types.Context] = None,
330
- execution_context: typing.Union[str, int] = None,
331
- undo: bool = None,
329
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
330
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
331
+ undo: typing.Optional[bool] = None,
332
332
  ):
333
333
  """Start entering filter text for the list in focus
334
334
 
335
- :type override_context: typing.Union[dict, bpy.types.Context]
336
- :type execution_context: typing.Union[str, int]
337
- :type undo: bool
335
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
336
+ :type execution_context: typing.Optional[typing.Union[str, int]]
337
+ :type undo: typing.Optional[bool]
338
338
  """
339
339
 
340
340
  ...
341
341
 
342
342
  def override_idtemplate_clear(
343
- override_context: typing.Union[dict, bpy.types.Context] = None,
344
- execution_context: typing.Union[str, int] = None,
345
- undo: bool = None,
343
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
344
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
345
+ undo: typing.Optional[bool] = None,
346
346
  ):
347
347
  """Delete the selected local override and relink its usages to the linked data-block if possible, else reset it and mark it as non editable
348
348
 
349
- :type override_context: typing.Union[dict, bpy.types.Context]
350
- :type execution_context: typing.Union[str, int]
351
- :type undo: bool
349
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
350
+ :type execution_context: typing.Optional[typing.Union[str, int]]
351
+ :type undo: typing.Optional[bool]
352
352
  """
353
353
 
354
354
  ...
355
355
 
356
356
  def override_idtemplate_make(
357
- override_context: typing.Union[dict, bpy.types.Context] = None,
358
- execution_context: typing.Union[str, int] = None,
359
- undo: bool = None,
357
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
358
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
359
+ undo: typing.Optional[bool] = None,
360
360
  ):
361
361
  """Create a local override of the selected linked data-block, and its hierarchy of dependencies
362
362
 
363
- :type override_context: typing.Union[dict, bpy.types.Context]
364
- :type execution_context: typing.Union[str, int]
365
- :type undo: bool
363
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
364
+ :type execution_context: typing.Optional[typing.Union[str, int]]
365
+ :type undo: typing.Optional[bool]
366
366
  """
367
367
 
368
368
  ...
369
369
 
370
370
  def override_idtemplate_reset(
371
- override_context: typing.Union[dict, bpy.types.Context] = None,
372
- execution_context: typing.Union[str, int] = None,
373
- undo: bool = None,
371
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
372
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
373
+ undo: typing.Optional[bool] = None,
374
374
  ):
375
375
  """Reset the selected local override to its linked reference values
376
376
 
377
- :type override_context: typing.Union[dict, bpy.types.Context]
378
- :type execution_context: typing.Union[str, int]
379
- :type undo: bool
377
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
378
+ :type execution_context: typing.Optional[typing.Union[str, int]]
379
+ :type undo: typing.Optional[bool]
380
380
  """
381
381
 
382
382
  ...
383
383
 
384
384
  def override_remove_button(
385
- override_context: typing.Union[dict, bpy.types.Context] = None,
386
- execution_context: typing.Union[str, int] = None,
387
- undo: bool = None,
388
- all: typing.Union[bool, typing.Any] = True,
385
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
386
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
387
+ undo: typing.Optional[bool] = None,
388
+ all: typing.Optional[typing.Union[bool, typing.Any]] = True,
389
389
  ):
390
390
  """Remove an override operation
391
391
 
392
- :type override_context: typing.Union[dict, bpy.types.Context]
393
- :type execution_context: typing.Union[str, int]
394
- :type undo: bool
392
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
393
+ :type execution_context: typing.Optional[typing.Union[str, int]]
394
+ :type undo: typing.Optional[bool]
395
395
  :param all: All, Reset to default values all elements of the array
396
- :type all: typing.Union[bool, typing.Any]
396
+ :type all: typing.Optional[typing.Union[bool, typing.Any]]
397
397
  """
398
398
 
399
399
  ...
400
400
 
401
401
  def override_type_set_button(
402
- override_context: typing.Union[dict, bpy.types.Context] = None,
403
- execution_context: typing.Union[str, int] = None,
404
- undo: bool = None,
405
- all: typing.Union[bool, typing.Any] = True,
406
- type: typing.Any = "REPLACE",
402
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
403
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
404
+ undo: typing.Optional[bool] = None,
405
+ all: typing.Optional[typing.Union[bool, typing.Any]] = True,
406
+ type: typing.Optional[typing.Any] = "REPLACE",
407
407
  ):
408
408
  """Create an override operation, or set the type of an existing one
409
409
 
410
- :type override_context: typing.Union[dict, bpy.types.Context]
411
- :type execution_context: typing.Union[str, int]
412
- :type undo: bool
410
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
411
+ :type execution_context: typing.Optional[typing.Union[str, int]]
412
+ :type undo: typing.Optional[bool]
413
413
  :param all: All, Reset to default values all elements of the array
414
- :type all: typing.Union[bool, typing.Any]
414
+ :type all: typing.Optional[typing.Union[bool, typing.Any]]
415
415
  :param type: Type, Type of override operation
416
416
 
417
417
  NOOP
@@ -425,94 +425,94 @@ def override_type_set_button(
425
425
 
426
426
  FACTOR
427
427
  Factor -- Store factor to linked data value (useful e.g. for scale).
428
- :type type: typing.Any
428
+ :type type: typing.Optional[typing.Any]
429
429
  """
430
430
 
431
431
  ...
432
432
 
433
433
  def reloadtranslation(
434
- override_context: typing.Union[dict, bpy.types.Context] = None,
435
- execution_context: typing.Union[str, int] = None,
436
- undo: bool = None,
434
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
435
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
436
+ undo: typing.Optional[bool] = None,
437
437
  ):
438
438
  """Force a full reload of UI translation
439
439
 
440
- :type override_context: typing.Union[dict, bpy.types.Context]
441
- :type execution_context: typing.Union[str, int]
442
- :type undo: bool
440
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
441
+ :type execution_context: typing.Optional[typing.Union[str, int]]
442
+ :type undo: typing.Optional[bool]
443
443
  """
444
444
 
445
445
  ...
446
446
 
447
447
  def reset_default_button(
448
- override_context: typing.Union[dict, bpy.types.Context] = None,
449
- execution_context: typing.Union[str, int] = None,
450
- undo: bool = None,
451
- all: typing.Union[bool, typing.Any] = True,
448
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
449
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
450
+ undo: typing.Optional[bool] = None,
451
+ all: typing.Optional[typing.Union[bool, typing.Any]] = True,
452
452
  ):
453
453
  """Reset this property's value to its default value
454
454
 
455
- :type override_context: typing.Union[dict, bpy.types.Context]
456
- :type execution_context: typing.Union[str, int]
457
- :type undo: bool
455
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
456
+ :type execution_context: typing.Optional[typing.Union[str, int]]
457
+ :type undo: typing.Optional[bool]
458
458
  :param all: All, Reset to default values all elements of the array
459
- :type all: typing.Union[bool, typing.Any]
459
+ :type all: typing.Optional[typing.Union[bool, typing.Any]]
460
460
  """
461
461
 
462
462
  ...
463
463
 
464
464
  def unset_property_button(
465
- override_context: typing.Union[dict, bpy.types.Context] = None,
466
- execution_context: typing.Union[str, int] = None,
467
- undo: bool = None,
465
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
466
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
467
+ undo: typing.Optional[bool] = None,
468
468
  ):
469
469
  """Clear the property and use default or generated value in operators
470
470
 
471
- :type override_context: typing.Union[dict, bpy.types.Context]
472
- :type execution_context: typing.Union[str, int]
473
- :type undo: bool
471
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
472
+ :type execution_context: typing.Optional[typing.Union[str, int]]
473
+ :type undo: typing.Optional[bool]
474
474
  """
475
475
 
476
476
  ...
477
477
 
478
478
  def view_drop(
479
- override_context: typing.Union[dict, bpy.types.Context] = None,
480
- execution_context: typing.Union[str, int] = None,
481
- undo: bool = None,
479
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
480
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
481
+ undo: typing.Optional[bool] = None,
482
482
  ):
483
483
  """Drag and drop onto a data-set or item within the data-set
484
484
 
485
- :type override_context: typing.Union[dict, bpy.types.Context]
486
- :type execution_context: typing.Union[str, int]
487
- :type undo: bool
485
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
486
+ :type execution_context: typing.Optional[typing.Union[str, int]]
487
+ :type undo: typing.Optional[bool]
488
488
  """
489
489
 
490
490
  ...
491
491
 
492
492
  def view_item_rename(
493
- override_context: typing.Union[dict, bpy.types.Context] = None,
494
- execution_context: typing.Union[str, int] = None,
495
- undo: bool = None,
493
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
494
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
495
+ undo: typing.Optional[bool] = None,
496
496
  ):
497
497
  """Rename the active item in the data-set view
498
498
 
499
- :type override_context: typing.Union[dict, bpy.types.Context]
500
- :type execution_context: typing.Union[str, int]
501
- :type undo: bool
499
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
500
+ :type execution_context: typing.Optional[typing.Union[str, int]]
501
+ :type undo: typing.Optional[bool]
502
502
  """
503
503
 
504
504
  ...
505
505
 
506
506
  def view_start_filter(
507
- override_context: typing.Union[dict, bpy.types.Context] = None,
508
- execution_context: typing.Union[str, int] = None,
509
- undo: bool = None,
507
+ override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
508
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
509
+ undo: typing.Optional[bool] = None,
510
510
  ):
511
511
  """Start entering filter text for the data-set in focus
512
512
 
513
- :type override_context: typing.Union[dict, bpy.types.Context]
514
- :type execution_context: typing.Union[str, int]
515
- :type undo: bool
513
+ :type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
514
+ :type execution_context: typing.Optional[typing.Union[str, int]]
515
+ :type undo: typing.Optional[bool]
516
516
  """
517
517
 
518
518
  ...