fake-bpy-module 20240706__py3-none-any.whl → 20240708__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 (63) hide show
  1. bl_operators/assets/__init__.pyi +8 -8
  2. bl_operators/image_as_planes/__init__.pyi +43 -43
  3. bl_operators/node/__init__.pyi +234 -234
  4. bl_operators/object_quick_effects/__init__.pyi +21 -21
  5. bl_operators/presets/__init__.pyi +388 -388
  6. bl_ui/properties_collection/__init__.pyi +12 -12
  7. bl_ui/properties_constraint/__init__.pyi +954 -954
  8. bl_ui/properties_data_armature/__init__.pyi +85 -85
  9. bl_ui/properties_data_bone/__init__.pyi +12 -12
  10. bl_ui/properties_data_curve/__init__.pyi +92 -92
  11. bl_ui/properties_data_curves/__init__.pyi +12 -12
  12. bl_ui/properties_data_empty/__init__.pyi +12 -12
  13. bl_ui/properties_data_gpencil/__init__.pyi +265 -265
  14. bl_ui/properties_data_grease_pencil/__init__.pyi +312 -312
  15. bl_ui/properties_data_lattice/__init__.pyi +12 -12
  16. bl_ui/properties_data_light/__init__.pyi +12 -12
  17. bl_ui/properties_data_lightprobe/__init__.pyi +12 -12
  18. bl_ui/properties_data_mesh/__init__.pyi +527 -527
  19. bl_ui/properties_data_metaball/__init__.pyi +12 -12
  20. bl_ui/properties_data_modifier/__init__.pyi +19 -19
  21. bl_ui/properties_data_pointcloud/__init__.pyi +140 -140
  22. bl_ui/properties_data_shaderfx/__init__.pyi +5 -5
  23. bl_ui/properties_data_speaker/__init__.pyi +12 -12
  24. bl_ui/properties_data_volume/__init__.pyi +65 -65
  25. bl_ui/properties_freestyle/__init__.pyi +248 -248
  26. bl_ui/properties_material/__init__.pyi +145 -145
  27. bl_ui/properties_material_gpencil/__init__.pyi +86 -86
  28. bl_ui/properties_object/__init__.pyi +75 -75
  29. bl_ui/properties_output/__init__.pyi +201 -201
  30. bl_ui/properties_particle/__init__.pyi +220 -220
  31. bl_ui/properties_physics_cloth/__init__.pyi +12 -12
  32. bl_ui/properties_physics_common/__init__.pyi +12 -12
  33. bl_ui/properties_physics_dynamicpaint/__init__.pyi +187 -187
  34. bl_ui/properties_physics_field/__init__.pyi +19 -19
  35. bl_ui/properties_physics_fluid/__init__.pyi +61 -61
  36. bl_ui/properties_physics_rigidbody/__init__.pyi +5 -5
  37. bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +5 -5
  38. bl_ui/properties_physics_softbody/__init__.pyi +12 -12
  39. bl_ui/properties_render/__init__.pyi +217 -217
  40. bl_ui/properties_scene/__init__.pyi +143 -143
  41. bl_ui/properties_texture/__init__.pyi +156 -156
  42. bl_ui/properties_view_layer/__init__.pyi +78 -78
  43. bl_ui/properties_workspace/__init__.pyi +64 -64
  44. bl_ui/properties_world/__init__.pyi +12 -12
  45. bl_ui/space_clip/__init__.pyi +366 -366
  46. bl_ui/space_dopesheet/__init__.pyi +176 -176
  47. bl_ui/space_filebrowser/__init__.pyi +735 -735
  48. bl_ui/space_image/__init__.pyi +646 -646
  49. bl_ui/space_sequencer/__init__.pyi +841 -389
  50. bl_ui/space_time/__init__.pyi +11 -11
  51. bl_ui/space_userpref/__init__.pyi +684 -684
  52. bl_ui/space_view3d/__init__.pyi +1152 -1152
  53. bl_ui/space_view3d_toolbar/__init__.pyi +2831 -2831
  54. bmesh/types/__init__.pyi +48 -0
  55. bpy/types/__init__.pyi +70624 -70606
  56. {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240708.dist-info}/METADATA +4 -4
  57. {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240708.dist-info}/RECORD +63 -63
  58. freestyle/utils/__init__.pyi +1 -1
  59. keyingsets_builtins/__init__.pyi +87 -87
  60. mathutils/__init__.pyi +156 -50
  61. nodeitems_builtins/__init__.pyi +7 -7
  62. {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240708.dist-info}/WHEEL +0 -0
  63. {fake_bpy_module-20240706.dist-info → fake_bpy_module-20240708.dist-info}/top_level.txt +0 -0
