fake-bpy-module 20240720__py3-none-any.whl → 20240721__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.

bpy/types/__init__.pyi CHANGED
@@ -114197,13 +114197,13 @@ class BlendData(bpy_struct):
114197
114197
  """
114198
114198
  ...
114199
114199
 
114200
- def temp_data(self, filepath: bytes | str | None = None) -> BlendData:
114200
+ def temp_data(self, filepath: bytes | str | None = None) -> typing.Self:
114201
114201
  """A context manager that temporarily creates blender file data.
114202
114202
 
114203
114203
  :param filepath: The file path for the newly temporary data. When None, the path of the currently open file is used.
114204
114204
  :type filepath: bytes | str | None
114205
114205
  :return: Blend file data which is freed once the context exists.
114206
- :rtype: BlendData
114206
+ :rtype: typing.Self
114207
114207
  """
114208
114208
  ...
114209
114209
 
@@ -114896,16 +114896,16 @@ class Bone(bpy_struct):
114896
114896
  :type: float
114897
114897
  """
114898
114898
 
114899
- bbone_custom_handle_end: Bone | None
114899
+ bbone_custom_handle_end: typing.Self
114900
114900
  """ Bone that serves as the end handle for the B-Bone curve
114901
114901
 
114902
- :type: Bone | None
114902
+ :type: typing.Self
114903
114903
  """
114904
114904
 
114905
- bbone_custom_handle_start: Bone | None
114905
+ bbone_custom_handle_start: typing.Self
114906
114906
  """ Bone that serves as the start handle for the B-Bone curve
114907
114907
 
114908
- :type: Bone | None
114908
+ :type: typing.Self
114909
114909
  """
114910
114910
 
114911
114911
  bbone_easein: float
@@ -115094,10 +115094,10 @@ class Bone(bpy_struct):
115094
115094
  :type: str
115095
115095
  """
115096
115096
 
115097
- parent: Bone
115097
+ parent: typing.Self
115098
115098
  """ Parent bone (in same Armature)
115099
115099
 
115100
- :type: Bone
115100
+ :type: typing.Self
115101
115101
  """
115102
115102
 
115103
115103
  select: bool
@@ -115434,10 +115434,10 @@ class BoneCollection(bpy_struct):
115434
115434
  :type: str
115435
115435
  """
115436
115436
 
115437
- parent: BoneCollection | None
115437
+ parent: typing.Self
115438
115438
  """ Parent bone collection. Note that accessing this requires a scan of all the bone collections to find the parent
115439
115439
 
115440
- :type: BoneCollection | None
115440
+ :type: typing.Self
115441
115441
  """
115442
115442
 
115443
115443
  bones_recursive: typing.Any
@@ -132652,13 +132652,13 @@ class Depsgraph(bpy_struct):
132652
132652
  """Re-evaluate any modified data-blocks, for example for animation or modifiers. This invalidates all references to evaluated data-blocks from this dependency graph."""
132653
132653
  ...
132654
132654
 
132655
- def id_eval_get(self, id: ID | None) -> ID:
132655
+ def id_eval_get(self, id: GenericType1 | None) -> GenericType1:
132656
132656
  """id_eval_get
132657
132657
 
132658
132658
  :param id: Original ID to get evaluated complementary part for
132659
- :type id: ID | None
132659
+ :type id: GenericType1 | None
132660
132660
  :return: Evaluated ID for the given original one
132661
- :rtype: ID
132661
+ :rtype: GenericType1
132662
132662
  """
132663
132663
  ...
132664
132664
 
@@ -134263,16 +134263,16 @@ class EditBone(bpy_struct):
134263
134263
  :type: float
134264
134264
  """
134265
134265
 
134266
- bbone_custom_handle_end: EditBone | None
134266
+ bbone_custom_handle_end: typing.Self
134267
134267
  """ Bone that serves as the end handle for the B-Bone curve
134268
134268
 
