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
@@ -13,7 +13,7 @@ def change_effect_input(
13
13
  execution_context: int | str | None = None,
14
14
  undo: bool | None = None,
15
15
  *,
16
- swap: str | None = "A_B",
16
+ swap: typing.Literal["A_B", "B_C", "A_C"] | None = "A_B",
17
17
  ):
18
18
  """Undocumented, consider contributing.
19
19
 
@@ -21,7 +21,7 @@ def change_effect_input(
21
21
  :type execution_context: int | str | None
22
22
  :type undo: bool | None
23
23
  :param swap: Swap, The effect inputs to swap
24
- :type swap: str | None
24
+ :type swap: typing.Literal['A_B','B_C','A_C'] | None
25
25
  """
26
26
 
27
27
  ...
@@ -31,7 +31,27 @@ def change_effect_type(
31
31
  execution_context: int | str | None = None,
32
32
  undo: bool | None = None,
33
33
  *,
34
- type: str | None = "CROSS",
34
+ type: typing.Literal[
35
+ "CROSS",
36
+ "ADD",
37
+ "SUBTRACT",
38
+ "ALPHA_OVER",
39
+ "ALPHA_UNDER",
40
+ "GAMMA_CROSS",
41
+ "MULTIPLY",
42
+ "OVER_DROP",
43
+ "WIPE",
44
+ "GLOW",
45
+ "TRANSFORM",
46
+ "COLOR",
47
+ "SPEED",
48
+ "MULTICAM",
49
+ "ADJUSTMENT",
50
+ "GAUSSIAN_BLUR",
51
+ "TEXT",
52
+ "COLORMIX",
53
+ ]
54
+ | None = "CROSS",
35
55
  ):
36
56
  """Undocumented, consider contributing.
37
57
 
@@ -93,7 +113,7 @@ def change_effect_type(
93
113
 
94
114
  COLORMIX
95
115
  Color Mix.
96
- :type type: str | None
116
+ :type type: typing.Literal['CROSS','ADD','SUBTRACT','ALPHA_OVER','ALPHA_UNDER','GAMMA_CROSS','MULTIPLY','OVER_DROP','WIPE','GLOW','TRANSFORM','COLOR','SPEED','MULTICAM','ADJUSTMENT','GAUSSIAN_BLUR','TEXT','COLORMIX'] | None
97
117
  """
98
118
 
99
119
  ...
@@ -128,7 +148,10 @@ def change_path(
128
148
  filter_blenlib: bool | None = False,
129
149
  filemode: int | None = 9,
130
150
  relative_path: bool | None = True,
131
- display_type: str | None = "DEFAULT",
151
+ display_type: typing.Literal[
152
+ "DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
153
+ ]
154
+ | None = "DEFAULT",
132
155
  sort_method: str | None = "",
133
156
  use_placeholders: bool | None = False,
134
157
  ):
