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

@@ -3,51 +3,6 @@ import bpy.types
3
3
 
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
- class ImagePreviewCollection:
7
- """Dictionary-like class of previews.This is a subclass of Python's built-in dict type,
8
- used to store multiple image previews.
9
- """
10
-
11
- def clear(self):
12
- """Clear all previews."""
13
- ...
14
-
15
- def close(self):
16
- """Close the collection and clear all previews."""
17
- ...
18
-
19
- def load(
20
- self,
21
- name: str,
22
- filepath: typing.Union[str, bytes],
23
- filetype: str,
24
- force_reload: bool = False,
25
- ) -> bool:
26
- """Generate a new preview from given file path.
27
-
28
- :param name: The name (unique id) identifying the preview.
29
- :type name: str
30
- :param filepath: The file path to generate the preview from.
31
- :type filepath: typing.Union[str, bytes]
32
- :param filetype: The type of file, needed to generate the preview in ['IMAGE', 'MOVIE', 'BLEND', 'FONT'].
33
- :type filetype: str
34
- :param force_reload: If True, force running thumbnail manager even if preview already exists in cache.
35
- :type force_reload: bool
36
- :return: The Preview matching given name, or a new empty one.
37
- :rtype: bpy.types.ImagePreview
38
- """
39
- ...
40
-
41
- def new(self, name: str) -> str:
42
- """Generate a new empty preview.
43
-
44
- :param name: The name (unique id) identifying the preview.
45
- :type name: str
46
- :return: The Preview matching given name, or a new empty one.
47
- :rtype: bpy.types.ImagePreview
48
- """
49
- ...
50
-
51
6
  class ImagePreviewCollection:
52
7
  """ """
53
8