fake-bpy-module 20250128__py3-none-any.whl → 20250129__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
@@ -104026,11 +104026,11 @@ class bpy_prop_collection[_GenericType1]:
104026
104026
  class bpy_prop_collection_idprop[_GenericType1]:
104027
104027
  """built-in class used for user defined collections."""
104028
104028
 
104029
- def add(self) -> typing.Any:
104029
+ def add(self) -> _GenericType1:
104030
104030
  """This is a function to add a new item to a collection.
104031
104031
 
104032
104032
  :return: A newly created item.
104033
- :rtype: typing.Any
104033
+ :rtype: _GenericType1
104034
104034
  """
104035
104035
 
104036
104036
  def clear(self):
bpy/utils/__init__.pyi CHANGED
@@ -198,12 +198,13 @@ def register_class(
198
198
  | bpy.types.AssetShelf
199
199
  | bpy.types.FileHandler
200
200
  | bpy.types.PropertyGroup
201
+ | bpy.types.AddonPreferences
201
202
  ],
202
203
  ):
203
204
  """Register a subclass of a Blender type class.
204
205
 
205
206
  :param cls: Registerable Blender class type.
206
- :type cls: type[bpy.types.Panel | bpy.types.UIList | bpy.types.Menu | bpy.types.Header | bpy.types.Operator | bpy.types.KeyingSetInfo | bpy.types.RenderEngine | bpy.types.AssetShelf | bpy.types.FileHandler | bpy.types.PropertyGroup]
207
+ :type cls: type[bpy.types.Panel | bpy.types.UIList | bpy.types.Menu | bpy.types.Header | bpy.types.Operator | bpy.types.KeyingSetInfo | bpy.types.RenderEngine | bpy.types.AssetShelf | bpy.types.FileHandler | bpy.types.PropertyGroup | bpy.types.AddonPreferences]
207
208
  """
208
209
 
209
210
  def register_classes_factory(classes):
@@ -387,6 +388,7 @@ def unregister_class(
387
388
  | bpy.types.AssetShelf
388
389
  | bpy.types.FileHandler
389
390
  | bpy.types.PropertyGroup
391
+ | bpy.types.AddonPreferences
390
392
  ],
391
393
  ):
392
394
  """Unload the Python class from blender.
@@ -394,7 +396,7 @@ def unregister_class(
394
396
  :param cls: Blender type class,
395
397
  see `bpy.utils.register_class` for classes which can
396
398
  be registered.
397
- :type cls: type[bpy.types.Panel | bpy.types.UIList | bpy.types.Menu | bpy.types.Header | bpy.types.Operator | bpy.types.KeyingSetInfo | bpy.types.RenderEngine | bpy.types.AssetShelf | bpy.types.FileHandler | bpy.types.PropertyGroup]
399
+ :type cls: type[bpy.types.Panel | bpy.types.UIList | bpy.types.Menu | bpy.types.Header | bpy.types.Operator | bpy.types.KeyingSetInfo | bpy.types.RenderEngine | bpy.types.AssetShelf | bpy.types.FileHandler | bpy.types.PropertyGroup | bpy.types.AddonPreferences]
398
400
  """
399
401
 
400
402
  def unregister_cli_command(handle):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: fake-bpy-module
3
- Version: 20250128
3
+ Version: 20250129
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,8 +277,8 @@ 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=L5VWnKjwrYVQxFo1-MJVVYhSZsyFouCApwfeJLGzfMw,5422557
281
- bpy/utils/__init__.pyi,sha256=0xYpOGROz80lrcCe4nko-nEkU-lsKJV09rjES5JIu7I,14765
280
+ bpy/types/__init__.pyi,sha256=m9bV5h1b9vtvMEImXN8dF7NXTIdRNPuGPeCX9pgNmGE,5422563
281
+ bpy/utils/__init__.pyi,sha256=Dwq7WFMz4vZM6bcYjsWYj9mYm1SDnqESf0d0UPX4xPE,14897
282
282
  bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
283
283
  bpy/utils/units/__init__.pyi,sha256=QuXx22JjmObRmP_KcdoqOlDSvVtXZHeK5nTIvwjcUnI,2645
284
284
  bpy_extras/__init__.pyi,sha256=wejK55NeAEGsAzM9psNhBokX9H0DBihwOdNQ5XlCHB4,968
@@ -312,7 +312,7 @@ freestyle/functions/__init__.pyi,sha256=sEPnGHwZm8XBlfE7CKLros3CKJlAh1h1FI74nBTE
312
312
  freestyle/predicates/__init__.pyi,sha256=TI-9arpIRbq7ePsxHS-d-4iIj54uHMp-ZyGhPVODMPg,13461