@@ -198,7 +221,7 @@ def change_path(
198
221
 
199
222
  THUMBNAIL
200
223
  Thumbnails -- Display files as thumbnails.
201
- :type display_type: str | None
224
+ :type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
202
225
  :param sort_method: File sorting mode
203
226
  :type sort_method: str | None
204
227
  :param use_placeholders: Use Placeholders, Use placeholders for missing frames of the strip
@@ -343,7 +366,27 @@ def effect_strip_add(
343
366
  execution_context: int | str | None = None,
344
367
  undo: bool | None = None,
345
368
  *,
346
- type: str | None = "CROSS",
369
+ type: typing.Literal[
370
+ "CROSS",
371
+ "ADD",
372
+ "SUBTRACT",
373
+ "ALPHA_OVER",
374
+ "ALPHA_UNDER",
375
+ "GAMMA_CROSS",
376
+ "MULTIPLY",
377
+ "OVER_DROP",
378
+ "WIPE",
379
+ "GLOW",
380
+ "TRANSFORM",
381
+ "COLOR",
382
+ "SPEED",
383
+ "MULTICAM",
384
+ "ADJUSTMENT",
385
+ "GAUSSIAN_BLUR",
386
+ "TEXT",
387
+ "COLORMIX",
388
+ ]
389
+ | None = "CROSS",
347
390
  frame_start: int | None = 0,
348
391
  frame_end: int | None = 0,
349
392
  channel: int | None = 1,
@@ -412,7 +455,7 @@ def effect_strip_add(
412
455
 
413
456
  COLORMIX
414
457
  Color Mix.
415
- :type type: str | None
458
+ :type type: typing.Literal['CROSS','ADD','SUBTRACT','ALPHA_OVER','ALPHA_UNDER','GAMMA_CROSS','MULTIPLY','OVER_DROP','WIPE','GLOW','TRANSFORM','COLOR','SPEED','MULTICAM','ADJUSTMENT','GAUSSIAN_BLUR','TEXT','COLORMIX'] | None
416
459
  :param frame_start: Start Frame, Start frame of the sequence strip
417
460
  :type frame_start: int | None
418
461
  :param frame_end: End Frame, End frame for the color strip
@@ -487,7 +530,10 @@ def export_subtitles(
487
530
  filter_folder: bool | None = True,
488
531
  filter_blenlib: bool | None = False,
489
532
  filemode: int | None = 8,
490
- display_type: str | None = "DEFAULT",
533
+ display_type: typing.Literal[
534
+ "DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
535
+ ]
536
+ | None = "DEFAULT",
491
537
  sort_method: str | None = "",
492
538
  ):
493
539
  """Export .srt file containing text strips
@@ -550,7 +596,7 @@ def export_subtitles(
550
596
 
551
597
  THUMBNAIL
552
598
  Thumbnails -- Display files as thumbnails.
553
- :type display_type: str | None
599
+ :type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
554
600
  :param sort_method: File sorting mode
555
601
  :type sort_method: str | None
556
602
  """
@@ -563,7 +609,8 @@ def fades_add(
563
609
  undo: bool | None = None,
564
610
  *,
565
611
  duration_seconds: float | None = 1.0,
566
- type: str | None = "IN_OUT",
612
+ type: typing.Literal["IN_OUT", "IN", "OUT", "CURSOR_FROM", "CURSOR_TO"]
613
+ | None = "IN_OUT",
567
614
  ):
568
615
  """Adds or updates a fade animation for either visual or audio strips
569
616
 
@@ -588,7 +635,7 @@ def fades_add(
588
635
 
589
636
  CURSOR_TO
590
637
  To Current Frame -- Fade from the start of sequences under the time cursor to the current frame.
591
- :type type: str | None
638
+ :type type: typing.Literal['IN_OUT','IN','OUT','CURSOR_FROM','CURSOR_TO'] | None
592
639
  """
593
640
 
594
641
  ...
@@ -673,15 +720,25 @@ def image_strip_add(
673
720
  relative_path: bool | None = True,
674
721
  show_multiview: bool | None = False,
675
722
  use_multiview: bool | None = False,
676
- display_type: str | None = "DEFAULT",
677
- sort_method: str | None = "",
723
+ display_type: typing.Literal[
724
+ "DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
725
+ ]
726
+ | None = "DEFAULT",
727
+ sort_method: typing.Literal[
728
+ "DEFAULT",
729
+ "FILE_SORT_ALPHA",
730
+ "FILE_SORT_EXTENSION",
731
+ "FILE_SORT_TIME",
732
+ "FILE_SORT_SIZE",
733
+ ]
734
+ | None = "",
678
735
  frame_start: int | None = 0,
679
736
  frame_end: int | None = 0,
680
737
  channel: int | None = 1,
681
738
  replace_sel: bool | None = True,
682
739
  overlap: bool | None = False,
683
740
  overlap_shuffle_override: bool | None = False,
684
- fit_method: str | None = "FIT",
741
+ fit_method: typing.Literal["FIT", "FILL", "STRETCH", "ORIGINAL"] | None = "FIT",
685
742
  set_view_transform: bool | None = True,
686
743
  use_placeholders: bool | None = False,
687
744
  ):
@@ -751,7 +808,7 @@ def image_strip_add(
751
808
 
752
809
  THUMBNAIL
753
810
  Thumbnails -- Display files as thumbnails.
754
- :type display_type: str | None
811
+ :type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
755
812
  :param sort_method: File sorting mode
756
813
 
757
814
  DEFAULT
@@ -768,7 +825,7 @@ def image_strip_add(
768
825
 
769
826
  FILE_SORT_SIZE
770
827
  Size -- Sort files by size.
771
- :type sort_method: str | None
828
+ :type sort_method: typing.Literal['DEFAULT','FILE_SORT_ALPHA','FILE_SORT_EXTENSION','FILE_SORT_TIME','FILE_SORT_SIZE'] | None
772
829
  :param frame_start: Start Frame, Start frame of the sequence strip
773
830
  :type frame_start: int | None
774
831
  :param frame_end: End Frame, End frame for the color strip
@@ -794,7 +851,7 @@ def image_strip_add(
794
851
 
795
852
  ORIGINAL
796
853
  Use Original Size -- Keep image at its original size.
797
- :type fit_method: str | None
854
+ :type fit_method: typing.Literal['FIT','FILL','STRETCH','ORIGINAL'] | None
798
855
  :param set_view_transform: Set View Transform, Set appropriate view transform based on media color space
799
856
  :type set_view_transform: bool | None
800
857
  :param use_placeholders: Use Placeholders, Use placeholders for missing frames of the strip
@@ -941,14 +998,24 @@ def movie_strip_add(
941
998
  relative_path: bool | None = True,
942
999
  show_multiview: bool | None = False,
943
1000
  use_multiview: bool | None = False,
944
- display_type: str | None = "DEFAULT",
945
- sort_method: str | None = "",
1001
+ display_type: typing.Literal[
1002
+ "DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
1003
+ ]
1004
+ | None = "DEFAULT",
1005
+ sort_method: typing.Literal[
1006
+ "DEFAULT",
1007
+ "FILE_SORT_ALPHA",
1008
+ "FILE_SORT_EXTENSION",
1009
+ "FILE_SORT_TIME",
1010
+ "FILE_SORT_SIZE",
1011
+ ]
1012
+ | None = "",
946
1013
  frame_start: int | None = 0,
947
1014
  channel: int | None = 1,
948
1015
  replace_sel: bool | None = True,
949
1016
  overlap: bool | None = False,
950
1017
  overlap_shuffle_override: bool | None = False,
951
- fit_method: str | None = "FIT",
1018
+ fit_method: typing.Literal["FIT", "FILL", "STRETCH", "ORIGINAL"] | None = "FIT",
952
1019
  set_view_transform: bool | None = True,
953
1020
  adjust_playback_rate: bool | None = True,
954
1021
  sound: bool | None = True,
@@ -1022,7 +1089,7 @@ def movie_strip_add(
1022
1089
 
1023
1090
  THUMBNAIL
1024
1091
  Thumbnails -- Display files as thumbnails.
1025
- :type display_type: str | None
1092
+ :type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
1026
1093
  :param sort_method: File sorting mode
1027
1094
 
1028
1095
  DEFAULT
@@ -1039,7 +1106,7 @@ def movie_strip_add(
1039
1106
 
1040
1107
  FILE_SORT_SIZE
1041
1108
  Size -- Sort files by size.
1042
- :type sort_method: str | None
1109
+ :type sort_method: typing.Literal['DEFAULT','FILE_SORT_ALPHA','FILE_SORT_EXTENSION','FILE_SORT_TIME','FILE_SORT_SIZE'] | None
1043
1110
  :param frame_start: Start Frame, Start frame of the sequence strip
1044
1111
  :type frame_start: int | None
1045
1112
  :param channel: Channel, Channel to place this strip into
@@ -1063,7 +1130,7 @@ def movie_strip_add(
1063
1130
 
1064
1131
  ORIGINAL
1065
1132
  Use Original Size -- Keep image at its original size.
1066
- :type fit_method: str | None
1133
+ :type fit_method: typing.Literal['FIT','FILL','STRETCH','ORIGINAL'] | None
1067
1134
  :param set_view_transform: Set View Transform, Set appropriate view transform based on media color space
1068
1135
  :type set_view_transform: bool | None
1069
1136
  :param adjust_playback_rate: Adjust Playback Rate, Play at normal speed regardless of scene FPS
@@ -1481,7 +1548,7 @@ def scene_strip_add_new(
1481
1548
  replace_sel: bool | None = True,
1482
1549
  overlap: bool | None = False,
1483
1550
  overlap_shuffle_override: bool | None = False,
1484
- type: str | None = "NEW",
1551
+ type: typing.Literal["NEW", "EMPTY", "LINK_COPY", "FULL_COPY"] | None = "NEW",
1485
1552
  ):
1486
1553
  """Create a new Strip and assign a new Scene as source
1487
1554
 
@@ -1511,7 +1578,7 @@ def scene_strip_add_new(
1511
1578
 
1512
1579
  FULL_COPY
1513
1580
  Full Copy -- Add a Strip and make a full copy of the current scene.
1514
- :type type: str | None
1581
+ :type type: typing.Literal['NEW','EMPTY','LINK_COPY','FULL_COPY'] | None
1515
1582
  """
1516
1583
 
1517
1584
  ...
@@ -1572,7 +1639,7 @@ def select_all(
1572
1639
  execution_context: int | str | None = None,
1573
1640
  undo: bool | None = None,
1574
1641
  *,
1575
- action: str | None = "TOGGLE",
1642
+ action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
1576
1643
  ):
1577
1644
  """Select or deselect all strips
1578
1645
 
@@ -1592,7 +1659,7 @@ def select_all(
1592
1659
 
1593
1660
  INVERT
1594
1661
  Invert -- Invert selection of all elements.
1595
- :type action: str | None
1662
+ :type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
1596
1663
  """
1597
1664
 
1598
1665
  ...
@@ -1607,7 +1674,7 @@ def select_box(
1607
1674
  ymin: int | None = 0,
1608
1675
  ymax: int | None = 0,
1609
1676
  wait_for_input: bool | None = True,
1610
- mode: str | None = "SET",
1677
+ mode: typing.Literal["SET", "ADD", "SUB"] | None = "SET",
1611
1678
  tweak: bool | None = False,
1612
1679
  include_handles: bool | None = False,
1613
1680
  ):
@@ -1636,7 +1703,7 @@ def select_box(
1636
1703
 
1637
1704
  SUB
1638
1705
  Subtract -- Subtract existing selection.
1639
- :type mode: str | None
1706
+ :type mode: typing.Literal['SET','ADD','SUB'] | None
1640
1707
  :param tweak: Tweak, Operator has been activated using a click-drag event
1641
1708
  :type tweak: bool | None
1642
1709
  :param include_handles: Select Handles, Select the strips and their handles
@@ -1650,7 +1717,10 @@ def select_grouped(
1650
1717
  execution_context: int | str | None = None,
1651
1718
  undo: bool | None = None,
1652
1719
  *,
1653
- type: str | None = "TYPE",
1720
+ type: typing.Literal[
1721
+ "TYPE", "TYPE_BASIC", "TYPE_EFFECT", "DATA", "EFFECT", "EFFECT_LINK", "OVERLAP"
1722
+ ]
1723
+ | None = "TYPE",
1654
1724
  extend: bool | None = False,
1655
1725
  use_active_channel: bool | None = False,
1656
1726
  ):
@@ -1681,7 +1751,7 @@ def select_grouped(
1681
1751
 
1682
1752
  OVERLAP
1683
1753
  Overlap -- Overlapping time.
1684
- :type type: str | None
1754
+ :type type: typing.Literal['TYPE','TYPE_BASIC','TYPE_EFFECT','DATA','EFFECT','EFFECT_LINK','OVERLAP'] | None
1685
1755
  :param extend: Extend, Extend selection instead of deselecting everything first
1686
1756
  :type extend: bool | None
1687
1757
  :param use_active_channel: Same Channel, Only consider strips on the same channel as the active one
@@ -1719,7 +1789,10 @@ def select_handles(
1719
1789
  execution_context: int | str | None = None,
1720
1790
  undo: bool | None = None,
1721
1791
  *,
1722
- side: str | None = "BOTH",
1792
+ side: typing.Literal[
1793
+ "LEFT", "RIGHT", "BOTH", "LEFT_NEIGHBOR", "RIGHT_NEIGHBOR", "BOTH_NEIGHBORS"
1794
+ ]
1795
+ | None = "BOTH",
1723
1796
  ):
1724
1797
  """Select gizmo handles on the sides of the selected strip
1725
1798
 
@@ -1727,7 +1800,7 @@ def select_handles(
1727
1800
  :type execution_context: int | str | None
1728
1801
  :type undo: bool | None
1729
1802
  :param side: Side, The side of the handle that is selected
1730
- :type side: str | None
1803
+ :type side: typing.Literal['LEFT','RIGHT','BOTH','LEFT_NEIGHBOR','RIGHT_NEIGHBOR','BOTH_NEIGHBORS'] | None
1731
1804
  """
1732
1805
 
1733
1806
  ...
@@ -1797,7 +1870,7 @@ def select_side(
1797
1870
  execution_context: int | str | None = None,
1798
1871
  undo: bool | None = None,
1799
1872
  *,
1800
- side: str | None = "BOTH",
1873
+ side: typing.Literal["MOUSE", "LEFT", "RIGHT", "BOTH", "NO_CHANGE"] | None = "BOTH",
1801
1874
  ):
1802
1875
  """Select strips on the nominated side of the selected strips
1803
1876
 
@@ -1805,7 +1878,7 @@ def select_side(
1805
1878
  :type execution_context: int | str | None
1806
1879
  :type undo: bool | None
1807
1880
  :param side: Side, The side to which the selection is applied
1808
- :type side: str | None
1881
+ :type side: typing.Literal['MOUSE','LEFT','RIGHT','BOTH','NO_CHANGE'] | None
1809
1882
  """
1810
1883
 
1811
1884
  ...
@@ -1816,7 +1889,7 @@ def select_side_of_frame(
1816
1889
  undo: bool | None = None,
1817
1890
  *,
1818
1891
  extend: bool | None = False,
1819
- side: str | None = "LEFT",
1892
+ side: typing.Literal["LEFT", "RIGHT", "CURRENT"] | None = "LEFT",
1820
1893
  ):
1821
1894
  """Select strips relative to the current frame
1822
1895
 
@@ -1835,7 +1908,7 @@ def select_side_of_frame(
1835
1908
 
1836
1909
  CURRENT
1837
1910
  Current Frame -- Select intersecting with the current frame.
1838
- :type side: str | None
1911
+ :type side: typing.Literal['LEFT','RIGHT','CURRENT'] | None
1839
1912
  """
1840
1913
 
1841
1914
  ...
@@ -1923,8 +1996,18 @@ def sound_strip_add(
1923
1996
  filter_blenlib: bool | None = False,
1924
1997
  filemode: int | None = 9,
1925
1998
  relative_path: bool | None = True,
1926
- display_type: str | None = "DEFAULT",
1927
- sort_method: str | None = "",
1999
+ display_type: typing.Literal[
2000
+ "DEFAULT", "LIST_VERTICAL", "LIST_HORIZONTAL", "THUMBNAIL"
2001
+ ]
2002
+ | None = "DEFAULT",
2003
+ sort_method: typing.Literal[
2004
+ "DEFAULT",
2005
+ "FILE_SORT_ALPHA",
2006
+ "FILE_SORT_EXTENSION",
2007
+ "FILE_SORT_TIME",
2008
+ "FILE_SORT_SIZE",
2009
+ ]
2010
+ | None = "",
1928
2011
  frame_start: int | None = 0,
1929
2012
  channel: int | None = 1,
1930
2013
  replace_sel: bool | None = True,
@@ -1997,7 +2080,7 @@ def sound_strip_add(
1997
2080
 
1998
2081
  THUMBNAIL
1999
2082
  Thumbnails -- Display files as thumbnails.
2000
- :type display_type: str | None
2083
+ :type display_type: typing.Literal['DEFAULT','LIST_VERTICAL','LIST_HORIZONTAL','THUMBNAIL'] | None
2001
2084
  :param sort_method: File sorting mode
2002
2085
 
2003
2086
  DEFAULT
@@ -2014,7 +2097,7 @@ def sound_strip_add(
2014
2097
 
2015
2098
  FILE_SORT_SIZE
2016
2099
  Size -- Sort files by size.
2017
- :type sort_method: str | None
2100
+ :type sort_method: typing.Literal['DEFAULT','FILE_SORT_ALPHA','FILE_SORT_EXTENSION','FILE_SORT_TIME','FILE_SORT_SIZE'] | None
2018
2101
  :param frame_start: Start Frame, Start frame of the sequence strip
2019
2102
  :type frame_start: int | None
2020
2103
  :param channel: Channel, Channel to place this strip into
@@ -2040,9 +2123,10 @@ def split(
2040
2123
  *,
2041
2124
  frame: int | None = 0,
2042
2125
  channel: int | None = 0,
2043
- type: str | None = "SOFT",
2126
+ type: typing.Literal["SOFT", "HARD"] | None = "SOFT",
2044
2127
  use_cursor_position: bool | None = False,
2045
- side: str | None = "MOUSE",
2128
+ side: typing.Literal["MOUSE", "LEFT", "RIGHT", "BOTH", "NO_CHANGE"]
2129
+ | None = "MOUSE",
2046
2130
  ignore_selection: bool | None = False,
2047
2131
  ):
2048
2132
  """Split the selected strips in two
@@ -2055,11 +2139,11 @@ def split(
2055
2139
  :param channel: Channel, Channel in which strip will be cut
2056
2140
  :type channel: int | None
2057
2141
  :param type: Type, The type of split operation to perform on strips
2058
- :type type: str | None
2142
+ :type type: typing.Literal['SOFT','HARD'] | None
2059
2143
  :param use_cursor_position: Use Cursor Position, Split at position of the cursor instead of current frame
2060
2144
  :type use_cursor_position: bool | None
2061
2145
  :param side: Side, The side that remains selected after splitting
2062
- :type side: str | None
2146
+ :type side: typing.Literal['MOUSE','LEFT','RIGHT','BOTH','NO_CHANGE'] | None
2063
2147
  :param ignore_selection: Ignore Selection, Make cut even if strip is not selected preserving selection state after cut
2064
2148
  :type ignore_selection: bool | None
2065
2149
  """
@@ -2089,7 +2173,19 @@ def strip_color_tag_set(
2089
2173
  execution_context: int | str | None = None,
2090
2174
  undo: bool | None = None,
2091
2175
  *,
2092
- color: str | None = "NONE",
2176
+ color: typing.Literal[
2177
+ "NONE",
2178
+ "COLOR_01",
2179
+ "COLOR_02",
2180
+ "COLOR_03",
2181
+ "COLOR_04",
2182
+ "COLOR_05",
2183
+ "COLOR_06",
2184
+ "COLOR_07",
2185
+ "COLOR_08",
2186
+ "COLOR_09",
2187
+ ]
2188
+ | None = "NONE",
2093
2189
  ):
2094
2190
  """Set a color tag for the selected strips
2095
2191
 
@@ -2097,7 +2193,7 @@ def strip_color_tag_set(
2097
2193
  :type execution_context: int | str | None
2098
2194
  :type undo: bool | None
2099
2195
  :param color: Color Tag
2100
- :type color: str | None
2196
+ :type color: typing.Literal['NONE', 'COLOR_01', 'COLOR_02', 'COLOR_03', 'COLOR_04', 'COLOR_05', 'COLOR_06', 'COLOR_07', 'COLOR_08', 'COLOR_09'] | None
2101
2197
  """
2102
2198
 
2103
2199
  ...
@@ -2146,7 +2242,7 @@ def strip_modifier_copy(
2146
2242
  execution_context: int | str | None = None,
2147
2243
  undo: bool | None = None,
2148
2244
  *,
2149
- type: str | None = "REPLACE",
2245
+ type: typing.Literal["REPLACE", "APPEND"] | None = "REPLACE",
2150
2246
  ):
2151
2247
  """Copy modifiers of the active strip to all selected strips
2152
2248
 
@@ -2160,7 +2256,7 @@ def strip_modifier_copy(
2160
2256
 
2161
2257
  APPEND
2162
2258
  Append -- Append active modifiers to selected strips.
2163
- :type type: str | None
2259
+ :type type: typing.Literal['REPLACE','APPEND'] | None
2164
2260
  """
2165
2261
 
2166
2262
  ...
@@ -2170,7 +2266,7 @@ def strip_modifier_equalizer_redefine(
2170
2266
  execution_context: int | str | None = None,
2171
2267
  undo: bool | None = None,
2172
2268
  *,
2173
- graphs: str | None = "SIMPLE",
2269
+ graphs: typing.Literal["SIMPLE", "DOUBLE", "TRIPLE"] | None = "SIMPLE",
2174
2270
  name: str = "Name",
2175
2271
  ):
2176
2272
  """Redefine equalizer graphs
@@ -2188,7 +2284,7 @@ def strip_modifier_equalizer_redefine(
2188
2284
 
2189
2285
  TRIPLE
2190
2286
  Triplet -- Graphical definition in 3 sections.
2191
- :type graphs: str | None
2287
+ :type graphs: typing.Literal['SIMPLE','DOUBLE','TRIPLE'] | None
2192
2288
  :param name: Name, Name of modifier to redefine
2193
2289
  :type name: str
2194
2290
  """
@@ -2201,7 +2297,7 @@ def strip_modifier_move(
2201
2297
  undo: bool | None = None,
2202
2298
  *,
2203
2299
  name: str = "Name",
2204
- direction: str | None = "UP",
2300
+ direction: typing.Literal["UP", "DOWN"] | None = "UP",
2205
2301
  ):
2206
2302
  """Move modifier up and down in the stack
2207
2303
 
@@ -2217,7 +2313,7 @@ def strip_modifier_move(
2217
2313
 
2218
2314
  DOWN
2219
2315
  Down -- Move modifier down in the stack.
2220
- :type direction: str | None
2316
+ :type direction: typing.Literal['UP','DOWN'] | None
2221
2317
  """
2222
2318
 
2223
2319
  ...
@@ -2245,7 +2341,7 @@ def strip_transform_clear(
2245
2341
  execution_context: int | str | None = None,
2246
2342
  undo: bool | None = None,
2247
2343
  *,
2248
- property: str | None = "ALL",
2344
+ property: typing.Literal["POSITION", "SCALE", "ROTATION", "ALL"] | None = "ALL",
2249
2345
  ):
2250
2346
  """Reset image transformation to default value
2251
2347
 
@@ -2265,7 +2361,7 @@ def strip_transform_clear(
2265
2361
 
2266
2362
  ALL
2267
2363
  All -- Reset strip transform location, scale and rotation.
2268
- :type property: str | None
2364
+ :type property: typing.Literal['POSITION','SCALE','ROTATION','ALL'] | None
2269
2365
  """
2270
2366
 
2271
2367
  ...
@@ -2275,7 +2371,7 @@ def strip_transform_fit(
2275
2371
  execution_context: int | str | None = None,
2276
2372
  undo: bool | None = None,
2277
2373
  *,
2278
- fit_method: str | None = "FIT",
2374
+ fit_method: typing.Literal["FIT", "FILL", "STRETCH"] | None = "FIT",
2279
2375
  ):
2280
2376
  """Undocumented, consider contributing.
2281
2377
 
@@ -2292,7 +2388,7 @@ def strip_transform_fit(
2292
2388
 
2293
2389
  STRETCH
2294
2390
  Stretch to Fill -- Stretch image so it fills preview.
2295
- :type fit_method: str | None
2391
+ :type fit_method: typing.Literal['FIT','FILL','STRETCH'] | None
2296
2392
  """
2297
2393
 
2298
2394
  ...
@@ -2302,7 +2398,7 @@ def swap(
2302
2398
  execution_context: int | str | None = None,
2303
2399
  undo: bool | None = None,
2304
2400
  *,
2305
- side: str | None = "RIGHT",
2401
+ side: typing.Literal["LEFT", "RIGHT"] | None = "RIGHT",
2306
2402
  ):
2307
2403
  """Swap active strip with strip to the right or left
2308
2404
 
@@ -2310,7 +2406,7 @@ def swap(
2310
2406
  :type execution_context: int | str | None
2311
2407
  :type undo: bool | None
2312
2408
  :param side: Side, Side of the strip to swap
2313
- :type side: str | None
2409
+ :type side: typing.Literal['LEFT','RIGHT'] | None
2314
2410
  """
2315
2411
 
2316
2412
  ...