fake-bpy-module 20240802__py3-none-any.whl → 20240804__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 (73) hide show
  1. aud/__init__.pyi +77 -77
  2. bmesh/ops/__init__.pyi +54 -36
  3. bmesh/types/__init__.pyi +24 -24
  4. bpy/ops/action/__init__.pyi +55 -32
  5. bpy/ops/anim/__init__.pyi +22 -22
  6. bpy/ops/armature/__init__.pyi +47 -20
  7. bpy/ops/asset/__init__.pyi +5 -2
  8. bpy/ops/boid/__init__.pyi +12 -2
  9. bpy/ops/brush/__init__.pyi +18 -12
  10. bpy/ops/buttons/__init__.pyi +10 -4
  11. bpy/ops/cachefile/__init__.pyi +12 -6
  12. bpy/ops/clip/__init__.pyi +54 -38
  13. bpy/ops/console/__init__.pyi +17 -6
  14. bpy/ops/constraint/__init__.pyi +28 -28
  15. bpy/ops/curve/__init__.pyi +72 -34
  16. bpy/ops/curves/__init__.pyi +16 -16
  17. bpy/ops/dpaint/__init__.pyi +4 -4
  18. bpy/ops/ed/__init__.pyi +5 -2
  19. bpy/ops/export_anim/__init__.pyi +3 -2
  20. bpy/ops/export_scene/__init__.pyi +55 -45
  21. bpy/ops/file/__init__.pyi +40 -16
  22. bpy/ops/font/__init__.pyi +59 -16
  23. bpy/ops/geometry/__init__.pyi +55 -20
  24. bpy/ops/gpencil/__init__.pyi +155 -122
  25. bpy/ops/graph/__init__.pyi +131 -52
  26. bpy/ops/grease_pencil/__init__.pyi +96 -58
  27. bpy/ops/image/__init__.pyi +77 -54
  28. bpy/ops/import_anim/__init__.pyi +11 -8
  29. bpy/ops/import_scene/__init__.pyi +20 -18
  30. bpy/ops/info/__init__.pyi +4 -4
  31. bpy/ops/lattice/__init__.pyi +8 -8
  32. bpy/ops/marker/__init__.pyi +6 -6
  33. bpy/ops/mask/__init__.pyi +13 -12
  34. bpy/ops/mball/__init__.pyi +6 -6
  35. bpy/ops/mesh/__init__.pyi +290 -150
  36. bpy/ops/nla/__init__.pyi +28 -20
  37. bpy/ops/node/__init__.pyi +43 -32
  38. bpy/ops/object/__init__.pyi +651 -210
  39. bpy/ops/outliner/__init__.pyi +113 -32
  40. bpy/ops/paint/__init__.pyi +65 -56
  41. bpy/ops/palette/__init__.pyi +4 -4
  42. bpy/ops/particle/__init__.pyi +14 -14
  43. bpy/ops/pose/__init__.pyi +121 -44
  44. bpy/ops/preferences/__init__.pyi +9 -6
  45. bpy/ops/render/__init__.pyi +3 -2
  46. bpy/ops/rigidbody/__init__.pyi +45 -14
  47. bpy/ops/scene/__init__.pyi +69 -22
  48. bpy/ops/screen/__init__.pyi +78 -16
  49. bpy/ops/sculpt/__init__.pyi +131 -74
  50. bpy/ops/sculpt_curves/__init__.pyi +2 -2
  51. bpy/ops/sequencer/__init__.pyi +156 -60
  52. bpy/ops/sound/__init__.pyi +40 -16
  53. bpy/ops/surface/__init__.pyi +12 -12
  54. bpy/ops/text/__init__.pyi +65 -20
  55. bpy/ops/texture/__init__.pyi +2 -2
  56. bpy/ops/transform/__init__.pyi +344 -72
  57. bpy/ops/ui/__init__.pyi +9 -6
  58. bpy/ops/uilist/__init__.pyi +2 -2
  59. bpy/ops/uv/__init__.pyi +90 -66
  60. bpy/ops/view3d/__init__.pyi +36 -30
  61. bpy/ops/wm/__init__.pyi +443 -156
  62. bpy/types/__init__.pyi +56103 -30890
  63. {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/METADATA +1 -1
  64. {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/RECORD +73 -73
  65. freestyle/chainingiterators/__init__.pyi +4 -4
  66. freestyle/types/__init__.pyi +76 -63
  67. freestyle/utils/__init__.pyi +1 -1
  68. idprop/types/__init__.pyi +2 -2
  69. imbuf/types/__init__.pyi +2 -2
  70. mathutils/__init__.pyi +1004 -970
  71. mathutils/bvhtree/__init__.pyi +2 -2
  72. {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/WHEEL +0 -0
  73. {fake_bpy_module-20240802.dist-info → fake_bpy_module-20240804.dist-info}/top_level.txt +0 -0
@@ -29,7 +29,10 @@ def animdata_operation(
29
29
  execution_context: int | str | None = None,
30
30
  undo: bool | None = None,
31
31
  *,
32
- type: str | None = "CLEAR_ANIMDATA",
32
+ type: typing.Literal[
33
+ "CLEAR_ANIMDATA", "SET_ACT", "CLEAR_ACT", "REFRESH_DRIVERS", "CLEAR_DRIVERS"
34
+ ]
35
+ | None = "CLEAR_ANIMDATA",
33
36
  ):
34
37
  """Undocumented, consider contributing.
35
38
 
@@ -52,7 +55,7 @@ def animdata_operation(
52
55
 
53
56
  CLEAR_DRIVERS
54
57
  Clear Drivers.
55
- :type type: str | None
58
+ :type type: typing.Literal['CLEAR_ANIMDATA','SET_ACT','CLEAR_ACT','REFRESH_DRIVERS','CLEAR_DRIVERS'] | None
56
59
  """
57
60
 
58
61
  ...
@@ -76,7 +79,18 @@ def collection_color_tag_set(
76
79
  execution_context: int | str | None = None,
77
80
  undo: bool | None = None,
78
81
  *,
79
- color: str | None = "NONE",
82
+ color: typing.Literal[
83
+ "NONE",
84
+ "COLOR_01",
85
+ "COLOR_02",
86
+ "COLOR_03",
87
+ "COLOR_04",
88
+ "COLOR_05",
89
+ "COLOR_06",
90
+ "COLOR_07",
91
+ "COLOR_08",
92
+ ]
93
+ | None = "NONE",
80
94
  ):
81
95
  """Set a color tag for the selected collections
82
96
 
@@ -84,7 +98,7 @@ def collection_color_tag_set(
84
98
  :type execution_context: int | str | None
85
99
  :type undo: bool | None
86
100
  :param color: Color Tag
87
- :type color: str | None
101
+ :type color: typing.Literal['NONE', 'COLOR_01', 'COLOR_02', 'COLOR_03', 'COLOR_04', 'COLOR_05', 'COLOR_06', 'COLOR_07', 'COLOR_08'] | None
88
102
  """
89
103
 
90
104
  ...
@@ -438,7 +452,7 @@ def constraint_operation(
438
452
  execution_context: int | str | None = None,
439
453
  undo: bool | None = None,
440
454
  *,
441
- type: str | None = "ENABLE",
455
+ type: typing.Literal["ENABLE", "DISABLE", "DELETE"] | None = "ENABLE",
442
456
  ):
443
457
  """Undocumented, consider contributing.
444
458
 
@@ -446,7 +460,7 @@ def constraint_operation(
446
460
  :type execution_context: int | str | None
447
461
  :type undo: bool | None
448
462
  :param type: Constraint Operation
449
- :type type: str | None
463
+ :type type: typing.Literal['ENABLE','DISABLE','DELETE'] | None
450
464
  """
451
465
 
452
466
  ...
@@ -604,7 +618,20 @@ def id_operation(
604
618
  execution_context: int | str | None = None,
605
619
  undo: bool | None = None,
606
620
  *,
607
- type: str | None = "UNLINK",
621
+ type: typing.Literal[
622
+ "UNLINK",
623
+ "LOCAL",
624
+ "SINGLE",
625
+ "DELETE",
626
+ "REMAP",
627
+ "COPY",
628
+ "PASTE",
629
+ "ADD_FAKE",
630
+ "CLEAR_FAKE",
631
+ "RENAME",
632
+ "SELECT_LINKED",
633
+ ]
634
+ | None = "UNLINK",
608
635
  ):
609
636
  """General data-block management operations
610
637
 
@@ -645,7 +672,7 @@ def id_operation(
645
672
 
646
673
  SELECT_LINKED
647
674
  Select Linked.
648
- :type type: str | None
675
+ :type type: typing.Literal['UNLINK','LOCAL','SINGLE','DELETE','REMAP','COPY','PASTE','ADD_FAKE','CLEAR_FAKE','RENAME','SELECT_LINKED'] | None
649
676
  """
650
677
 
651
678
  ...
@@ -669,7 +696,48 @@ def id_remap(
669
696
  execution_context: int | str | None = None,
670
697
  undo: bool | None = None,
671
698
  *,
672
- id_type: str | None = "OBJECT",
699
+ id_type: typing.Literal[
700
+ "ACTION",
701
+ "ARMATURE",
702
+ "BRUSH",
703
+ "CACHEFILE",
704
+ "CAMERA",
705
+ "COLLECTION",
706
+ "CURVE",
707
+ "CURVES",
708
+ "FONT",
709
+ "GREASEPENCIL",
710
+ "GREASEPENCIL_V3",
711
+ "IMAGE",
712
+ "KEY",
713
+ "LATTICE",
714
+ "LIBRARY",
715
+ "LIGHT",
716
+ "LIGHT_PROBE",
717
+ "LINESTYLE",
718
+ "MASK",
719
+ "MATERIAL",
720
+ "MESH",
721
+ "META",
722
+ "MOVIECLIP",
723
+ "NODETREE",
724
+ "OBJECT",
725
+ "PAINTCURVE",
726
+ "PALETTE",
727
+ "PARTICLE",
728
+ "POINTCLOUD",
729
+ "SCENE",
730
+ "SCREEN",
731
+ "SOUND",
732
+ "SPEAKER",
733
+ "TEXT",
734
+ "TEXTURE",
735
+ "VOLUME",
736
+ "WINDOWMANAGER",
737
+ "WORKSPACE",
738
+ "WORLD",
739
+ ]
740
+ | None = "OBJECT",
673
741
  old_id: str | None = "",
674
742
  new_id: str | None = "",
675
743
  ):
@@ -679,7 +747,7 @@ def id_remap(
679
747
  :type execution_context: int | str | None
680
748
  :type undo: bool | None
681
749
  :param id_type: ID Type
682
- :type id_type: str | None
750
+ :type id_type: typing.Literal['ACTION', 'ARMATURE', 'BRUSH', 'CACHEFILE', 'CAMERA', 'COLLECTION', 'CURVE', 'CURVES', 'FONT', 'GREASEPENCIL', 'GREASEPENCIL_V3', 'IMAGE', 'KEY', 'LATTICE', 'LIBRARY', 'LIGHT', 'LIGHT_PROBE', 'LINESTYLE', 'MASK', 'MATERIAL', 'MESH', 'META', 'MOVIECLIP', 'NODETREE', 'OBJECT', 'PAINTCURVE', 'PALETTE', 'PARTICLE', 'POINTCLOUD', 'SCENE', 'SCREEN', 'SOUND', 'SPEAKER', 'TEXT', 'TEXTURE', 'VOLUME', 'WINDOWMANAGER', 'WORKSPACE', 'WORLD'] | None
683
751
  :param old_id: Old ID, Old ID to replace
684
752
  :type old_id: str | None
685
753
  :param new_id: New ID, New ID to remap all selected IDs' users to
@@ -798,7 +866,7 @@ def lib_operation(
798
866
  execution_context: int | str | None = None,
799
867
  undo: bool | None = None,
800
868
  *,
801
- type: str | None = "DELETE",
869
+ type: typing.Literal["DELETE", "RELOCATE", "RELOAD"] | None = "DELETE",
802
870
  ):
803
871
  """Undocumented, consider contributing.
804
872
 
@@ -815,7 +883,7 @@ def lib_operation(
815
883
 
816
884
  RELOAD
817
885
  Reload -- Reload all data from this library.
818
- :type type: str | None
886
+ :type type: typing.Literal['DELETE','RELOCATE','RELOAD'] | None
819
887
  """
820
888
 
821
889
  ...
@@ -839,8 +907,14 @@ def liboverride_operation(
839
907
  execution_context: int | str | None = None,
840
908
  undo: bool | None = None,
841
909
  *,
842
- type: str | None = "OVERRIDE_LIBRARY_CREATE_HIERARCHY",
843
- selection_set: str | None = "SELECTED",
910
+ type: typing.Literal[
911
+ "OVERRIDE_LIBRARY_CREATE_HIERARCHY",
912
+ "OVERRIDE_LIBRARY_RESET",
913
+ "OVERRIDE_LIBRARY_CLEAR_SINGLE",
914
+ ]
915
+ | None = "OVERRIDE_LIBRARY_CREATE_HIERARCHY",
916
+ selection_set: typing.Literal["SELECTED", "CONTENT", "SELECTED_AND_CONTENT"]
917
+ | None = "SELECTED",
844
918
  ):
845
919
  """Create, reset or clear library override hierarchies
846
920
 
@@ -857,7 +931,7 @@ def liboverride_operation(
857
931
 
858
932
  OVERRIDE_LIBRARY_CLEAR_SINGLE
859
933
  Clear -- Delete the selected local overrides and relink their usages to the linked data-blocks if possible, else reset them and mark them as non editable.
860
- :type type: str | None
934
+ :type type: typing.Literal['OVERRIDE_LIBRARY_CREATE_HIERARCHY','OVERRIDE_LIBRARY_RESET','OVERRIDE_LIBRARY_CLEAR_SINGLE'] | None
861
935
  :param selection_set: Selection Set, Over which part of the tree items to apply the operation
862
936
 
863
937
  SELECTED
@@ -868,7 +942,7 @@ def liboverride_operation(
868
942
 
869
943
  SELECTED_AND_CONTENT
870
944
  Selected & Content -- Apply the operation over selected data-blocks and all their dependencies.
871
- :type selection_set: str | None
945
+ :type selection_set: typing.Literal['SELECTED','CONTENT','SELECTED_AND_CONTENT'] | None
872
946
  """
873
947
 
874
948
  ...
@@ -878,8 +952,14 @@ def liboverride_troubleshoot_operation(
878
952
  execution_context: int | str | None = None,
879
953
  undo: bool | None = None,
880
954
  *,
881
- type: str | None = "OVERRIDE_LIBRARY_RESYNC_HIERARCHY",
882
- selection_set: str | None = "SELECTED",
955
+ type: typing.Literal[
956
+ "OVERRIDE_LIBRARY_RESYNC_HIERARCHY",
957
+ "OVERRIDE_LIBRARY_RESYNC_HIERARCHY_ENFORCE",
958
+ "OVERRIDE_LIBRARY_DELETE_HIERARCHY",
959
+ ]
960
+ | None = "OVERRIDE_LIBRARY_RESYNC_HIERARCHY",
961
+ selection_set: typing.Literal["SELECTED", "CONTENT", "SELECTED_AND_CONTENT"]
962
+ | None = "SELECTED",
883
963
  ):
884
964
  """Advanced operations over library override to help fix broken hierarchies
885
965
 
@@ -896,7 +976,7 @@ def liboverride_troubleshoot_operation(
896
976
 
897
977
  OVERRIDE_LIBRARY_DELETE_HIERARCHY
898
978
  Delete -- Delete the selected local overrides (including their hierarchies of override dependencies) and relink their usages to the linked data-blocks.
899
- :type type: str | None
979
+ :type type: typing.Literal['OVERRIDE_LIBRARY_RESYNC_HIERARCHY','OVERRIDE_LIBRARY_RESYNC_HIERARCHY_ENFORCE','OVERRIDE_LIBRARY_DELETE_HIERARCHY'] | None
900
980
  :param selection_set: Selection Set, Over which part of the tree items to apply the operation
901
981
 
902
982
  SELECTED
@@ -907,7 +987,7 @@ def liboverride_troubleshoot_operation(
907
987
 
908
988
  SELECTED_AND_CONTENT
909
989
  Selected & Content -- Apply the operation over selected data-blocks and all their dependencies.
910
- :type selection_set: str | None
990
+ :type selection_set: typing.Literal['SELECTED','CONTENT','SELECTED_AND_CONTENT'] | None
911
991
  """
912
992
 
913
993
  ...
@@ -931,7 +1011,7 @@ def modifier_operation(
931
1011
  execution_context: int | str | None = None,
932
1012
  undo: bool | None = None,
933
1013
  *,
934
- type: str | None = "APPLY",
1014
+ type: typing.Literal["APPLY", "DELETE", "TOGVIS", "TOGREN"] | None = "APPLY",
935
1015
  ):
936
1016
  """Undocumented, consider contributing.
937
1017
 
@@ -939,7 +1019,7 @@ def modifier_operation(
939
1019
  :type execution_context: int | str | None
940
1020
  :type undo: bool | None
941
1021
  :param type: Modifier Operation
942
- :type type: str | None
1022
+ :type type: typing.Literal['APPLY','DELETE','TOGVIS','TOGREN'] | None
943
1023
  """
944
1024
 
945
1025
  ...
@@ -949,7 +1029,8 @@ def object_operation(
949
1029
  execution_context: int | str | None = None,
950
1030
  undo: bool | None = None,
951
1031
  *,
952
- type: str | None = "SELECT",
1032
+ type: typing.Literal["SELECT", "DESELECT", "SELECT_HIERARCHY", "REMAP", "RENAME"]
1033
+ | None = "SELECT",
953
1034
  ):
954
1035
  """Undocumented, consider contributing.
955
1036
 
@@ -972,7 +1053,7 @@ def object_operation(
972
1053
 
973
1054
  RENAME
974
1055
  Rename.
975
- :type type: str | None
1056
+ :type type: typing.Literal['SELECT','DESELECT','SELECT_HIERARCHY','REMAP','RENAME'] | None
976
1057
  """
977
1058
 
978
1059
  ...
@@ -1076,7 +1157,7 @@ def scene_operation(
1076
1157
  execution_context: int | str | None = None,
1077
1158
  undo: bool | None = None,
1078
1159
  *,
1079
- type: str | None = "DELETE",
1160
+ type: typing.Literal["DELETE"] | None = "DELETE",
1080
1161
  ):
1081
1162
  """Context menu for scene operations
1082
1163
 
@@ -1084,7 +1165,7 @@ def scene_operation(
1084
1165
  :type execution_context: int | str | None
1085
1166
  :type undo: bool | None
1086
1167
  :param type: Scene Operation
1087
- :type type: str | None
1168
+ :type type: typing.Literal['DELETE'] | None
1088
1169
  """
1089
1170
 
1090
1171
  ...
@@ -1112,7 +1193,7 @@ def select_all(
1112
1193
  execution_context: int | str | None = None,
1113
1194
  undo: bool | None = None,
1114
1195
  *,
1115
- action: str | None = "TOGGLE",
1196
+ action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
1116
1197
  ):
1117
1198
  """Toggle the Outliner selection of items
1118
1199
 
@@ -1132,7 +1213,7 @@ def select_all(
1132
1213
 
1133
1214
  INVERT
1134
1215
  Invert -- Invert selection of all elements.
1135
- :type action: str | None
1216
+ :type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
1136
1217
  """
1137
1218
 
1138
1219
  ...
@@ -1148,7 +1229,7 @@ def select_box(
1148
1229
  ymin: int | None = 0,
1149
1230
  ymax: int | None = 0,
1150
1231
  wait_for_input: bool | None = True,
1151
- mode: str | None = "SET",
1232
+ mode: typing.Literal["SET", "ADD", "SUB"] | None = "SET",
1152
1233
  ):
1153
1234
  """Use box selection to select tree elements
1154
1235
 
@@ -1177,7 +1258,7 @@ def select_box(
1177
1258
 
1178
1259
  SUB
1179
1260
  Subtract -- Subtract existing selection.
1180
- :type mode: str | None
1261
+ :type mode: typing.Literal['SET','ADD','SUB'] | None
1181
1262
  """
1182
1263
 
1183
1264
  ...
@@ -1187,7 +1268,7 @@ def select_walk(
1187
1268
  execution_context: int | str | None = None,
1188
1269
  undo: bool | None = None,
1189
1270
  *,
1190
- direction: str | None = "UP",
1271
+ direction: typing.Literal["UP", "DOWN", "LEFT", "RIGHT"] | None = "UP",
1191
1272
  extend: bool | None = False,
1192
1273
  toggle_all: bool | None = False,
1193
1274
  ):
@@ -1197,7 +1278,7 @@ def select_walk(
1197
1278
  :type execution_context: int | str | None
1198
1279
  :type undo: bool | None
1199
1280
  :param direction: Walk Direction, Select/Deselect element in this direction
1200
- :type direction: str | None
1281
+ :type direction: typing.Literal['UP','DOWN','LEFT','RIGHT'] | None
1201
1282
  :param extend: Extend, Extend selection on walk
1202
1283
  :type extend: bool | None
1203
1284
  :param toggle_all: Toggle All, Toggle open/close hierarchy