Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bmesh.types.BMFace.verts doesn't specify BMVert as generic for BMElemSeq #287

Closed
Andrej730 opened this issue Jul 10, 2024 · 1 comment
Closed
Assignees
Labels

Comments

@Andrej730
Copy link
Contributor

See example issue:

import bmesh
from typing import assert_type

bm = bmesh.new()
face = bm.faces[0]
verts = [i for i in face.verts]
# "assert_type" mismatch: expected "list[BMVert]" but received "list[Unknown | BMVert]"
assert_type(verts, list[bmesh.types.BMVert])
@nutti nutti self-assigned this Jul 12, 2024
@nutti nutti added the bug label Jul 12, 2024
@nutti
Copy link
Owner

nutti commented Jul 12, 2024

This issue is now fixed.

@nutti nutti closed this as completed Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants