fake-bpy-module 20250126__py3-none-any.whl → 20250127__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
@@ -103985,13 +103985,121 @@ class bpy_prop_collection[_GenericType1]:
103985
103985
  :rtype: list[_GenericType1, ...]
103986
103986
  """
103987
103987
 
103988
- def __setitem__(self, key: int | str, value: GenericType1 | None):
103988
+ def __setitem__(self, key: int | str, value: _GenericType1 | None):
103989
103989
  """
103990
103990
 
103991
103991
  :param key:
103992
103992
  :type key: int | str
103993
103993
  :param value:
103994
- :type value: GenericType1 | None
103994
+ :type value: _GenericType1 | None
103995
+ """
103996
+
103997
+ @typing.overload
103998
+ def __setitem__(self, key: int, value: _GenericType1 | None):
103999
+ """
104000
+
104001
+ :param key:
104002
+ :type key: int
104003
+ :param value:
104004
+ :type value: _GenericType1 | None
104005
+ """
104006
+
104007
+ @typing.overload
104008
+ def __setitem__(self, key: str, value: _GenericType1):
104009
+ """
104010
+
104011
+ :param key:
104012
+ :type key: str
104013
+ :param value:
104014
+ :type value: _GenericType1
104015
+ """
104016
+
104017
+ def __iter__(self) -> collections.abc.Iterator[_GenericType1]:
104018
+ """
104019
+
104020
+ :return:
104021
+ :rtype: collections.abc.Iterator[_GenericType1]
104022
+ """
104023
+
104024
+ def __next__(self) -> _GenericType1:
104025
+ """
104026
+
104027
+ :return:
104028
+ :rtype: _GenericType1
104029
+ """
104030
+
104031
+ def __len__(self) -> int:
104032
+ """
104033
+
104034
+ :return:
104035
+ :rtype: int
104036
+ """
104037
+
104038
+ def __contains__(self, key: str | tuple[str, ...] | _GenericType1) -> bool:
104039
+ """
104040
+
104041
+ :param key:
104042
+ :type key: str | tuple[str, ...] | _GenericType1
104043
+ :return:
104044
+ :rtype: bool
104045
+ """
104046
+
104047
+ class bpy_prop_collection_idprop[_GenericType1]:
104048
+ """built-in class used for user defined collections."""
104049
+
104050
+ def add(self) -> typing.Any:
104051
+ """This is a function to add a new item to a collection.
104052
+
104053
+ :return: A newly created item.
104054
+ :rtype: typing.Any
104055
+ """
104056
+
104057
+ def clear(self):
104058
+ """This is a function to remove all items from a collection."""
104059
+
104060
+ def move(self, src_index: int | None, dst_index: int | None):
104061
+ """This is a function to move an item in a collection.
104062
+
104063
+ :param src_index: Source item index.
104064
+ :type src_index: int | None
104065
+ :param dst_index: Destination item index.
104066
+ :type dst_index: int | None
104067
+ """
104068
+
104069
+ def remove(self, index: int | None):
104070
+ """This is a function to remove an item from a collection.
104071
+
104072
+ :param index: Index of the item to be removed.
104073
+ :type index: int | None
104074
+ """
104075
+
104076
+ @typing.overload
104077
+ def __getitem__(self, key: int | str) -> _GenericType1:
104078
+ """
104079
+
104080
+ :param key:
104081
+ :type key: int | str
104082
+ :return:
104083
+ :rtype: _GenericType1
104084
+ """
104085
+
104086
+ @typing.overload
104087
+ def __getitem__(self, key: slice) -> list[_GenericType1, ...]:
104088
+ """
104089
+
104090
+ :param key:
104091
+ :type key: slice
104092
+ :return:
104093
+ :rtype: list[_GenericType1, ...]
104094
+ """
104095
+
104096
+ def __setitem__(self, key: int | str, value: _GenericType1 | None):
104097
+ """
104098
+
104099
+ :param key:
104100
+ :type key: int | str
104101
+ :param value:
104102
+ :type value: _GenericType1 | None
103995
104103
  """
103996
104104
 
103997
104105
  @typing.overload
@@ -104044,6 +104152,19 @@ class bpy_prop_collection[_GenericType1]:
104044
104152
  :rtype: bool
104045
104153
  """
104046
104154
 
104155
+ def get[_GenericType2](
104156
+ self, key: str, default: _GenericType2 = None
104157
+ ) -> _GenericType1 | _GenericType2:
104158
+ """
104159
+
104160
+ :param key:
104161
+ :type key: str
104162
+ :param default:
104163
+ :type default: _GenericType2
104164
+ :return:
104165
+ :rtype: _GenericType1 | _GenericType2
104166
+ """
104167
+
104047
104168
  class bpy_prop_array[_GenericType1]:
104048
104169
  def __get__(self, instance, owner) -> bpy_prop_array[_GenericType1]:
104049
104170
  """
@@ -114073,35 +114194,6 @@ class XrUserPaths(bpy_prop_collection[XrUserPath], bpy_struct):
114073
114194
  :rtype: typing.Any
114074
114195
  """
114075
114196
 
114076
- class bpy_prop_collection_idprop:
114077
- """built-in class used for user defined collections."""
114078
-
114079
- def add(self) -> typing.Any:
114080
- """This is a function to add a new item to a collection.
114081
-
114082
- :return: A newly created item.
114083
- :rtype: typing.Any
114084
- """
114085
-
114086
- def clear(self):
114087
- """This is a function to remove all items from a collection."""
114088
-
114089
- def move(self, src_index: int | None, dst_index: int | None):
114090
- """This is a function to move an item in a collection.
114091
-
114092
- :param src_index: Source item index.
114093
- :type src_index: int | None
114094
- :param dst_index: Destination item index.
114095
- :type dst_index: int | None
114096
- """
114097
-
114098
- def remove(self, index: int | None):
114099
- """This is a function to remove an item from a collection.
114100
-
114101
- :param index: Index of the item to be removed.
114102
- :type index: int | None
114103
- """
114104
-
114105
114197
  class wmOwnerIDs(bpy_prop_collection[wmOwnerID], bpy_struct):
114106
114198
  def new(self, name: str) -> wmOwnerID:
114107
114199
  """Add ui tag
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: fake-bpy-module
3
- Version: 20250126
3
+ Version: 20250127
4
4
  Summary: Collection of the fake Blender Python API module for the code completion.
5
5
  Author: nutti
6
6
  Author-email: nutti.metro@gmail.com
@@ -277,7 +277,7 @@ bpy/ops/workspace/__init__.pyi,sha256=BHvDV5CcVBnuKaL8akhm-Es7VcGUjf3jGFTbfx5YHC
277
277
  bpy/ops/world/__init__.pyi,sha256=pBV8EDA8HoWovDSul6mxkF7Mt6N3PQWuukRhkw3dBr8,601
278
278
  bpy/path/__init__.pyi,sha256=emlV7ocbsOuOSMzxJXr6ldKRk2-_K0DWlKc3Ylt5dsU,5484
279
279
  bpy/props/__init__.pyi,sha256=ZldUQ1MIMYkmYB0PpIP7HwwzMGpVB4rM3KeZOqV54sU,35236
280
- bpy/types/__init__.pyi,sha256=aSLcyOS43hE8IN8YndXRS1aoD8duKSEnCZ-QGT6Q8K4,5421071
280
+ bpy/types/__init__.pyi,sha256=a2Zs_s_StUlnkRzV_UiqeXLeaK7uI_G44EqB6FEFHHM,5423054
281
281
  bpy/utils/__init__.pyi,sha256=0xYpOGROz80lrcCe4nko-nEkU-lsKJV09rjES5JIu7I,14765
282
282
  bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
283
283
  bpy/utils/units/__init__.pyi,sha256=QuXx22JjmObRmP_KcdoqOlDSvVtXZHeK5nTIvwjcUnI,2645
@@ -359,7 +359,7 @@ rna_prop_ui/__init__.pyi,sha256=lShhkbbeJ_ANi2dy4J4HIkyp1HZrMqCfhcf8QpAQsj0,1281
359
359
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
360
360
  rna_xml/__init__.pyi,sha256=idYsAZj-_egBKMA2pQl2P9IoNhZxXIkBSALFuq-ylO8,577
361
361
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
362
- fake_bpy_module-20250126.dist-info/METADATA,sha256=VRMx90ecFXzwdaigKSNERoa7M66HbHmy7XdqknabyB4,7289
363
- fake_bpy_module-20250126.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
364
- fake_bpy_module-20250126.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
365
- fake_bpy_module-20250126.dist-info/RECORD,,
362
+ fake_bpy_module-20250127.dist-info/METADATA,sha256=o6BNbCZ1othHDLi2hMZMkHPlSdCYFJvE9OJSNnyP1dY,7289
363
+ fake_bpy_module-20250127.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
364
+ fake_bpy_module-20250127.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
365
+ fake_bpy_module-20250127.dist-info/RECORD,,