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
@@ -196,10 +196,10 @@ class GPENCIL_MT_material_context_menu(bpy_types.Menu, bpy_types._GenericUI):
196
196
  searchpaths: list[str],
197
197
  operator: str,
198
198
  props_default: dict = None,
199
- prop_filepath: str = "filepath",
200
- filter_ext: typing.Callable = None,
199
+ prop_filepath: str | None = "filepath",
200
+ filter_ext: collections.abc.Callable | None = None,
201
201
  filter_path=None,
202
- display_name: typing.Callable = None,
202
+ display_name: collections.abc.Callable | None = None,
203
203
  add_operator=None,
204
204
  add_operator_props=None,
205
205
  ):
@@ -212,14 +212,14 @@ class GPENCIL_MT_material_context_menu(bpy_types.Menu, bpy_types._GenericUI):
212
212
  :param props_default: Properties to assign to each operator.
213
213
  :type props_default: dict
214
214
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
215
- :type prop_filepath: str
215
+ :type prop_filepath: str | None
216
216
  :param filter_ext: Optional callback that takes the file extensions.
217
217
 
218
218
  Returning false excludes the file from the list.
219
- :type filter_ext: typing.Callable
219
+ :type filter_ext: collections.abc.Callable | None
220
220
  :param filter_path:
221
221
  :param display_name: Optional callback that takes the full path, returns the name to display.
222
- :type display_name: typing.Callable
222
+ :type display_name: collections.abc.Callable | None
223
223
  :param add_operator:
224
224
  :param add_operator_props:
225
225
  """
@@ -714,10 +714,10 @@ class MATERIAL_PT_gpencil_material_presets(
714
714
  searchpaths: list[str],
715
715
  operator: str,
716
716
  props_default: dict = None,
717
- prop_filepath: str = "filepath",
718
- filter_ext: typing.Callable = None,
717
+ prop_filepath: str | None = "filepath",
718
+ filter_ext: collections.abc.Callable | None = None,
719
719
  filter_path=None,
720
- display_name: typing.Callable = None,
720
+ display_name: collections.abc.Callable | None = None,
721
721
  add_operator=None,
722
722
  add_operator_props=None,
723
723
  ):
@@ -730,14 +730,14 @@ class MATERIAL_PT_gpencil_material_presets(
730
730
  :param props_default: Properties to assign to each operator.
731
731
  :type props_default: dict
732
732
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
733
- :type prop_filepath: str
733
+ :type prop_filepath: str | None
734
734
  :param filter_ext: Optional callback that takes the file extensions.
735
735
 
736
736
  Returning false excludes the file from the list.
737
- :type filter_ext: typing.Callable
737
+ :type filter_ext: collections.abc.Callable | None
738
738
  :param filter_path:
739
739
  :param display_name: Optional callback that takes the full path, returns the name to display.
740
- :type display_name: typing.Callable
740
+ :type display_name: collections.abc.Callable | None
741
741
  :param add_operator:
742
742
  :param add_operator_props:
743
743
  """
@@ -195,10 +195,10 @@ class COLLECTION_MT_context_menu(bpy_types.Menu, bpy_types._GenericUI):
195
195
  searchpaths: list[str],
196
196
  operator: str,
197
197
  props_default: dict = None,
198
- prop_filepath: str = "filepath",
199
- filter_ext: typing.Callable = None,
198
+ prop_filepath: str | None = "filepath",
199
+ filter_ext: collections.abc.Callable | None = None,
200
200
  filter_path=None,
201
- display_name: typing.Callable = None,
201
+ display_name: collections.abc.Callable | None = None,
202
202
  add_operator=None,
203
203
  add_operator_props=None,
204
204
  ):
@@ -211,14 +211,14 @@ class COLLECTION_MT_context_menu(bpy_types.Menu, bpy_types._GenericUI):
211
211
  :param props_default: Properties to assign to each operator.
212
212
  :type props_default: dict
213
213
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
214
- :type prop_filepath: str
214
+ :type prop_filepath: str | None
215
215
  :param filter_ext: Optional callback that takes the file extensions.
216
216
 
217
217
  Returning false excludes the file from the list.
218
- :type filter_ext: typing.Callable
218
+ :type filter_ext: collections.abc.Callable | None
219
219
  :param filter_path:
