fake-bpy-module 20240528__py3-none-any.whl → 20240529__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 (92) hide show
  1. bl_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -3
  2. bl_operators/__init__.pyi +2 -0
  3. bl_operators/connect_to_output/__init__.pyi +325 -0
  4. bl_operators/image_as_planes/__init__.pyi +11 -5
  5. bl_operators/node_editor/__init__.pyi +6 -0
  6. bl_operators/node_editor/node_functions/__init__.pyi +23 -0
  7. bl_operators/presets/__init__.pyi +12 -12
  8. bl_operators/wm/__init__.pyi +24 -24
  9. bl_ui/__init__.pyi +12 -12
  10. bl_ui/anim/__init__.pyi +6 -6
  11. bl_ui/node_add_menu/__init__.pyi +6 -6
  12. bl_ui/node_add_menu_compositor/__init__.pyi +108 -108
  13. bl_ui/node_add_menu_geometry/__init__.pyi +288 -288
  14. bl_ui/node_add_menu_shader/__init__.pyi +60 -60
  15. bl_ui/node_add_menu_texture/__init__.pyi +54 -54
  16. bl_ui/properties_collection/__init__.pyi +6 -6
  17. bl_ui/properties_data_armature/__init__.pyi +12 -12
  18. bl_ui/properties_data_camera/__init__.pyi +12 -12
  19. bl_ui/properties_data_curves/__init__.pyi +6 -6
  20. bl_ui/properties_data_gpencil/__init__.pyi +12 -12
  21. bl_ui/properties_data_grease_pencil/__init__.pyi +18 -18
  22. bl_ui/properties_data_mesh/__init__.pyi +24 -24
  23. bl_ui/properties_data_modifier/__init__.pyi +42 -42
  24. bl_ui/properties_data_pointcloud/__init__.pyi +6 -6
  25. bl_ui/properties_freestyle/__init__.pyi +6 -6
  26. bl_ui/properties_grease_pencil_common/__init__.pyi +72 -72
  27. bl_ui/properties_mask_common/__init__.pyi +36 -36
  28. bl_ui/properties_material/__init__.pyi +6 -6
  29. bl_ui/properties_material_gpencil/__init__.pyi +12 -12
  30. bl_ui/properties_object/__init__.pyi +6 -6
  31. bl_ui/properties_output/__init__.pyi +18 -18
  32. bl_ui/properties_paint_common/__init__.pyi +6 -6
  33. bl_ui/properties_particle/__init__.pyi +12 -12
  34. bl_ui/properties_physics_cloth/__init__.pyi +6 -6
  35. bl_ui/properties_physics_fluid/__init__.pyi +6 -6
  36. bl_ui/properties_render/__init__.pyi +6 -6
  37. bl_ui/properties_texture/__init__.pyi +6 -6
  38. bl_ui/properties_view_layer/__init__.pyi +6 -6
  39. bl_ui/space_clip/__init__.pyi +186 -186
  40. bl_ui/space_console/__init__.pyi +30 -30
  41. bl_ui/space_dopesheet/__init__.pyi +84 -84
  42. bl_ui/space_filebrowser/__init__.pyi +78 -78
  43. bl_ui/space_graph/__init__.pyi +96 -96
  44. bl_ui/space_image/__init__.pyi +138 -138
  45. bl_ui/space_info/__init__.pyi +30 -30
  46. bl_ui/space_nla/__init__.pyi +78 -78
  47. bl_ui/space_node/__init__.pyi +72 -72
  48. bl_ui/space_outliner/__init__.pyi +72 -72
  49. bl_ui/space_sequencer/__init__.pyi +204 -204
  50. bl_ui/space_text/__init__.pyi +72 -72
  51. bl_ui/space_time/__init__.pyi +24 -24
  52. bl_ui/space_toolsystem_toolbar/__init__.pyi +4 -0
  53. bl_ui/space_topbar/__init__.pyi +114 -114
  54. bl_ui/space_userpref/__init__.pyi +36 -36
  55. bl_ui/space_view3d/__init__.pyi +1446 -1176
  56. bl_ui/space_view3d_toolbar/__init__.pyi +30 -30
  57. bl_ui/utils/__init__.pyi +6 -6
  58. bmesh/geometry/__init__.pyi +2 -2
  59. bmesh/ops/__init__.pyi +55 -54
  60. bmesh/types/__init__.pyi +43 -33
  61. bmesh/utils/__init__.pyi +2 -2
  62. bpy/app/handlers/__init__.pyi +37 -37
  63. bpy/app/icons/__init__.pyi +4 -4
  64. bpy/app/timers/__init__.pyi +6 -6
  65. bpy/ops/bl_pkg/__init__.pyi +4 -4
  66. bpy/ops/image/__init__.pyi +55 -55
  67. bpy/ops/node/__init__.pyi +18 -0
  68. bpy/ops/paint/__init__.pyi +66 -0
  69. bpy/ops/preferences/__init__.pyi +2 -2
  70. bpy/ops/sculpt/__init__.pyi +126 -0
  71. bpy/props/__init__.pyi +16 -14
  72. bpy/types/__init__.pyi +269 -54
  73. bpy/utils/__init__.pyi +2 -2
  74. bpy_extras/anim_utils/__init__.pyi +4 -4
  75. bpy_extras/io_utils/__init__.pyi +4 -4
  76. bpy_extras/mesh_utils/__init__.pyi +4 -4
  77. bpy_extras/object_utils/__init__.pyi +8 -8
  78. bpy_types/__init__.pyi +12 -12
  79. {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240529.dist-info}/METADATA +1 -1
  80. {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240529.dist-info}/RECORD +92 -89
  81. freestyle/shaders/__init__.pyi +2 -2
  82. freestyle/types/__init__.pyi +64 -56
  83. gpu/matrix/__init__.pyi +6 -6
  84. gpu/types/__init__.pyi +10 -8
  85. imbuf/__init__.pyi +2 -2
  86. mathutils/__init__.pyi +176 -137
  87. mathutils/bvhtree/__init__.pyi +4 -4
  88. mathutils/geometry/__init__.pyi +139 -139
  89. mathutils/kdtree/__init__.pyi +14 -10
  90. mathutils/noise/__init__.pyi +26 -26
  91. {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240529.dist-info}/WHEEL +0 -0
  92. {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240529.dist-info}/top_level.txt +0 -0
