fake-bpy-module 20241224__py3-none-any.whl → 20241226__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/types/__init__.pyi CHANGED
@@ -92204,6 +92204,8 @@ example of how to create/use filtering/reordering callbacks.
92204
92204
  * FunctionNodeCompare.output_template
92205
92205
  * FunctionNodeEulerToRotation.input_template
92206
92206
  * FunctionNodeEulerToRotation.output_template
92207
+ * FunctionNodeFindInString.input_template
92208
+ * FunctionNodeFindInString.output_template
92207
92209
  * FunctionNodeFloatToInt.input_template
92208
92210
  * FunctionNodeFloatToInt.output_template
92209
92211
  * FunctionNodeHashValue.input_template
@@ -102700,6 +102702,100 @@ This example script prints the vertices and UVs for each polygon, assumes the ac
102700
102702
  :columns: 2
102701
102703
 
102702
102704
 
102705
+ --------------------
102706
+
102707
+ * bpy_struct.id_data
102708
+ * Node.type
102709
+ * Node.location
102710
+ * Node.location_absolute
102711
+ * Node.width
102712
+ * Node.height
102713
+ * Node.dimensions
102714
+ * Node.name
102715
+ * Node.label
102716
+ * Node.inputs
102717
+ * Node.outputs
102718
+ * Node.internal_links
102719
+ * Node.parent
102720
+ * Node.warning_propagation
102721
+ * Node.use_custom_color
102722
+ * Node.color
102723
+ * Node.color_tag
102724
+ * Node.select
102725
+ * Node.show_options
102726
+ * Node.show_preview
102727
+ * Node.hide
102728
+ * Node.mute
102729
+ * Node.show_texture
102730
+ * Node.bl_idname
102731
+ * Node.bl_label
102732
+ * Node.bl_description
102733
+ * Node.bl_icon
102734
+ * Node.bl_static_type
102735
+ * Node.bl_width_default
102736
+ * Node.bl_width_min
102737
+ * Node.bl_width_max
102738
+ * Node.bl_height_default
102739
+ * Node.bl_height_min
102740
+ * Node.bl_height_max
102741
+
102742
+ :columns: 2
102743
+
102744
+
102745
+ --------------------
102746
+
102747
+ * bpy_struct.as_pointer
102748
+ * bpy_struct.driver_add
102749
+ * bpy_struct.driver_remove
102750
+ * bpy_struct.get
102751
+ * bpy_struct.id_properties_clear
102752
+ * bpy_struct.id_properties_ensure
102753
+ * bpy_struct.id_properties_ui
102754
+ * bpy_struct.is_property_hidden
102755
+ * bpy_struct.is_property_overridable_library
102756
+ * bpy_struct.is_property_readonly
102757
+ * bpy_struct.is_property_set
102758
+ * bpy_struct.items
102759
+ * bpy_struct.keyframe_delete
102760
+ * bpy_struct.keyframe_insert
102761
+ * bpy_struct.keys
102762
+ * bpy_struct.path_from_id
102763
+ * bpy_struct.path_resolve
102764
+ * bpy_struct.pop
102765
+ * bpy_struct.property_overridable_library_set
102766
+ * bpy_struct.property_unset
102767
+ * bpy_struct.type_recast
102768
+ * bpy_struct.values
102769
+ * Node.socket_value_update
102770
+ * Node.is_registered_node_type
102771
+ * Node.poll
102772
+ * Node.poll_instance
102773
+ * Node.update
102774
+ * Node.insert_link
102775
+ * Node.init
102776
+ * Node.copy
102777
+ * Node.free
102778
+ * Node.draw_buttons
102779
+ * Node.draw_buttons_ext
102780
+ * Node.draw_label
102781
+ * Node.debug_zone_body_lazy_function_graph
102782
+ * Node.debug_zone_lazy_function_graph
102783
+ * Node.poll
102784
+ * Node.bl_rna_get_subclass
102785
+ * Node.bl_rna_get_subclass_py
102786
+ * NodeInternal.poll
102787
+ * NodeInternal.poll_instance
102788
+ * NodeInternal.update
102789
+ * NodeInternal.draw_buttons
102790
+ * NodeInternal.draw_buttons_ext
102791
+ * NodeInternal.bl_rna_get_subclass
102792
+ * NodeInternal.bl_rna_get_subclass_py
102793
+ * FunctionNode.bl_rna_get_subclass
102794
+ * FunctionNode.bl_rna_get_subclass_py
102795
+
102796
+ :columns: 2
102797
+
102798
+
102703
102799
  --------------------