134269
- :type: EditBone | None
134269
+ :type: typing.Self
134270
134270
  """
134271
134271
 
134272
- bbone_custom_handle_start: EditBone | None
134272
+ bbone_custom_handle_start: typing.Self
134273
134273
  """ Bone that serves as the start handle for the B-Bone curve
134274
134274
 
134275
- :type: EditBone | None
134275
+ :type: typing.Self
134276
134276
  """
134277
134277
 
134278
134278
  bbone_easein: float
@@ -134449,10 +134449,10 @@ class EditBone(bpy_struct):
134449
134449
  :type: str
134450
134450
  """
134451
134451
 
134452
- parent: EditBone | None
134452
+ parent: typing.Self
134453
134453
  """ Parent edit bone (in same Armature)
134454
134454
 
134455
- :type: EditBone | None
134455
+ :type: typing.Self
134456
134456
  """
134457
134457
 
134458
134458
  roll: float
@@ -162935,10 +162935,10 @@ class ID(bpy_struct):
162935
162935
  :type: str
162936
162936
  """
162937
162937
 
162938
- original: ID
162938
+ original: typing.Self
162939
162939
  """ Actual data-block from .blend file (Main database) that generated that evaluated one
162940
162940
 
162941
- :type: ID
162941
+ :type: typing.Self
162942
162942
  """
162943
162943
 
162944
162944
  override_library: IDOverrideLibrary
@@ -162983,21 +162983,21 @@ class ID(bpy_struct):
162983
162983
  :type: int
162984
162984
  """
162985
162985
 
162986
- def evaluated_get(self, depsgraph: Depsgraph) -> ID:
162986
+ def evaluated_get(self, depsgraph: Depsgraph) -> typing.Self:
162987
162987
  """Get corresponding evaluated ID from the given dependency graph. Note that this does not ensure the dependency graph is fully evaluated, it just returns the result of the last evaluation
162988
162988
 
162989
162989
  :param depsgraph: Dependency graph to perform lookup in
162990
162990
  :type depsgraph: Depsgraph
162991
162991
  :return: New copy of the ID
162992
- :rtype: ID
162992
+ :rtype: typing.Self
162993
162993
  """
162994
162994
  ...
162995
162995
 
162996
- def copy(self) -> ID:
162996
+ def copy(self) -> typing.Self:
162997
162997
  """Create a copy of this data-block (not supported for all data-blocks). The result is added to the Blend-File Data (Main database), with all references to other data-blocks ensured to be from within the same Blend-File Data
162998
162998
 
162999
162999
  :return: New copy of the ID
163000
- :rtype: ID
163000
+ :rtype: typing.Self
163001
163001
  """
163002
163002
  ...
163003
163003
 
@@ -163013,13 +163013,13 @@ class ID(bpy_struct):
163013
163013
  """Generate preview image (might be scheduled in a background thread)"""
163014
163014
  ...
163015
163015
 
163016
- def override_create(self, remap_local_usages: bool | None = False) -> ID:
163016
+ def override_create(self, remap_local_usages: bool | None = False) -> typing.Self:
163017
163017
  """Create an overridden local copy of this linked data-block (not supported for all data-blocks)
163018
163018
 
163019
163019
  :param remap_local_usages: Whether local usages of the linked ID should be remapped to the new library override of it
163020
163020
  :type remap_local_usages: bool | None
163021
163021
  :return: New overridden local copy of the ID
163022
- :rtype: ID
163022
+ :rtype: typing.Self
163023
163023
  """
163024
163024
  ...
163025
163025
 
@@ -163027,9 +163027,9 @@ class ID(bpy_struct):
163027
163027
  self,
163028
163028
  scene: Scene,
163029
163029
  view_layer: ViewLayer,
163030
- reference: ID | None = None,
163030
+ reference: typing.Self = None,
163031
163031
  do_fully_editable: bool | None = False,