@@ -415,10 +415,10 @@ class NODE_MT_add(bpy_types.Menu, bpy_types._GenericUI):
415
415
  searchpaths: list[str],
416
416
  operator: str,
417
417
  props_default: dict = None,
418
- prop_filepath: str = "filepath",
419
- filter_ext: typing.Callable = None,
418
+ prop_filepath: str | None = "filepath",
419
+ filter_ext: collections.abc.Callable | None = None,
420
420
  filter_path=None,
421
- display_name: typing.Callable = None,
421
+ display_name: collections.abc.Callable | None = None,
422
422
  add_operator=None,
423
423
  add_operator_props=None,
424
424
  ):
@@ -431,14 +431,14 @@ class NODE_MT_add(bpy_types.Menu, bpy_types._GenericUI):
431
431
  :param props_default: Properties to assign to each operator.
432
432
  :type props_default: dict
433
433
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
434
- :type prop_filepath: str
434
+ :type prop_filepath: str | None
435
435
  :param filter_ext: Optional callback that takes the file extensions.
436
436
 
437
437
  Returning false excludes the file from the list.
438
- :type filter_ext: typing.Callable
438
+ :type filter_ext: collections.abc.Callable | None
439
439
  :param filter_path:
440
440
  :param display_name: Optional callback that takes the full path, returns the name to display.
441
- :type display_name: typing.Callable
441
+ :type display_name: collections.abc.Callable | None
442
442
  :param add_operator:
443
443
  :param add_operator_props:
444
444
  """
@@ -685,10 +685,10 @@ class NODE_MT_context_menu(bpy_types.Menu, bpy_types._GenericUI):
685
685
  searchpaths: list[str],
686
686
  operator: str,
687
687
  props_default: dict = None,
688
- prop_filepath: str = "filepath",
689
- filter_ext: typing.Callable = None,
688
+ prop_filepath: str | None = "filepath",
689
+ filter_ext: collections.abc.Callable | None = None,
690
690
  filter_path=None,
691
- display_name: typing.Callable = None,
691
+ display_name: collections.abc.Callable | None = None,
692
692
  add_operator=None,
693
693
  add_operator_props=None,
694
694
  ):
@@ -701,14 +701,14 @@ class NODE_MT_context_menu(bpy_types.Menu, bpy_types._GenericUI):
701
701
  :param props_default: Properties to assign to each operator.
702
702
  :type props_default: dict
703
703
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
704
- :type prop_filepath: str
704
+ :type prop_filepath: str | None
705
705
  :param filter_ext: Optional callback that takes the file extensions.
706
706
 
707
707
  Returning false excludes the file from the list.
708
- :type filter_ext: typing.Callable
708
+ :type filter_ext: collections.abc.Callable | None
709
709
  :param filter_path:
710
710
  :param display_name: Optional callback that takes the full path, returns the name to display.
711
- :type display_name: typing.Callable
711
+ :type display_name: collections.abc.Callable | None
712
712
  :param add_operator:
713
713
  :param add_operator_props:
714
714
  """
@@ -955,10 +955,10 @@ class NODE_MT_context_menu_select_menu(bpy_types.Menu, bpy_types._GenericUI):
955
955
  searchpaths: list[str],
956
956
  operator: str,
957
957
  props_default: dict = None,
958
- prop_filepath: str = "filepath",
959
- filter_ext: typing.Callable = None,
958
+ prop_filepath: str | None = "filepath",
959
+ filter_ext: collections.abc.Callable | None = None,
960
960
  filter_path=None,
961
- display_name: typing.Callable = None,
961
+ display_name: collections.abc.Callable | None = None,
962
962
  add_operator=None,
963
963
  add_operator_props=None,
964
964
  ):
@@ -971,14 +971,14 @@ class NODE_MT_context_menu_select_menu(bpy_types.Menu, bpy_types._GenericUI):
971
971
  :param props_default: Properties to assign to each operator.
972
972
  :type props_default: dict
973
973
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
974
- :type prop_filepath: str
974
+ :type prop_filepath: str | None
975
975
  :param filter_ext: Optional callback that takes the file extensions.
976
976
 
977
977
  Returning false excludes the file from the list.
978
- :type filter_ext: typing.Callable
978
+ :type filter_ext: collections.abc.Callable | None
979
979
  :param filter_path:
980
980
  :param display_name: Optional callback that takes the full path, returns the name to display.
981
- :type display_name: typing.Callable
981
+ :type display_name: collections.abc.Callable | None
982
982
  :param add_operator:
983
983
  :param add_operator_props:
984
984
  """
@@ -1225,10 +1225,10 @@ class NODE_MT_context_menu_show_hide_menu(bpy_types.Menu, bpy_types._GenericUI):
1225
1225
  searchpaths: list[str],
1226
1226
  operator: str,
1227
1227
  props_default: dict = None,
1228
- prop_filepath: str = "filepath",
1229
- filter_ext: typing.Callable = None,
1228
+ prop_filepath: str | None = "filepath",
1229
+ filter_ext: collections.abc.Callable | None = None,
1230
1230
  filter_path=None,
1231
- display_name: typing.Callable = None,
1231
+ display_name: collections.abc.Callable | None = None,
1232
1232
  add_operator=None,
1233
1233
  add_operator_props=None,
1234
1234
  ):
@@ -1241,14 +1241,14 @@ class NODE_MT_context_menu_show_hide_menu(bpy_types.Menu, bpy_types._GenericUI):
1241
1241
  :param props_default: Properties to assign to each operator.
1242
1242
  :type props_default: dict
1243
1243
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
1244
- :type prop_filepath: str
1244
+ :type prop_filepath: str | None
1245
1245
  :param filter_ext: Optional callback that takes the file extensions.
1246
1246
 
1247
1247
  Returning false excludes the file from the list.
1248
- :type filter_ext: typing.Callable
1248
+ :type filter_ext: collections.abc.Callable | None
1249
1249
  :param filter_path:
1250
1250
  :param display_name: Optional callback that takes the full path, returns the name to display.
1251
- :type display_name: typing.Callable
1251
+ :type display_name: collections.abc.Callable | None
1252
1252
  :param add_operator:
1253
1253
  :param add_operator_props:
1254
1254
  """
@@ -1496,10 +1496,10 @@ class NODE_MT_editor_menus(bpy_types.Menu, bpy_types._GenericUI):
1496
1496
  searchpaths: list[str],
1497
1497
  operator: str,