220
220
  :param display_name: Optional callback that takes the full path, returns the name to display.
221
- :type display_name: typing.Callable
221
+ :type display_name: collections.abc.Callable | None
222
222
  :param add_operator:
223
223
  :param add_operator_props:
224
224
  """
@@ -201,10 +201,10 @@ class RENDER_MT_framerate_presets(bpy_types.Menu, bpy_types._GenericUI):
201
201
  searchpaths: list[str],
202
202
  operator: str,
203
203
  props_default: dict = None,
204
- prop_filepath: str = "filepath",
205
- filter_ext: typing.Callable = None,
204
+ prop_filepath: str | None = "filepath",
205
+ filter_ext: collections.abc.Callable | None = None,
206
206
  filter_path=None,
207
- display_name: typing.Callable = None,
207
+ display_name: collections.abc.Callable | None = None,
208
208
  add_operator=None,
209
209
  add_operator_props=None,
210
210
  ):
@@ -217,14 +217,14 @@ class RENDER_MT_framerate_presets(bpy_types.Menu, bpy_types._GenericUI):
217
217
  :param props_default: Properties to assign to each operator.
218
218
  :type props_default: dict
219
219
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
220
- :type prop_filepath: str
220
+ :type prop_filepath: str | None
221
221
  :param filter_ext: Optional callback that takes the file extensions.
222
222
 
223
223
  Returning false excludes the file from the list.
224
- :type filter_ext: typing.Callable
224
+ :type filter_ext: collections.abc.Callable | None
225
225
  :param filter_path:
226
226
  :param display_name: Optional callback that takes the full path, returns the name to display.
227
- :type display_name: typing.Callable
227
+ :type display_name: collections.abc.Callable | None
228
228
  :param add_operator:
229
229
  :param add_operator_props:
230
230
  """
@@ -484,10 +484,10 @@ class RENDER_PT_ffmpeg_presets(
484
484
  searchpaths: list[str],
485
485
  operator: str,
486
486
  props_default: dict = None,
487
- prop_filepath: str = "filepath",
488
- filter_ext: typing.Callable = None,
487
+ prop_filepath: str | None = "filepath",
488
+ filter_ext: collections.abc.Callable | None = None,
489
489
  filter_path=None,
490
- display_name: typing.Callable = None,
490
+ display_name: collections.abc.Callable | None = None,
491
491
  add_operator=None,
492
492
  add_operator_props=None,
493
493
  ):
@@ -500,14 +500,14 @@ class RENDER_PT_ffmpeg_presets(
500
500
  :param props_default: Properties to assign to each operator.
501
501
  :type props_default: dict
502
502
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
503
- :type prop_filepath: str
503
+ :type prop_filepath: str | None
504
504
  :param filter_ext: Optional callback that takes the file extensions.
505
505
 
506
506
  Returning false excludes the file from the list.
507
- :type filter_ext: typing.Callable
507
+ :type filter_ext: collections.abc.Callable | None
508
508
  :param filter_path:
509
509
  :param display_name: Optional callback that takes the full path, returns the name to display.
510
- :type display_name: typing.Callable
510
+ :type display_name: collections.abc.Callable | None
511
511
  :param add_operator:
512
512
  :param add_operator_props:
513
513
  """
@@ -756,10 +756,10 @@ class RENDER_PT_format_presets(
756
756
  searchpaths: list[str],
757
757
  operator: str,
758
758
  props_default: dict = None,
759
- prop_filepath: str = "filepath",
760
- filter_ext: typing.Callable = None,
759
+ prop_filepath: str | None = "filepath",
760
+ filter_ext: collections.abc.Callable | None = None,
761
761
  filter_path=None,
762
- display_name: typing.Callable = None,
762
+ display_name: collections.abc.Callable | None = None,
763
763
  add_operator=None,
764
764
  add_operator_props=None,
765
765
  ):
@@ -772,14 +772,14 @@ class RENDER_PT_format_presets(
772
772
  :param props_default: Properties to assign to each operator.
773
773
  :type props_default: dict
774
774
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
775
- :type prop_filepath: str
775
+ :type prop_filepath: str | None
776
776
  :param filter_ext: Optional callback that takes the file extensions.
777
777
 
778
778
  Returning false excludes the file from the list.
779
- :type filter_ext: typing.Callable
779
+ :type filter_ext: collections.abc.Callable | None
780
780
  :param filter_path:
781
781
  :param display_name: Optional callback that takes the full path, returns the name to display.
782
- :type display_name: typing.Callable
782
+ :type display_name: collections.abc.Callable | None
783
783
  :param add_operator:
784
784
  :param add_operator_props:
785
785
  """
@@ -280,10 +280,10 @@ class VIEW3D_MT_tools_projectpaint_clone(bpy_types.Menu, bpy_types._GenericUI):
280
280
  searchpaths: list[str],
281
281
  operator: str,
282
282
  props_default: dict = None,
283
- prop_filepath: str = "filepath",
284
- filter_ext: typing.Callable = None,
283
+ prop_filepath: str | None = "filepath",
284
+ filter_ext: collections.abc.Callable | None = None,
285
285
  filter_path=None,
286
- display_name: typing.Callable = None,
286
+ display_name: collections.abc.Callable | None = None,
287
287
  add_operator=None,
288
288
  add_operator_props=None,
289
289
  ):
