fake-bpy-module 20240716__py3-none-any.whl → 20240717__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.

bpy/utils/__init__.pyi CHANGED
@@ -243,6 +243,24 @@ def register_cli_command(id: str | None, execute: collections.abc.Callable | Non
243
243
  ...
244
244
 
245
245
  def register_manual_map(manual_hook): ...
246
+ def register_preset_path(path: str | None) -> bool:
247
+ """Register a preset search path.
248
+
249
+ :param path: preset directory (must be an absolute path).
250
+
251
+ This path must contain a "presets" subdirectory which will typically contain presets for add-ons.
252
+
253
+ You may call bpy.utils.register_preset_path(os.path.dirname(__file__)) from an add-ons __init__.py file.
254
+ When the __init__.py is in the same location as a presets directory.
255
+ For example an operators preset would be located under: presets/operator/{operator.id}/
256
+ where operator.id is the bl_idname of the operator.
257
+ :type path: str | None
258
+ :return: success
259
+ :rtype: bool
260
+ """
261
+
262
+ ...
263
+
246
264
  def register_submodule_factory(
247
265
  module_name: str | None, submodule_names: list[str] | None
248
266
  ):
@@ -408,6 +426,19 @@ def unregister_cli_command(handle):
408
426
  ...
409
427
 
410
428
  def unregister_manual_map(manual_hook): ...
429
+ def unregister_preset_path(path: str | None) -> bool:
430
+ """Unregister a preset search path.
431
+
432
+ :param path: preset directory (must be an absolute path).
433
+
434
+ This must match the registered path exactly.
435
+ :type path: str | None
436
+ :return: success
437
+ :rtype: bool
438
+ """
439
+
440
+ ...
441
+
411
442
  def unregister_tool(tool_cls): ...
412
443
  def user_resource(
413
444
  resource_type, *, path: str | None = "", create: bool | None = False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fake-bpy-module
3
- Version: 20240716
3
+ Version: 20240717
4
4
  Summary: Collection of the fake Blender Python API module for the code completion.
5
5
  Author: nutti
6
6
  Author-email: nutti.metro@gmail.com
@@ -272,7 +272,7 @@ bpy/ops/world/__init__.pyi,sha256=_z3cX9CYV0nTmSiSQcC82nRiXYriWMcHomfxmSl2GxM,10
272
272
  bpy/path/__init__.pyi,sha256=eHZZMKEe97JZsx7p5YzG8YtEJ6X7T2gVtMUO8oRFevU,5924
273
273
  bpy/props/__init__.pyi,sha256=Ve1JEXbDvR1jPFE21dZEQQaBz15sdZ0IG-N3CVxtV40,29575
274
274
  bpy/types/__init__.pyi,sha256=eL3mGCt_R4QSj0W0dVkd9vl8JlC7SzjGmFMr0_T4_uw,5266226
275
- bpy/utils/__init__.pyi,sha256=rId5dvsPSGULyxAWsmV-B2uGHWvnMNAHo4CV8LwYnaY,12760
275
+ bpy/utils/__init__.pyi,sha256=rG2EBRXMb8Mzr99UoscRuEqtAQHYqRMob8vYyaRF6-g,13752
276
276
  bpy/utils/previews/__init__.pyi,sha256=0mvcirUV7D4ByWzEUIBVEEJ1VTFhBjBcstllI7L6MRc,2439
277
277
  bpy/utils/units/__init__.pyi,sha256=2OtqF54xi6peGyNeSGkuaLpytf2EESF753zqooe8bwc,2719
278
278
  bpy_extras/__init__.pyi,sha256=2VLH9ypoDdQ26LNuGXzPoFLPKCf7sZWZJRBF1_mOV18,862
@@ -355,7 +355,7 @@ rna_xml/__init__.pyi,sha256=aUk0kaxu1bMT5z1b2S_CnI0r-p7119GGYDjeV65sx6w,670
355
355
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
356
356
  sys_info/__init__.pyi,sha256=-GCmGVtiditgEnxiqi7hwH2wbEMmrtUNGvMEbxVezU4,189
357
357
  sys_info/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
358
- fake_bpy_module-20240716.dist-info/METADATA,sha256=SMqUqzKD3-faegbDXGsJG_oLCT8nLed_YwipYF6_3Z8,7188
359
- fake_bpy_module-20240716.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
360
- fake_bpy_module-20240716.dist-info/top_level.txt,sha256=laOLfHIg0_6N4ntsGrWh85yODawYeLVGI-wex_FGLUI,509
361
- fake_bpy_module-20240716.dist-info/RECORD,,
358
+ fake_bpy_module-20240717.dist-info/METADATA,sha256=yuRRKYTM_aHNazH3Q-cz-w79VmFMJNRlSyIcMXupJrk,7188
359
+ fake_bpy_module-20240717.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
360
+ fake_bpy_module-20240717.dist-info/top_level.txt,sha256=laOLfHIg0_6N4ntsGrWh85yODawYeLVGI-wex_FGLUI,509
361
+ fake_bpy_module-20240717.dist-info/RECORD,,