1498
1498
  props_default: dict = None,
1499
- prop_filepath: str = "filepath",
1500
- filter_ext: typing.Callable = None,
1499
+ prop_filepath: str | None = "filepath",
1500
+ filter_ext: collections.abc.Callable | None = None,
1501
1501
  filter_path=None,
1502
- display_name: typing.Callable = None,
1502
+ display_name: collections.abc.Callable | None = None,
1503
1503
  add_operator=None,
1504
1504
  add_operator_props=None,
1505
1505
  ):
@@ -1512,14 +1512,14 @@ class NODE_MT_editor_menus(bpy_types.Menu, bpy_types._GenericUI):
1512
1512
  :param props_default: Properties to assign to each operator.
1513
1513
  :type props_default: dict
1514
1514
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
1515
- :type prop_filepath: str
1515
+ :type prop_filepath: str | None
1516
1516
  :param filter_ext: Optional callback that takes the file extensions.
1517
1517
 
1518
1518
  Returning false excludes the file from the list.
1519
- :type filter_ext: typing.Callable
1519
+ :type filter_ext: collections.abc.Callable | None
1520
1520
  :param filter_path:
1521
1521
  :param display_name: Optional callback that takes the full path, returns the name to display.
1522
- :type display_name: typing.Callable
1522
+ :type display_name: collections.abc.Callable | None
1523
1523
  :param add_operator:
1524
1524
  :param add_operator_props:
1525
1525
  """
@@ -1766,10 +1766,10 @@ class NODE_MT_node(bpy_types.Menu, bpy_types._GenericUI):
1766
1766
  searchpaths: list[str],
1767
1767
  operator: str,
1768
1768
  props_default: dict = None,
1769
- prop_filepath: str = "filepath",
1770
- filter_ext: typing.Callable = None,
1769
+ prop_filepath: str | None = "filepath",
1770
+ filter_ext: collections.abc.Callable | None = None,
1771
1771
  filter_path=None,
1772
- display_name: typing.Callable = None,
1772
+ display_name: collections.abc.Callable | None = None,
1773
1773
  add_operator=None,
1774
1774
  add_operator_props=None,
1775
1775
  ):
@@ -1782,14 +1782,14 @@ class NODE_MT_node(bpy_types.Menu, bpy_types._GenericUI):
1782
1782
  :param props_default: Properties to assign to each operator.
1783
1783
  :type props_default: dict
1784
1784
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
1785
- :type prop_filepath: str
1785
+ :type prop_filepath: str | None
1786
1786
  :param filter_ext: Optional callback that takes the file extensions.
1787
1787
 
1788
1788
  Returning false excludes the file from the list.
1789
- :type filter_ext: typing.Callable
1789
+ :type filter_ext: collections.abc.Callable | None
1790
1790
  :param filter_path:
1791
1791
  :param display_name: Optional callback that takes the full path, returns the name to display.
1792
- :type display_name: typing.Callable
1792
+ :type display_name: collections.abc.Callable | None
1793
1793
  :param add_operator:
1794
1794
  :param add_operator_props:
1795
1795
  """
@@ -2036,10 +2036,10 @@ class NODE_MT_node_color_context_menu(bpy_types.Menu, bpy_types._GenericUI):
2036
2036
  searchpaths: list[str],
2037
2037
  operator: str,
2038
2038
  props_default: dict = None,
2039
- prop_filepath: str = "filepath",
2040
- filter_ext: typing.Callable = None,
2039
+ prop_filepath: str | None = "filepath",
2040
+ filter_ext: collections.abc.Callable | None = None,
2041
2041
  filter_path=None,
2042
- display_name: typing.Callable = None,
2042
+ display_name: collections.abc.Callable | None = None,
2043
2043
  add_operator=None,
2044
2044
  add_operator_props=None,
2045
2045
  ):
@@ -2052,14 +2052,14 @@ class NODE_MT_node_color_context_menu(bpy_types.Menu, bpy_types._GenericUI):
2052
2052
  :param props_default: Properties to assign to each operator.
2053
2053
  :type props_default: dict
2054
2054
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
2055
- :type prop_filepath: str
2055
+ :type prop_filepath: str | None
2056
2056
  :param filter_ext: Optional callback that takes the file extensions.
2057
2057
 
2058
2058
  Returning false excludes the file from the list.