@@ -296,14 +296,14 @@ class VIEW3D_MT_tools_projectpaint_clone(bpy_types.Menu, bpy_types._GenericUI):
296
296
  :param props_default: Properties to assign to each operator.
297
297
  :type props_default: dict
298
298
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
299
- :type prop_filepath: str
299
+ :type prop_filepath: str | None
300
300
  :param filter_ext: Optional callback that takes the file extensions.
301
301
 
302
302
  Returning false excludes the file from the list.
303
- :type filter_ext: typing.Callable
303
+ :type filter_ext: collections.abc.Callable | None
304
304
  :param filter_path:
305
305
  :param display_name: Optional callback that takes the full path, returns the name to display.
306
- :type display_name: typing.Callable
306
+ :type display_name: collections.abc.Callable | None
307
307
  :param add_operator:
308
308
  :param add_operator_props:
309
309
  """
@@ -196,10 +196,10 @@ class PARTICLE_MT_context_menu(bpy_types.Menu, bpy_types._GenericUI):
196
196
  searchpaths: list[str],
197
197
  operator: str,
198
198
  props_default: dict = None,
199
- prop_filepath: str = "filepath",
200
- filter_ext: typing.Callable = None,
199
+ prop_filepath: str | None = "filepath",
200
+ filter_ext: collections.abc.Callable | None = None,
201
201
  filter_path=None,
202
- display_name: typing.Callable = None,
202
+ display_name: collections.abc.Callable | None = None,
203
203
  add_operator=None,
204
204
  add_operator_props=None,
205
205
  ):
@@ -212,14 +212,14 @@ class PARTICLE_MT_context_menu(bpy_types.Menu, bpy_types._GenericUI):
212
212
  :param props_default: Properties to assign to each operator.
213
213
  :type props_default: dict
214
214
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
215
- :type prop_filepath: str
215
+ :type prop_filepath: str | None
216
216
  :param filter_ext: Optional callback that takes the file extensions.
217
217
 
218
218
  Returning false excludes the file from the list.
219
- :type filter_ext: typing.Callable
219
+ :type filter_ext: collections.abc.Callable | None
220
220
  :param filter_path:
221
221
  :param display_name: Optional callback that takes the full path, returns the name to display.
222
- :type display_name: typing.Callable
222
+ :type display_name: collections.abc.Callable | None
223
223
  :param add_operator:
224
224
  :param add_operator_props:
225
225
  """
@@ -481,10 +481,10 @@ class PARTICLE_PT_hair_dynamics_presets(
481
481
  searchpaths: list[str],
482
482
  operator: str,
483
483
  props_default: dict = None,
484
- prop_filepath: str = "filepath",
485
- filter_ext: typing.Callable = None,
484
+ prop_filepath: str | None = "filepath",
485
+ filter_ext: collections.abc.Callable | None = None,
486
486
  filter_path=None,
487
- display_name: typing.Callable = None,
487
+ display_name: collections.abc.Callable | None = None,
488
488
  add_operator=None,
489
489
  add_operator_props=None,
490
490
  ):