163032
- ) -> ID:
163032
+ ) -> typing.Self:
163033
163033
  """Create an overridden local copy of this linked data-block, and most of its dependencies when it is a Collection or and Object
163034
163034
 
163035
163035
  :param scene: In which scene the new overrides should be instantiated
@@ -163037,11 +163037,11 @@ class ID(bpy_struct):
163037
163037
  :param view_layer: In which view layer the new overrides should be instantiated
163038
163038
  :type view_layer: ViewLayer
163039
163039
  :param reference: Another ID (usually an Object or Collection) used as a hint to decide where to instantiate the new overrides
163040
- :type reference: ID | None
163040
+ :type reference: typing.Self
163041
163041
  :param do_fully_editable: Make all library overrides generated by this call fully editable by the user (none will be 'system overrides')
163042
163042
  :type do_fully_editable: bool | None
163043
163043
  :return: New overridden local copy of the root ID
163044
- :rtype: ID
163044
+ :rtype: typing.Self
163045
163045
  """
163046
163046
  ...
163047
163047
 
@@ -163052,11 +163052,11 @@ class ID(bpy_struct):
163052
163052
  """
163053
163053
  ...
163054
163054
 
163055
- def user_remap(self, new_id: ID):
163055
+ def user_remap(self, new_id: typing.Self):
163056
163056
  """Replace all usage in the .blend file of this ID by new given one
163057
163057
 
163058
163058
  :param new_id: New ID to use
163059
- :type new_id: ID
163059
+ :type new_id: typing.Self
163060
163060
  """
163061
163061
  ...
163062
163062
 
@@ -163065,7 +163065,7 @@ class ID(bpy_struct):
163065
163065
  clear_proxy: bool | None = True,
163066
163066
  clear_liboverride: bool | None = False,
163067
163067
  clear_asset_data: bool | None = True,
163068
- ) -> ID:
163068
+ ) -> typing.Self:
163069
163069
  """Make this datablock local, return local one (may be a copy of the original, in case it is also indirectly used)
163070
163070
 
163071
163071
  :param clear_proxy: Deprecated, has no effect
@@ -163075,15 +163075,15 @@ class ID(bpy_struct):
163075
163075
  :param clear_asset_data: Remove potential asset metadata so the newly local data-block is not treated as asset data-block and won't show up in asset libraries
163076
163076
  :type clear_asset_data: bool | None
163077
163077
  :return: This ID, or the new ID if it was copied
163078
- :rtype: ID
163078
+ :rtype: typing.Self
163079
163079
  """
163080
163080
  ...
163081
163081
 
163082
- def user_of_id(self, id: ID) -> int:
163082
+ def user_of_id(self, id: typing.Self) -> int:
163083
163083
  """Count the number of times that ID uses/references given one
163084
163084
 
163085
163085
  :param id: ID to count usages
163086
- :type id: ID
163086
+ :type id: typing.Self
163087
163087
  :return: Number of usages/references of given id by current data-block
163088
163088
  :rtype: int
163089
163089
  """
@@ -165502,11 +165502,11 @@ class KeyMap(bpy_struct):
165502
165502
  :type: str
165503
165503
  """
165504
165504
 
165505
- def active(self) -> KeyMap:
165505
+ def active(self) -> typing.Self:
165506
165506
  """active
165507
165507
 
165508
165508
  :return: Key Map, Active key map
165509
- :rtype: KeyMap
165509
+ :rtype: typing.Self
165510
165510
  """
165511
165511
  ...
165512
165512
 
@@ -165693,11 +165693,11 @@ class KeyMapItem(bpy_struct):
165693
165693
  :type: str
165694
165694
  """
165695
165695
 
165696
- def compare(self, item: KeyMapItem | None) -> bool:
165696
+ def compare(self, item: typing.Self) -> bool:
165697
165697
  """compare
165698
165698
 
165699
165699
  :param item: Item
165700
- :type item: KeyMapItem | None
165700
+ :type item: typing.Self
165701
165701
  :return: Comparison result
165702
165702
  :rtype: bool
165703
165703
  """
@@ -167154,10 +167154,10 @@ class Library(ID, bpy_struct):
167154
167154
  :type: PackedFile
167155
167155
  """
167156
167156
 
167157
- parent: Library
167157
+ parent: typing.Self
167158
167158
  """
167159
167159
 
167160
- :type: Library
167160
+ :type: typing.Self
167161
167161
  """
167162
167162
 
167163
167163
  version: bpy_prop_array[int]
@@ -174045,10 +174045,10 @@ class Mesh(ID, bpy_struct):
174045
174045
  :type: bpy_prop_collection[MeshSkinVertexLayer]
174046
174046
  """
174047
174047
 
174048
- texco_mesh: Mesh | None
174048
+ texco_mesh: typing.Self
174049
174049
  """ Derive texture coordinates from another mesh
174050
174050
 
174051
- :type: Mesh | None
174051
+ :type: typing.Self
174052
174052
  """
174053
174053
 
174054
174054
  texspace_location: mathutils.Vector
@@ -174063,10 +174063,10 @@ class Mesh(ID, bpy_struct):
174063
174063
  :type: mathutils.Vector
174064
174064
  """
174065
174065
 
174066
- texture_mesh: Mesh | None
174066
+ texture_mesh: typing.Self
174067
174067
  """ Use another mesh for texture indices (vertex indices must be aligned)
174068
174068
 
174069
- :type: Mesh | None
174069
+ :type: typing.Self
174070
174070
  """
174071
174071
 
174072
174072
  total_edge_sel: int
@@ -174321,12 +174321,12 @@ class Mesh(ID, bpy_struct):
174321
174321
  ...
174322
174322
 
174323
174323
  def unit_test_compare(
174324
- self, mesh: Mesh | None = None, threshold: float | None = 7.1526e-06
174324
+ self, mesh: typing.Self = None, threshold: float | None = 7.1526e-06
174325
174325
  ) -> str:
174326
174326
  """unit_test_compare
174327
174327
 
174328
174328
  :param mesh: Mesh to compare to
174329
- :type mesh: Mesh | None
174329
+ :type mesh: typing.Self
174330
174330
  :param threshold: Threshold, Comparison tolerance threshold
174331
174331
  :type threshold: float | None
174332
174332
  :return: Return value, String description of result of comparison
@@ -179082,10 +179082,10 @@ class Node(bpy_struct):
179082
179082
  :type: NodeOutputs
179083
179083
  """
179084
179084
 
179085
- parent: Node | None
179085
+ parent: typing.Self
179086
179086
  """ Parent this node is attached to
179087
179087
 
179088
- :type: Node | None
179088
+ :type: typing.Self
179089
179089
  """
179090
179090
 
179091
179091
  select: bool
@@ -179188,11 +179188,11 @@ class Node(bpy_struct):
179188
179188
  """
179189
179189
  ...
179190
179190
 
179191
- def copy(self, node: Node):
179191
+ def copy(self, node: typing.Self):
179192
179192
  """Initialize a new instance of this node from an existing node
179193
179193
 
179194
179194
  :param node: Node, Existing node to copy
179195
- :type node: Node
179195
+ :type node: typing.Self
179196
179196
  """
179197
179197
  ...
179198
179198
 
@@ -179873,11 +179873,11 @@ class NodeLink(bpy_struct):
179873
179873
  :type: NodeSocket
179874
179874
  """
179875
179875
 
179876
- def swap_multi_input_sort_id(self, other: NodeLink):
179876
+ def swap_multi_input_sort_id(self, other: typing.Self):
179877
179877
  """Swap the order of two links connected to the same multi-input socket
179878
179878
 
179879
179879
  :param other: Other, The other link. Must link to the same multi input socket
179880
- :type other: NodeLink
179880
+ :type other: typing.Self
179881
179881
  """
179882
179882
  ...
179883
179883
 