2059
- :type filter_ext: typing.Callable
2059
+ :type filter_ext: collections.abc.Callable | None
2060
2060
  :param filter_path:
2061
2061
  :param display_name: Optional callback that takes the full path, returns the name to display.
2062
- :type display_name: typing.Callable
2062
+ :type display_name: collections.abc.Callable | None
2063
2063
  :param add_operator:
2064
2064
  :param add_operator_props:
2065
2065
  """
@@ -2306,10 +2306,10 @@ class NODE_MT_node_tree_interface_context_menu(bpy_types.Menu, bpy_types._Generi
2306
2306
  searchpaths: list[str],
2307
2307
  operator: str,
2308
2308
  props_default: dict = None,
2309
- prop_filepath: str = "filepath",
2310
- filter_ext: typing.Callable = None,
2309
+ prop_filepath: str | None = "filepath",
2310
+ filter_ext: collections.abc.Callable | None = None,
2311
2311
  filter_path=None,
2312
- display_name: typing.Callable = None,
2312
+ display_name: collections.abc.Callable | None = None,
2313
2313
  add_operator=None,
2314
2314
  add_operator_props=None,
2315
2315
  ):
@@ -2322,14 +2322,14 @@ class NODE_MT_node_tree_interface_context_menu(bpy_types.Menu, bpy_types._Generi
2322
2322
  :param props_default: Properties to assign to each operator.
2323
2323
  :type props_default: dict
2324
2324
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
2325
- :type prop_filepath: str
2325
+ :type prop_filepath: str | None
2326
2326
  :param filter_ext: Optional callback that takes the file extensions.
2327
2327
 
2328
2328
  Returning false excludes the file from the list.
2329
- :type filter_ext: typing.Callable
2329
+ :type filter_ext: collections.abc.Callable | None
2330
2330
  :param filter_path:
2331
2331
  :param display_name: Optional callback that takes the full path, returns the name to display.
2332
- :type display_name: typing.Callable
2332
+ :type display_name: collections.abc.Callable | None
2333
2333
  :param add_operator:
2334
2334
  :param add_operator_props:
2335
2335
  """
@@ -2576,10 +2576,10 @@ class NODE_MT_select(bpy_types.Menu, bpy_types._GenericUI):
2576
2576
  searchpaths: list[str],
2577
2577
  operator: str,
2578
2578
  props_default: dict = None,
2579
- prop_filepath: str = "filepath",
2580
- filter_ext: typing.Callable = None,
2579
+ prop_filepath: str | None = "filepath",
2580
+ filter_ext: collections.abc.Callable | None = None,
2581
2581
  filter_path=None,
2582
- display_name: typing.Callable = None,
2582
+ display_name: collections.abc.Callable | None = None,
2583
2583
  add_operator=None,
2584
2584
  add_operator_props=None,
2585
2585
  ):
@@ -2592,14 +2592,14 @@ class NODE_MT_select(bpy_types.Menu, bpy_types._GenericUI):
2592
2592
  :param props_default: Properties to assign to each operator.
2593
2593
  :type props_default: dict
2594
2594
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
2595
- :type prop_filepath: str
2595
+ :type prop_filepath: str | None
2596
2596
  :param filter_ext: Optional callback that takes the file extensions.
2597
2597
 
2598
2598
  Returning false excludes the file from the list.
2599
- :type filter_ext: typing.Callable
2599
+ :type filter_ext: collections.abc.Callable | None
2600
2600
  :param filter_path:
2601
2601
  :param display_name: Optional callback that takes the full path, returns the name to display.
2602
- :type display_name: typing.Callable
2602
+ :type display_name: collections.abc.Callable | None
2603
2603
  :param add_operator:
2604
2604
  :param add_operator_props:
2605
2605
  """
@@ -2846,10 +2846,10 @@ class NODE_MT_view(bpy_types.Menu, bpy_types._GenericUI):
2846
2846
  searchpaths: list[str],
2847
2847
  operator: str,
2848
2848
  props_default: dict = None,
2849
- prop_filepath: str = "filepath",
2850
- filter_ext: typing.Callable = None,
2849
+ prop_filepath: str | None = "filepath",
2850
+ filter_ext: collections.abc.Callable | None = None,
2851
2851
  filter_path=None,
2852
- display_name: typing.Callable = None,
2852
+ display_name: collections.abc.Callable | None = None,
2853
2853
  add_operator=None,
2854
2854
  add_operator_props=None,
2855
2855
  ):
@@ -2862,14 +2862,14 @@ class NODE_MT_view(bpy_types.Menu, bpy_types._GenericUI):
2862
2862
  :param props_default: Properties to assign to each operator.
2863
2863
  :type props_default: dict
2864
2864
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
2865
- :type prop_filepath: str
2865
+ :type prop_filepath: str | None
2866
2866
  :param filter_ext: Optional callback that takes the file extensions.
2867
2867
 
2868
2868
  Returning false excludes the file from the list.
2869
- :type filter_ext: typing.Callable
2869
+ :type filter_ext: collections.abc.Callable | None
2870
2870
  :param filter_path:
2871
2871
  :param display_name: Optional callback that takes the full path, returns the name to display.
2872
- :type display_name: typing.Callable
2872
+ :type display_name: collections.abc.Callable | None
2873
2873
  :param add_operator:
2874
2874
  :param add_operator_props:
2875
2875
  """
@@ -3116,10 +3116,10 @@ class NODE_MT_view_pie(bpy_types.Menu, bpy_types._GenericUI):
3116
3116
  searchpaths: list[str],
3117
3117
  operator: str,
3118
3118
  props_default: dict = None,
3119
- prop_filepath: str = "filepath",
3120
- filter_ext: typing.Callable = None,
3119
+ prop_filepath: str | None = "filepath",
3120
+ filter_ext: collections.abc.Callable | None = None,
3121
3121
  filter_path=None,
3122
- display_name: typing.Callable = None,
3122
+ display_name: collections.abc.Callable | None = None,
3123
3123
  add_operator=None,
3124
3124
  add_operator_props=None,
3125
3125
  ):
@@ -3132,14 +3132,14 @@ class NODE_MT_view_pie(bpy_types.Menu, bpy_types._GenericUI):
3132
3132
  :param props_default: Properties to assign to each operator.
3133
3133
  :type props_default: dict
3134
3134
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
3135
- :type prop_filepath: str
3135
+ :type prop_filepath: str | None
3136
3136
  :param filter_ext: Optional callback that takes the file extensions.
3137
3137
 
3138
3138
  Returning false excludes the file from the list.
3139
- :type filter_ext: typing.Callable
3139
+ :type filter_ext: collections.abc.Callable | None
3140
3140
  :param filter_path:
3141
3141
  :param display_name: Optional callback that takes the full path, returns the name to display.
3142
- :type display_name: typing.Callable
3142
+ :type display_name: collections.abc.Callable | None
3143
3143
  :param add_operator:
3144
3144
  :param add_operator_props:
3145
3145
  """
@@ -5671,10 +5671,10 @@ class NODE_PT_node_color_presets(
5671
5671
  searchpaths: list[str],
5672
5672
  operator: str,
5673
5673
  props_default: dict = None,
5674
- prop_filepath: str = "filepath",
5675
- filter_ext: typing.Callable = None,
5674
+ prop_filepath: str | None = "filepath",
5675
+ filter_ext: collections.abc.Callable | None = None,
5676
5676
  filter_path=None,
5677
- display_name: typing.Callable = None,
5677
+ display_name: collections.abc.Callable | None = None,
5678
5678
  add_operator=None,
5679
5679
  add_operator_props=None,
5680
5680
  ):
@@ -5687,14 +5687,14 @@ class NODE_PT_node_color_presets(
5687
5687
  :param props_default: Properties to assign to each operator.
5688
5688
  :type props_default: dict
5689
5689
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
5690
- :type prop_filepath: str
5690
+ :type prop_filepath: str | None
5691
5691
  :param filter_ext: Optional callback that takes the file extensions.
5692
5692
 
5693
5693
  Returning false excludes the file from the list.
5694
- :type filter_ext: typing.Callable
5694
+ :type filter_ext: collections.abc.Callable | None
5695
5695
  :param filter_path:
5696
5696
  :param display_name: Optional callback that takes the full path, returns the name to display.
5697
- :type display_name: typing.Callable
5697
+ :type display_name: collections.abc.Callable | None
5698
5698
  :param add_operator:
5699
5699
  :param add_operator_props:
5700
5700
  """