fake-bpy-module icon indicating copy to clipboard operation
fake-bpy-module copied to clipboard

Fake Blender Python API module collection for the code completion.

Results 64 fake-bpy-module issues
Sort by recently updated
recently updated
newest added
trafficstars

See example below: ```python import bmesh from typing import assert_type bm = bmesh.new() layer = bm.verts.layers.float.verify() deform = bm.verts.layers.deform.active vert = bm.verts[0] f = vert[layer] dv = vert[deform] # It...

enhancement
blender patch

### Expected behavior All rna_enum references should be refined to a literal type. ### Description about the bug `bpy.app.is_job_running()` and `bpy.props.(Bool|Int|Float|…)Property)()` have enum arguments that are not refined correctly. These...

bug
blender patch

### Purpose of the pull request - Follow up to #295 This PR adds type aliases for the literals that contain the enum items. Using the type aliases avoid having...

enhancement

### Expected behavior Non-optional types should have `...` as default value instead of `None`. ### Description about the bug Having `None` as the default value for a none optional type...

`fake-bpy-module-4.2` isn't up to download on pip, the link in the README also gives a 404

### System Information * OS: Windows * Blender version: 4.4 ### Description about the bug Mypy exits with syntax error when using python 3.11 starting from fake-bpy-module-4.2. ```shell > mypy...

Was testing #360 after the fix and one line from the test was still failing: ```python # "assert_type" mismatch: expected "list[TestPropertyGroup]" but received "list[TestPropertyGroup | None]" assert_type(props.my_col.values(), list[TestPropertyGroup]) ``` Though...

fake-bpy-module-latest==20250604 In Blender it's possible to check object being present not just in .blend file in general, but whether it's present as a local object or object linked from the...

bug

Example snippet: ```python import bpy def draw_callback(*args, **kwargs): print("Draw callback called with:") print(" args:", args) print(" kwargs:", kwargs) # TypeError: Space.draw_handler_add() argument 3 must be tuple, not None handler =...

bug
blender patch

### Description about the feature When creating nodes, it doesn't seem possible to use the "default_value" attribute for a `NodeSocket`, as those are defined for subclasses of `NodeSocket` such as...

enhancement