@@ -181656,11 +181656,11 @@ class NodeTree(ID, bpy_struct):
181656
181656
  """
181657
181657
  ...
181658
181658
 
181659
- def contains_tree(self, sub_tree: NodeTree) -> bool:
181659
+ def contains_tree(self, sub_tree: typing.Self) -> bool:
181660
181660
  """Check if the node tree contains another. Used to avoid creating recursive node groups
181661
181661
 
181662
181662
  :param sub_tree: Node Tree, Node tree for recursive check
181663
- :type sub_tree: NodeTree
181663
+ :type sub_tree: typing.Self
181664
181664
  :return: contained
181665
181665
  :rtype: bool
181666
181666
  """
@@ -185768,10 +185768,10 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
185768
185768
  :type: MotionPath
185769
185769
  """
185770
185770
 
185771
- parent: Object | None
185771
+ parent: typing.Self
185772
185772
  """ Parent object
185773
185773
 
185774
- :type: Object | None
185774
+ :type: typing.Self
185775
185775
  """
185776
185776
 
185777
185777
  parent_bone: str
@@ -186393,11 +186393,11 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
186393
186393
  """Clears curve data-block created by to_curve()"""
186394
186394
  ...
186395
186395
 
186396
- def find_armature(self) -> Object:
186396
+ def find_armature(self) -> typing.Self:
186397
186397
  """Find armature influencing this object as a parent or via a modifier
186398
186398
 
186399
186399
  :return: Armature object influencing this object or nullptr
186400
- :rtype: Object
186400
+ :rtype: typing.Self
186401
186401
  """
186402
186402
  ...
186403
186403
 
@@ -186528,7 +186528,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
186528
186528
 