313
313
  freestyle/shaders/__init__.pyi,sha256=4a-rY8mkkIcsnIvYGcP8YgAULdJENDJnncju2CjhQVg,24014
314
314
  freestyle/types/__init__.pyi,sha256=Dmb8LokYlO2lCfmDwPX5MwwpnHHSRaXU2t6Nu37Rzjg,100200
315
- freestyle/utils/__init__.pyi,sha256=lW5JWrilkFTvRmtYoS3hbmWfj2abo2hHsvp4eyGLbcQ,5108
315
+ freestyle/utils/__init__.pyi,sha256=DdX3Qj2yTIu8jXdOAnf_9yKhJ5AQFnS_zVvSAdTfBpU,5108
316
316
  freestyle/utils/ContextFunctions/__init__.pyi,sha256=fPDfiBEjpoqXQhBhmHJ6WxG9oLMItwQ32MxKQz_c9_I,3445
317
317
  gpu/__init__.pyi,sha256=Q-AbyJO85pPYcwXNWtvgAhFGGJ6OnnHrlsXQxur9jhs,7999
318
318
  gpu/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -326,7 +326,7 @@ gpu/texture/__init__.pyi,sha256=NWixhD9M2vFrAIWlQDM0Co-CNRiU7BbL7imkSOloHHI,641
326
326
  gpu/types/__init__.pyi,sha256=Q8Gym2MsHoDFLW7snVIfPMUGCQns-XA2URYfeOV3nnk,27923
327
327
  gpu_extras/__init__.pyi,sha256=oNgtMNheClZ_iCmKSH63hBJ4U0huayOWKil-qPvYHds,213
328
328
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
329
- gpu_extras/batch/__init__.pyi,sha256=t-kFLEyZ0OABqt8VbtSwvo60S7vw15Tq5HRea-G3odE,1278
329
+ gpu_extras/batch/__init__.pyi,sha256=nbeZNWRKChMLBkKYc4mLF9abAffVyzEHp01yf64gZK8,1279
330
330
  gpu_extras/presets/__init__.pyi,sha256=pDhGELr5vKTZ9yDsLJ4Y836Kmh7cs95rDhSwd1i5e-s,1647
331
331
  graphviz_export/__init__.pyi,sha256=LBiepSfMSL7Qix8FZ6LYKmbPgu1AHRvRw3yHDDWYrEw,215
332
332
  graphviz_export/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -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-20250128.dist-info/METADATA,sha256=xLeZjc0b4CJJQ7QDh3l6rVqif6UD-zuewrdUgk6bytI,7289
363
- fake_bpy_module-20250128.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
364
- fake_bpy_module-20250128.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
365
- fake_bpy_module-20250128.dist-info/RECORD,,
362
+ fake_bpy_module-20250129.dist-info/METADATA,sha256=f1gQy4CoefXrGgPg2Q918Hqkj5ndoeCrcjFAnvrWNBY,7289
363
+ fake_bpy_module-20250129.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
364
+ fake_bpy_module-20250129.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
365
+ fake_bpy_module-20250129.dist-info/RECORD,,
@@ -124,7 +124,7 @@ def material_from_fedge(fe):
124
124
  """get the diffuse RGBA color from an FEdge"""
125
125
 
126
126
  def normal_at_I0D(it): ...
127
- def pairwise(iterable, types={Stroke, StrokeVertexIterator}):
127
+ def pairwise(iterable, types={StrokeVertexIterator, Stroke}):
128
128
  """Yields a tuple containing the previous and current object"""
129
129
 
130
130
  def rgb_to_bw(r, g, b):
@@ -1,7 +1,6 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
- import bgl
5
4
  import gpu.types
6
5
 
7
6
  def batch_for_shader(
@@ -9,7 +8,7 @@ def batch_for_shader(
9
8
  type: str,
10
9
  content: dict[
11
10
  str,
12
- bgl.Buffer
11
+ gpu.types.Buffer
13
12
  | collections.abc.Sequence[float]
14
13
  | collections.abc.Sequence[int]
15
14
  | collections.abc.Sequence[collections.abc.Sequence[float]]
@@ -26,7 +25,7 @@ def batch_for_shader(
26
25
  :type type: str
27
26
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
28
27
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
29
- :type content: dict[str, bgl.Buffer | collections.abc.Sequence[float] | collections.abc.Sequence[int] | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[collections.abc.Sequence[int]]]
28
+ :type content: dict[str, gpu.types.Buffer | collections.abc.Sequence[float] | collections.abc.Sequence[int] | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[collections.abc.Sequence[int]]]
30
29
  :return: compatible batch
31
30
  :rtype: gpu.types.GPUBatch
32
31
  """