102704
102800
 
102705
102801
  * bpy_struct.id_data
@@ -142975,6 +143071,57 @@ class FunctionNodeEulerToRotation(FunctionNode, NodeInternal, Node, bpy_struct):
142975
143071
  :rtype: typing.Any
142976
143072
  """
142977
143073
 
143074
+ class FunctionNodeFindInString(FunctionNode, NodeInternal, Node, bpy_struct):
143075
+ @classmethod
143076
+ def is_registered_node_type(cls) -> bool:
143077
+ """True if a registered node type
143078
+
143079
+ :return: Result
143080
+ :rtype: bool
143081
+ """
143082
+
143083
+ @classmethod
143084
+ def input_template(cls, index: int | None) -> NodeInternalSocketTemplate:
143085
+ """Input socket template
143086
+
143087
+ :param index: Index
143088
+ :type index: int | None
143089
+ :return: result
143090
+ :rtype: NodeInternalSocketTemplate
143091
+ """
143092
+
143093
+ @classmethod
143094
+ def output_template(cls, index: int | None) -> NodeInternalSocketTemplate:
143095
+ """Output socket template
143096
+
143097
+ :param index: Index
143098
+ :type index: int | None
143099
+ :return: result
143100
+ :rtype: NodeInternalSocketTemplate
143101
+ """
143102
+
143103
+ @classmethod
143104
+ def bl_rna_get_subclass(cls, id: str | None, default=None) -> Struct:
143105
+ """
143106
+
143107
+ :param id: The RNA type identifier.
143108
+ :type id: str | None
143109
+ :param default:
143110
+ :return: The RNA type or default when not found.
143111
+ :rtype: Struct
143112
+ """
143113
+
143114
+ @classmethod
143115
+ def bl_rna_get_subclass_py(cls, id: str | None, default=None) -> typing.Any:
143116
+ """
143117
+
143118
+ :param id: The RNA type identifier.
143119
+ :type id: str | None
143120
+ :param default:
143121
+ :return: The class or default when not found.
143122
+ :rtype: typing.Any
143123
+ """
143124
+
142978
143125
  class FunctionNodeFloatToInt(FunctionNode, NodeInternal, Node, bpy_struct):
142979
143126
  rounding_mode: bpy.typing.NodeFloatToIntItems
142980
143127
  """ Method used to convert the float to an integer
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fake-bpy-module
3
- Version: 20241224
3
+ Version: 20241226
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
@@ -275,7 +275,7 @@ bpy/ops/workspace/__init__.pyi,sha256=BHvDV5CcVBnuKaL8akhm-Es7VcGUjf3jGFTbfx5YHC
275
275
  bpy/ops/world/__init__.pyi,sha256=pBV8EDA8HoWovDSul6mxkF7Mt6N3PQWuukRhkw3dBr8,601
276
276
  bpy/path/__init__.pyi,sha256=N-QNSw3piTmrzrydYRyWab7GFGOh3BsdaS91x4Kf-Cc,5403
277
277
  bpy/props/__init__.pyi,sha256=BqqbIZuZNtKAJ3-FpeQoR_yzNV-a4fEb09xdCPZBEuI,31446
278
- bpy/types/__init__.pyi,sha256=7gniI7pAiFgCOsTewS5qNJVph8MKAWP_qWQ_BVbXYBE,5401774
278
+ bpy/types/__init__.pyi,sha256=6YQQdzF1ta_iD7J8uzkG5DLjz1GCNqt3Bd90UKRALFQ,5405183
279
279
  bpy/typing/__init__.pyi,sha256=u2XKjd6ZB1Wjt7JwabxexZdswEZLYR2jQpxzzp6AThg,138679