186529
186529
  def generate_gpencil_strokes(
186530
186530
  self,
186531
- grease_pencil_object: Object,
186531
+ grease_pencil_object: typing.Self,
186532
186532
  use_collections: bool | None = True,
186533
186533
  scale_thickness: float | None = 1.0,
186534
186534
  sample: float | None = 0.0,
@@ -186536,7 +186536,7 @@ Warning: Only takes into account object parenting, so e.g. in case of bone paren
186536
186536
  """Convert a curve object to grease pencil strokes.
186537
186537
 
186538
186538
  :param grease_pencil_object: Grease Pencil object used to create new strokes
186539
- :type grease_pencil_object: Object
186539
+ :type grease_pencil_object: typing.Self
186540
186540
  :param use_collections: Use Collections
186541
186541
  :type use_collections: bool | None
186542
186542
  :param scale_thickness: Thickness scaling factor
@@ -191863,16 +191863,16 @@ class PoseBone(bpy_struct):
191863
191863
  :type: float
191864
191864
  """
191865
191865
 
191866
- bbone_custom_handle_end: PoseBone
191866
+ bbone_custom_handle_end: typing.Self
191867
191867
  """ Bone that serves as the end handle for the B-Bone curve
191868
191868
 
191869
- :type: PoseBone
191869
+ :type: typing.Self
191870
191870
  """
191871
191871
 
191872
- bbone_custom_handle_start: PoseBone
191872
+ bbone_custom_handle_start: typing.Self
191873
191873
  """ Bone that serves as the start handle for the B-Bone curve
191874
191874
 
191875
- :type: PoseBone
191875
+ :type: typing.Self
191876
191876
  """
191877
191877
 
191878
191878
  bbone_easein: float
@@ -191917,10 +191917,10 @@ class PoseBone(bpy_struct):
191917
191917
  :type: Bone
191918
191918
  """
191919
191919
 
191920
- child: PoseBone
191920
+ child: typing.Self
191921
191921
  """ Child of this pose bone
191922
191922
 
191923
- :type: PoseBone
191923
+ :type: typing.Self
191924
191924
  """
191925
191925
 
191926
191926
  color: BoneColor
@@ -191953,10 +191953,10 @@ class PoseBone(bpy_struct):
191953
191953
  :type: mathutils.Vector
191954
191954
  """
191955
191955
 
191956
- custom_shape_transform: PoseBone | None
191956
+ custom_shape_transform: typing.Self
191957
191957
  """ Bone that defines the display transform of this custom shape
191958
191958
 
191959
- :type: PoseBone | None
191959
+ :type: typing.Self
191960
191960
  """
191961
191961
 
191962
191962
  custom_shape_translation: mathutils.Vector
@@ -192145,10 +192145,10 @@ class PoseBone(bpy_struct):
192145
192145
  :type: str
192146
192146
  """
192147
192147
 
192148
- parent: PoseBone
192148
+ parent: typing.Self
192149
192149
  """ Parent of this pose bone
192150
192150
 
192151
- :type: PoseBone
192151
+ :type: typing.Self
192152
192152
  """
192153
192153
 
192154
192154
  rotation_axis_angle: bpy_prop_array[float]
@@ -198067,10 +198067,10 @@ class Scene(ID, bpy_struct):
198067
198067
  :type: float
198068
198068
  """
198069
198069
 
198070
- background_set: Scene | None
198070
+ background_set: typing.Self
198071
198071
  """ Background set scene
198072
198072
 
198073
- :type: Scene | None
198073
+ :type: typing.Self
198074
198074
  """
198075
198075
 
198076
198076
  camera: Object | None
@@ -200253,27 +200253,27 @@ class Sequence(bpy_struct):
200253
200253
  """
200254
200254
  ...
200255
200255
 
200256
- def swap(self, other: Sequence):
200256
+ def swap(self, other: typing.Self):
200257
200257
  """swap
200258
200258
 
200259
200259
  :param other: Other
200260
- :type other: Sequence
200260
+ :type other: typing.Self
200261
200261
  """
200262
200262
  ...
200263
200263
 
200264
- def move_to_meta(self, meta_sequence: Sequence):
200264
+ def move_to_meta(self, meta_sequence: typing.Self):
200265
200265
  """move_to_meta
200266
200266
 
200267
200267
  :param meta_sequence: Destination Meta Sequence, Meta to move the strip into
200268
- :type meta_sequence: Sequence
200268
+ :type meta_sequence: typing.Self
200269
200269
  """
200270
200270
  ...
200271
200271
 
200272
- def parent_meta(self) -> Sequence:
200272
+ def parent_meta(self) -> typing.Self:
200273
200273
  """Parent meta
200274
200274
 
200275
200275
  :return: Parent Meta
200276
- :rtype: Sequence
200276
+ :rtype: typing.Self
200277
200277
  """
200278
200278
  ...
200279
200279
 
@@ -200285,7 +200285,7 @@ class Sequence(bpy_struct):
200285
200285
  """
200286
200286
  ...
200287
200287
 
200288
- def split(self, frame: int | None, split_method: str) -> Sequence:
200288
+ def split(self, frame: int | None, split_method: str) -> typing.Self:
200289
200289
  """Split Sequence
200290
200290
 
200291
200291
  :param frame: Frame where to split the strip
@@ -200293,7 +200293,7 @@ class Sequence(bpy_struct):
200293
200293
  :param split_method:
200294
200294
  :type split_method: str
200295
200295
  :return: Right side Sequence
200296
- :rtype: Sequence
200296
+ :rtype: typing.Self
200297
200297
  """
200298
200298
  ...
200299
200299
 
@@ -208905,10 +208905,10 @@ class ShapeKey(bpy_struct):
208905
208905
  :type: bpy_prop_collection[ShapeKeyPoint]
208906
208906
  """
208907
208907
 
208908
- relative_key: ShapeKey
208908
+ relative_key: typing.Self
208909
208909
  """ Shape used as a relative key
208910
208910
 
208911
- :type: ShapeKey
208911
+ :type: typing.Self
208912
208912
  """
208913
208913
 
208914
208914
  slider_max: float
@@ -213905,10 +213905,10 @@ class SpaceView3D(Space, bpy_struct):
213905
213905
  :type: float
213906
213906
  """
213907
213907
 
213908
- local_view: SpaceView3D
213908
+ local_view: typing.Self
213909
213909
  """ Display an isolated subset of objects, apart from the scene visibility
213910
213910
 
213911
- :type: SpaceView3D
213911
+ :type: typing.Self
213912
213912
  """
213913
213913
 
213914
213914
  lock_bone: str
@@ -215640,10 +215640,10 @@ class StringProperty(Property, bpy_struct):
215640
215640
  class Struct(bpy_struct):
215641
215641
  """RNA structure definition"""
215642
215642
 
215643
- base: Struct
215643
+ base: typing.Self
215644
215644
  """ Struct definition this is derived from
215645
215645
 
215646
- :type: Struct
215646
+ :type: typing.Self
215647
215647
  """
215648
215648
 
215649
215649
  description: str
@@ -215676,10 +215676,10 @@ class Struct(bpy_struct):
215676
215676
  :type: StringProperty
215677
215677
  """
215678
215678
 
215679
- nested: Struct
215679
+ nested: typing.Self
215680
215680
  """ Struct in which this struct is always nested, and to which it logically belongs
215681
215681
 
215682
- :type: Struct
215682
+ :type: typing.Self
215683
215683
  """
215684
215684
 
215685
215685
  properties: bpy_prop_collection[Property]
@@ -215701,14 +215701,14 @@ class Struct(bpy_struct):
215701
215701
  """
215702
215702
 
215703
215703
  @classmethod
215704
- def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
215704
+ def bl_rna_get_subclass(cls, id: str | None, default=None) -> typing.Self:
215705
215705
  """
215706
215706
 
215707
215707
  :param id: The RNA type identifier.
215708
215708
  :type id: str | None
215709
215709
  :param default:
215710
215710
  :return: The RNA type or default when not found.
215711
- :rtype: Struct
215711
+ :rtype: typing.Self
215712
215712
  """
215713
215713
  ...
215714
215714
 
@@ -226012,7 +226012,7 @@ class UILayout(bpy_struct):
226012
226012
  heading: str = "",
226013
226013
  heading_ctxt: str = "",
226014
226014
  translate: bool | None = True,
226015
- ) -> UILayout:
226015
+ ) -> typing.Self:
226016
226016
  """Sub-layout. Items placed in this sublayout are placed next to each other in a row
226017
226017
 
226018
226018
  :param align: Align buttons to each other
@@ -226024,7 +226024,7 @@ class UILayout(bpy_struct):
226024
226024
  :param translate: Translate the given heading, when UI translation is enabled
226025
226025
  :type translate: bool | None
226026
226026
  :return: Sub-layout to put items in
226027
- :rtype: UILayout
226027
+ :rtype: typing.Self
226028
226028
  """