@@ -497,14 +497,14 @@ class PARTICLE_PT_hair_dynamics_presets(
497
497
  :param props_default: Properties to assign to each operator.
498
498
  :type props_default: dict
499
499
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
500
- :type prop_filepath: str
500
+ :type prop_filepath: str | None
501
501
  :param filter_ext: Optional callback that takes the file extensions.
502
502
 
503
503
  Returning false excludes the file from the list.
504
- :type filter_ext: typing.Callable
504
+ :type filter_ext: collections.abc.Callable | None
505
505
  :param filter_path:
506
506
  :param display_name: Optional callback that takes the full path, returns the name to display.
507
- :type display_name: typing.Callable
507
+ :type display_name: collections.abc.Callable | None
508
508
  :param add_operator:
509
509
  :param add_operator_props:
510
510
  """
@@ -194,10 +194,10 @@ class CLOTH_PT_presets(bpy_types.Panel, bl_ui.utils.PresetPanel, bpy_types._Gene
194
194
  searchpaths: list[str],
195
195
  operator: str,
196
196
  props_default: dict = None,
197
- prop_filepath: str = "filepath",
198
- filter_ext: typing.Callable = None,
197
+ prop_filepath: str | None = "filepath",
198
+ filter_ext: collections.abc.Callable | None = None,
199
199
  filter_path=None,
200
- display_name: typing.Callable = None,
200
+ display_name: collections.abc.Callable | None = None,
201
201
  add_operator=None,
202
202
  add_operator_props=None,
203
203
  ):
@@ -210,14 +210,14 @@ class CLOTH_PT_presets(bpy_types.Panel, bl_ui.utils.PresetPanel, bpy_types._Gene
210
210
  :param props_default: Properties to assign to each operator.
211
211
  :type props_default: dict
212
212
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
213
- :type prop_filepath: str
213
+ :type prop_filepath: str | None
214
214
  :param filter_ext: Optional callback that takes the file extensions.
215
215
 
216
216
  Returning false excludes the file from the list.
217
- :type filter_ext: typing.Callable
217
+ :type filter_ext: collections.abc.Callable | None
218
218
  :param filter_path:
219
219
  :param display_name: Optional callback that takes the full path, returns the name to display.
220
- :type display_name: typing.Callable
220
+ :type display_name: collections.abc.Callable | None
221
221
  :param add_operator:
222
222
  :param add_operator_props:
223
223
  """
@@ -194,10 +194,10 @@ class FLUID_PT_presets(bpy_types.Panel, bl_ui.utils.PresetPanel, bpy_types._Gene
194
194
  searchpaths: list[str],
195
195
  operator: str,
196
196
  props_default: dict = None,
197
- prop_filepath: str = "filepath",
198
- filter_ext: typing.Callable = None,
197
+ prop_filepath: str | None = "filepath",
198
+ filter_ext: collections.abc.Callable | None = None,
199
199
  filter_path=None,
200
- display_name: typing.Callable = None,
200
+ display_name: collections.abc.Callable | None = None,
201
201
  add_operator=None,
202
202
  add_operator_props=None,
203
203
  ):
@@ -210,14 +210,14 @@ class FLUID_PT_presets(bpy_types.Panel, bl_ui.utils.PresetPanel, bpy_types._Gene
210
210
  :param props_default: Properties to assign to each operator.
211
211
  :type props_default: dict
212
212
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
213
- :type prop_filepath: str
213
+ :type prop_filepath: str | None
214
214
  :param filter_ext: Optional callback that takes the file extensions.
215
215
 
216
216
  Returning false excludes the file from the list.
217
- :type filter_ext: typing.Callable
217
+ :type filter_ext: collections.abc.Callable | None
218
218
  :param filter_path:
219
219
  :param display_name: Optional callback that takes the full path, returns the name to display.
220
- :type display_name: typing.Callable
220
+ :type display_name: collections.abc.Callable | None
221
221
  :param add_operator:
222
222
  :param add_operator_props:
223
223
  """
@@ -446,10 +446,10 @@ class RENDER_PT_eevee_next_raytracing_presets(
446
446
  searchpaths: list[str],
447
447
  operator: str,
448
448
  props_default: dict = None,
449
- prop_filepath: str = "filepath",
450
- filter_ext: typing.Callable = None,
449
+ prop_filepath: str | None = "filepath",
450
+ filter_ext: collections.abc.Callable | None = None,
451
451
  filter_path=None,
452
- display_name: typing.Callable = None,
452
+ display_name: collections.abc.Callable | None = None,
453
453
  add_operator=None,
454
454
  add_operator_props=None,
455
455
  ):
@@ -462,14 +462,14 @@ class RENDER_PT_eevee_next_raytracing_presets(
462
462
  :param props_default: Properties to assign to each operator.
463
463
  :type props_default: dict
464
464
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
465
- :type prop_filepath: str
465
+ :type prop_filepath: str | None
466
466
  :param filter_ext: Optional callback that takes the file extensions.
467
467
 
468
468
  Returning false excludes the file from the list.
469
- :type filter_ext: typing.Callable
469
+ :type filter_ext: collections.abc.Callable | None
470
470
  :param filter_path:
471
471
  :param display_name: Optional callback that takes the full path, returns the name to display.
472
- :type display_name: typing.Callable
472
+ :type display_name: collections.abc.Callable | None
473
473
  :param add_operator:
474
474
  :param add_operator_props:
475
475
  """
@@ -195,10 +195,10 @@ class TEXTURE_MT_context_menu(bpy_types.Menu, bpy_types._GenericUI):
195
195
  searchpaths: list[str],
196
196
  operator: str,
197
197
  props_default: dict = None,
198
- prop_filepath: str = "filepath",
199
- filter_ext: typing.Callable = None,
198
+ prop_filepath: str | None = "filepath",
199
+ filter_ext: collections.abc.Callable | None = None,
200
200
  filter_path=None,
201
- display_name: typing.Callable = None,
201
+ display_name: collections.abc.Callable | None = None,
202
202
  add_operator=None,
203
203
  add_operator_props=None,
204
204
  ):
@@ -211,14 +211,14 @@ class TEXTURE_MT_context_menu(bpy_types.Menu, bpy_types._GenericUI):
211
211
  :param props_default: Properties to assign to each operator.
212
212
  :type props_default: dict
213
213
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
214
- :type prop_filepath: str
214
+ :type prop_filepath: str | None
215
215
  :param filter_ext: Optional callback that takes the file extensions.
216
216
 
217
217
  Returning false excludes the file from the list.
218
- :type filter_ext: typing.Callable
218
+ :type filter_ext: collections.abc.Callable | None
219
219
  :param filter_path:
220
220
  :param display_name: Optional callback that takes the full path, returns the name to display.
221
- :type display_name: typing.Callable
221
+ :type display_name: collections.abc.Callable | None
222
222
  :param add_operator:
223
223
  :param add_operator_props:
224
224
  """
@@ -194,10 +194,10 @@ class VIEWLAYER_MT_lightgroup_sync(bpy_types.Menu, bpy_types._GenericUI):
194
194
  searchpaths: list[str],
195
195
  operator: str,
196
196
  props_default: dict = None,
197
- prop_filepath: str = "filepath",
198
- filter_ext: typing.Callable = None,
197
+ prop_filepath: str | None = "filepath",
198
+ filter_ext: collections.abc.Callable | None = None,
199
199
  filter_path=None,
200
- display_name: typing.Callable = None,
200
+ display_name: collections.abc.Callable | None = None,
201
201
  add_operator=None,
202
202
  add_operator_props=None,
203
203
  ):
@@ -210,14 +210,14 @@ class VIEWLAYER_MT_lightgroup_sync(bpy_types.Menu, bpy_types._GenericUI):
210
210
  :param props_default: Properties to assign to each operator.
211
211
  :type props_default: dict
212
212
  :param prop_filepath: Optional operator filepath property (defaults to "filepath").
213
- :type prop_filepath: str
213
+ :type prop_filepath: str | None
214
214
  :param filter_ext: Optional callback that takes the file extensions.
215
215
 
216
216
  Returning false excludes the file from the list.
217
- :type filter_ext: typing.Callable
217
+ :type filter_ext: collections.abc.Callable | None
218
218
  :param filter_path:
219
219
  :param display_name: Optional callback that takes the full path, returns the name to display.
220
- :type display_name: typing.Callable
220
+ :type display_name: collections.abc.Callable | None
221
221
  :param add_operator:
222
222
  :param add_operator_props:
223
223
  """