mathutils/__init__.pyi CHANGED
@@ -330,6 +330,7 @@ class Color:
330
330
  """
331
331
  ...
332
332
 
333
+ @typing.overload
333
334
  def __getitem__(self, key: int) -> float:
334
335
  """
335
336
 
@@ -340,6 +341,39 @@ class Color:
340
341
  """
341
342
  ...
342
343
 
344
+ @typing.overload
345
+ def __getitem__(self, key: slice) -> tuple[float, ...]:
346
+ """
347
+
348
+ :param key:
349
+ :type key: slice
350
+ :return:
351
+ :rtype: tuple[float, ...]
352
+ """
353
+ ...
354
+
355
+ @typing.overload
356
+ def __setitem__(self, key: int, value: float):
357
+ """
358
+
359
+ :param key:
360
+ :type key: int
361
+ :param value:
362
+ :type value: float
363
+ """
364
+ ...
365
+
366
+ @typing.overload
367
+ def __setitem__(self, key: slice, value: collections.abc.Iterable[float]):
368
+ """
369
+
370
+ :param key:
371
+ :type key: slice
372
+ :param value:
373
+ :type value: collections.abc.Iterable[float]
374
+ """
375
+ ...
376
+
343
377
  class Euler:
344
378
  """This object gives access to Eulers in Blender.`Euler angles <https://en.wikipedia.org/wiki/Euler_angles>`__ on Wikipedia."""
345
379
 
@@ -482,6 +516,7 @@ class Euler:
482
516
  """
483
517
  ...
484
518
 
519
+ @typing.overload
485
520
  def __getitem__(self, key: int) -> float:
486
521
  """
487
522
 
@@ -492,6 +527,39 @@ class Euler:
492
527
  """
493
528
  ...
494
529
 
530
+ @typing.overload
531
+ def __getitem__(self, key: slice) -> tuple[float, ...]:
532
+ """
533
+
534
+ :param key:
535
+ :type key: slice
536
+ :return:
537
+ :rtype: tuple[float, ...]
538
+ """
539
+ ...
540
+
541
+ @typing.overload
542
+ def __setitem__(self, key: int, value: float):
543
+ """
544
+
545
+ :param key:
546
+ :type key: int
547
+ :param value:
548
+ :type value: float
549
+ """
550
+ ...
551
+
552
+ @typing.overload
553
+ def __setitem__(self, key: slice, value: collections.abc.Iterable[float]):
554
+ """
555
+
556
+ :param key:
557
+ :type key: slice
558
+ :param value:
559
+ :type value: collections.abc.Iterable[float]
560
+ """
561
+ ...
562
+
495
563
  class Matrix:
496
564
  """This object gives access to Matrices in Blender, supporting square and rectangular
497
565
  matrices from 2x2 up to 4x4.
@@ -948,6 +1016,7 @@ class Matrix:
948
1016
  """
949
1017
  ...
950
1018
 
1019
+ @typing.overload
951
1020
  def __getitem__(self, key: int) -> Vector:
952
1021
  """
953
1022
 
@@ -958,6 +1027,43 @@ class Matrix:
958
1027
  """
959
1028
  ...
960
1029
 
1030
+ @typing.overload
1031
+ def __getitem__(self, key: slice) -> tuple[Vector, ...]:
1032
+ """
1033
+
1034
+ :param key:
1035
+ :type key: slice
1036
+ :return:
1037
+ :rtype: tuple[Vector, ...]
1038
+ """
1039
+ ...
1040
+
1041
+ @typing.overload
1042
+ def __setitem__(self, key: int, value: Vector | collections.abc.Iterable[float]):
1043
+ """
1044
+
1045
+ :param key:
1046
+ :type key: int
1047
+ :param value:
1048
+ :type value: Vector | collections.abc.Iterable[float]
1049
+ """
1050
+ ...
1051
+
1052
+ @typing.overload
1053
+ def __setitem__(
1054
+ self,
1055
+ key: slice,
1056
+ value: collections.abc.Iterable[Vector | collections.abc.Iterable[float]],
1057
+ ):
1058
+ """
1059
+
1060
+ :param key:
1061
+ :type key: slice
1062
+ :param value:
1063
+ :type value: collections.abc.Iterable[Vector | collections.abc.Iterable[float]]
1064
+ """
1065
+ ...
1066
+
961
1067
  def __len__(self) -> int:
962
1068
  """
963
1069
 
@@ -1024,22 +1130,6 @@ class Matrix:
1024
1130
  """
1025
1131
  ...
1026
1132
 
1027
- def __matmul__(
1028
- self,
1029
- other: Matrix
1030
- | Vector
1031
- | collections.abc.Sequence[collections.abc.Sequence[float]]
1032
- | collections.abc.Sequence[float],
1033
- ) -> Matrix | Vector:
1034
- """
1035
-
1036
- :param other:
1037
- :type other: Matrix | Vector | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[float]
1038
- :return:
1039
- :rtype: Matrix | Vector
1040
- """
1041
- ...
1042
-
1043
1133
  def __radd__(
1044
1134
  self, other: Matrix | collections.abc.Sequence[collections.abc.Sequence[float]]
1045
1135
  ) -> Matrix:
@@ -1366,6 +1456,7 @@ class Quaternion:
1366
1456
  """
1367
1457
  ...
1368
1458
 
1459
+ @typing.overload
1369
1460
  def __getitem__(self, key: int) -> float:
1370
1461
  """
1371
1462
 
@@ -1376,15 +1467,36 @@ class Quaternion:
1376
1467
  """
1377
1468
  ...
1378
1469
 
1379
- def __setitem__(self, key: int, value: float) -> float:
1470
+ @typing.overload
1471
+ def __getitem__(self, key: slice) -> tuple[float, ...]:
1472
+ """
1473
+
1474
+ :param key:
1475
+ :type key: slice
1476
+ :return:
1477
+ :rtype: tuple[float, ...]
1478
+ """
1479
+ ...
1480
+
1481
+ @typing.overload
1482
+ def __setitem__(self, key: int, value: float):
1380
1483
  """
1381
1484
 
1382
1485
  :param key:
1383
1486
  :type key: int
1384
1487
  :param value:
1385
1488
  :type value: float
1386
- :return:
1387
- :rtype: float
1489
+ """
1490
+ ...
1491
+
1492
+ @typing.overload
1493
+ def __setitem__(self, key: slice, value: collections.abc.Iterable[float]):
1494
+ """
1495
+
1496
+ :param key:
1497
+ :type key: slice
1498
+ :param value:
1499
+ :type value: collections.abc.Iterable[float]
1388
1500
  """
1389
1501
  ...
1390
1502
 
@@ -1448,18 +1560,6 @@ class Quaternion:
1448
1560
  """
1449
1561
  ...
1450
1562
 
1451
- def __matmul__(
1452
- self, other: Quaternion | Vector | collections.abc.Sequence[float]
1453
- ) -> Quaternion | Vector:
1454
- """
1455
-
1456
- :param other:
1457
- :type other: Quaternion | Vector | collections.abc.Sequence[float]
1458
- :return:
1459
- :rtype: Quaternion | Vector
1460
- """
1461
- ...
1462
-
1463
1563
  def __radd__(
1464
1564
  self, other: Quaternion | collections.abc.Sequence[float]
1465
1565
  ) -> Quaternion:
@@ -2916,6 +3016,7 @@ class Vector:
2916
3016
  """
2917
3017
  ...
2918
3018
 
3019
+ @typing.overload
2919
3020
  def __getitem__(self, key: int) -> float:
2920
3021
  """
2921
3022
 
@@ -2926,15 +3027,36 @@ class Vector:
2926
3027
  """
2927
3028
  ...
2928
3029
 
2929
- def __setitem__(self, key: int, value: float) -> float:
3030
+ @typing.overload
3031
+ def __getitem__(self, key: slice) -> tuple[float, ...]:
3032
+ """
3033
+
3034
+ :param key:
3035
+ :type key: slice
3036
+ :return:
3037
+ :rtype: tuple[float, ...]
3038
+ """
3039
+ ...
3040
+
3041
+ @typing.overload
3042
+ def __setitem__(self, key: int, value: float):
2930
3043
  """
2931
3044
 
2932
3045
  :param key:
2933
3046
  :type key: int
2934
3047
  :param value:
2935
3048
  :type value: float
2936
- :return:
2937
- :rtype: float
3049
+ """
3050
+ ...
3051
+
3052
+ @typing.overload
3053
+ def __setitem__(self, key: slice, value: collections.abc.Iterable[float]):
3054
+ """
3055
+
3056
+ :param key:
3057
+ :type key: slice
3058
+ :param value:
3059
+ :type value: collections.abc.Iterable[float]
2938
3060
  """
2939
3061
  ...
2940
3062
 
@@ -3010,22 +3132,6 @@ class Vector:
3010
3132
  """
3011
3133
  ...
3012
3134
 
3013
- def __matmul__(
3014
- self,
3015
- other: Matrix
3016
- | Vector
3017
- | collections.abc.Sequence[collections.abc.Sequence[float]]
3018
- | collections.abc.Sequence[float],
3019
- ) -> Vector | float:
3020
- """
3021
-
3022
- :param other:
3023
- :type other: Matrix | Vector | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[float]
3024
- :return:
3025
- :rtype: Vector | float
3026
- """
3027
- ...
3028
-
3029
3135
  def __radd__(self, other: Vector | collections.abc.Sequence[float]) -> Vector:
3030
3136
  """
3031
3137
 
@@ -6,15 +6,15 @@ import nodeitems_utils
6
6
  GenericType1 = typing.TypeVar("GenericType1")
7
7
  GenericType2 = typing.TypeVar("GenericType2")
8
8
 
9
- class SortedNodeCategory(nodeitems_utils.NodeCategory):
10
- def poll(self, _context):
9
+ class CompositorNodeCategory(SortedNodeCategory, nodeitems_utils.NodeCategory):
10
+ def poll(self, context):
11
11
  """
12
12
 
13
- :param _context:
13
+ :param context:
14
14
  """
15
15
  ...
16
16
 
17
- class CompositorNodeCategory(SortedNodeCategory, nodeitems_utils.NodeCategory):
17
+ class ShaderNodeCategory(SortedNodeCategory, nodeitems_utils.NodeCategory):
18
18
  def poll(self, context):
19
19
  """
20
20
 
@@ -22,11 +22,11 @@ class CompositorNodeCategory(SortedNodeCategory, nodeitems_utils.NodeCategory):
22
22
  """
23
23
  ...
24
24
 
25
- class ShaderNodeCategory(SortedNodeCategory, nodeitems_utils.NodeCategory):
26
- def poll(self, context):
25
+ class SortedNodeCategory(nodeitems_utils.NodeCategory):
26
+ def poll(self, _context):
27
27
  """
28
28
 
29
- :param context:
29
+ :param _context:
30
30
  """
31
31
  ...
32
32