226029
226029
  ...
226030
226030
 
@@ -226034,7 +226034,7 @@ class UILayout(bpy_struct):
226034
226034
  heading: str = "",
226035
226035
  heading_ctxt: str = "",
226036
226036
  translate: bool | None = True,
226037
- ) -> UILayout:
226037
+ ) -> typing.Self:
226038
226038
  """Sub-layout. Items placed in this sublayout are placed under each other in a column
226039
226039
 
226040
226040
  :param align: Align buttons to each other
@@ -226046,7 +226046,7 @@ class UILayout(bpy_struct):
226046
226046
  :param translate: Translate the given heading, when UI translation is enabled
226047
226047
  :type translate: bool | None
226048
226048
  :return: Sub-layout to put items in
226049
- :rtype: UILayout
226049
+ :rtype: typing.Self
226050
226050
  """
226051
226051
  ...
226052
226052
 
@@ -226078,7 +226078,7 @@ class UILayout(bpy_struct):
226078
226078
 
226079
226079
  def column_flow(
226080
226080
  self, columns: int | None = 0, align: bool | None = False
226081
- ) -> UILayout:
226081
+ ) -> typing.Self:
226082
226082
  """column_flow
226083
226083
 
226084
226084
  :param columns: Number of columns, 0 is automatic
@@ -226086,7 +226086,7 @@ class UILayout(bpy_struct):
226086
226086
  :param align: Align buttons to each other
226087
226087
  :type align: bool | None
226088
226088
  :return: Sub-layout to put items in
226089
- :rtype: UILayout
226089
+ :rtype: typing.Self
226090
226090
  """