280
280
  bpy/utils/__init__.pyi,sha256=wvjdEDEtBn5bR5pZG7HnW1ZdL_J-IQYvmB7e4AwTW0s,13537
281
281
  bpy/utils/previews/__init__.pyi,sha256=AsbDN4vRLbSTZ7_S_4LqmI1sJmV_8NnqDt1QfBdH94Y,2280
@@ -325,7 +325,7 @@ gpu/texture/__init__.pyi,sha256=NWixhD9M2vFrAIWlQDM0Co-CNRiU7BbL7imkSOloHHI,641
325
325
  gpu/types/__init__.pyi,sha256=3irdUxznJA1-vvflQGps24-pxPBxopb_eOtUkiiw25I,26846
326
326
  gpu_extras/__init__.pyi,sha256=oNgtMNheClZ_iCmKSH63hBJ4U0huayOWKil-qPvYHds,213
327
327
  gpu_extras/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
328
- gpu_extras/batch/__init__.pyi,sha256=tgSLHYF1sb3LZuu6iJ6l6tNmLCknXid9wy3_L7xp2j8,855
328
+ gpu_extras/batch/__init__.pyi,sha256=WiNyGZ_ivr5sKh_DePTwqR4ue9QHd8YjBdJwUHHXMkk,856
329
329
  gpu_extras/presets/__init__.pyi,sha256=XARWkuQ0koiQPC3Cjh2l7D2f9n3IgHRf5Ymd9xKkjBg,1435
330
330
  graphviz_export/__init__.pyi,sha256=LBiepSfMSL7Qix8FZ6LYKmbPgu1AHRvRw3yHDDWYrEw,215
331
331
  graphviz_export/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -358,7 +358,7 @@ rna_prop_ui/__init__.pyi,sha256=lShhkbbeJ_ANi2dy4J4HIkyp1HZrMqCfhcf8QpAQsj0,1281
358
358
  rna_prop_ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
359
359
  rna_xml/__init__.pyi,sha256=idYsAZj-_egBKMA2pQl2P9IoNhZxXIkBSALFuq-ylO8,577
360
360
  rna_xml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
361
- fake_bpy_module-20241224.dist-info/METADATA,sha256=y1Reg-hMwInCi4iChx-4Q2Uom5lF8W3T-ak4s4k1c8s,7289
362
- fake_bpy_module-20241224.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
- fake_bpy_module-20241224.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
- fake_bpy_module-20241224.dist-info/RECORD,,
361
+ fake_bpy_module-20241226.dist-info/METADATA,sha256=Cz_9zgSw-yURTERag5e3hKmDwkS-9fXpCMUA2o42938,7289
362
+ fake_bpy_module-20241226.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
363
+ fake_bpy_module-20241226.dist-info/top_level.txt,sha256=SZm3DVRKif7dFSjYKiIIg3_7uqjIwRAwOnCIcT4hRNM,500
364
+ fake_bpy_module-20241226.dist-info/RECORD,,
@@ -1,13 +1,12 @@
1
1
  import typing
2
2
  import collections.abc
3
3
  import typing_extensions
4
- import bgl
5
4
  import gpu.types
6
5
 
7
6
  def batch_for_shader(
8
7
  shader: gpu.types.GPUShader,
9
8
  type: str,
10
- content: dict[str, bgl.Buffer],
9
+ content: dict[str, gpu.types.Buffer],
11
10
  *,
12
11
  indices=None,
13
12
  ) -> gpu.types.GPUBatch:
@@ -19,7 +18,7 @@ def batch_for_shader(
19
18
  :type type: str
20
19
  :param content: Maps the name of the shader attribute with the data to fill the vertex buffer.
21
20
  For the dictionary values see documentation for `gpu.types.GPUVertBuf.attr_fill` data argument.
22
- :type content: dict[str, bgl.Buffer]
21
+ :type content: dict[str, gpu.types.Buffer]
23
22
  :return: compatible batch
24
23
  :rtype: gpu.types.GPUBatch
25
24
  """