226091
226091
  ...
226092
226092
 
@@ -226097,7 +226097,7 @@ class UILayout(bpy_struct):
226097
226097
  even_columns: bool | None = False,
226098
226098
  even_rows: bool | None = False,
226099
226099
  align: bool | None = False,
226100
- ) -> UILayout:
226100
+ ) -> typing.Self:
226101
226101
  """grid_flow
226102
226102
 
226103
226103
  :param row_major: Fill row by row, instead of column by column
@@ -226111,19 +226111,21 @@ class UILayout(bpy_struct):
226111
226111
  :param align: Align buttons to each other
226112
226112
  :type align: bool | None
226113
226113
  :return: Sub-layout to put items in
226114
- :rtype: UILayout
226114
+ :rtype: typing.Self
226115
226115
  """
226116
226116
  ...
226117
226117
 
226118
- def box(self) -> UILayout:
226118
+ def box(self) -> typing.Self:
226119
226119
  """Sublayout (items placed in this sublayout are placed under each other in a column and are surrounded by a box)
226120
226120
 
226121
226121
  :return: Sub-layout to put items in
226122
- :rtype: UILayout
226122
+ :rtype: typing.Self
226123
226123
  """
226124
226124
  ...
226125
226125
 
226126
- def split(self, factor: float | None = 0.0, align: bool | None = False) -> UILayout:
226126
+ def split(
226127
+ self, factor: float | None = 0.0, align: bool | None = False
226128
+ ) -> typing.Self:
226127
226129
  """split
226128
226130
 
226129
226131
  :param factor: Percentage, Percentage of width to split at (leave unset for automatic calculation)
@@ -226131,15 +226133,15 @@ class UILayout(bpy_struct):
226131
226133
  :param align: Align buttons to each other
226132
226134
  :type align: bool | None
226133
226135
  :return: Sub-layout to put items in
226134
- :rtype: UILayout
226136
+ :rtype: typing.Self
226135
226137
  """
226136
226138
  ...
226137
226139
 
226138
- def menu_pie(self) -> UILayout:
226140
+ def menu_pie(self) -> typing.Self:
226139
226141
  """Sublayout. Items placed in this sublayout are placed in a radial fashion around the menu center)
226140
226142
 
226141
226143
  :return: Sub-layout to put items in
226142
- :rtype: UILayout
226144
+ :rtype: typing.Self
226143
226145
  """
226144
226146
  ...
226145
226147
 
@@ -227666,12 +227668,12 @@ class UILayout(bpy_struct):
227666
227668
  ...
227667
227669
 
227668
227670
  def template_light_linking_collection(
227669
- self, context_layout: UILayout, data: typing.Any, property: str
227671
+ self, context_layout: typing.Self, data: typing.Any, property: str
227670
227672
  ):
227671
227673
  """Visualization of a content of a light linking collection
227672
227674
 
227673
227675
  :param context_layout: Layout to set active list element as context properties
227674
- :type context_layout: UILayout
227676
+ :type context_layout: typing.Self
227675
227677
  :param data: Data from which to take property
227676
227678
  :type data: typing.Any
227677
227679
  :param property: Identifier of property in data
@@ -233143,10 +233145,10 @@ class Window(bpy_struct):
233143
233145
  :type: bpy_prop_collection[Operator]
233144
233146
  """
233145
233147
 
233146
- parent: Window
233148
+ parent: typing.Self
233147
233149
  """ Active workspace and scene follow this window
233148
233150
 
233149
- :type: Window
233151
+ :type: typing.Self
233150
233152
  """
233151
233153
 
233152
233154
  scene: Scene