mirror of
https://github.com/gumyr/build123d.git
synced 2026-05-10 22:23:10 -07:00
ignore type checking for a py-materials call
This commit is contained in:
parent
035bdbc4d9
commit
e641e666ee
1 changed files with 1 additions and 1 deletions
|
|
@ -1667,7 +1667,7 @@ class Material:
|
|||
**kwargs: Any,
|
||||
):
|
||||
if isinstance(material, str):
|
||||
mat = pymat[material]
|
||||
mat = pymat[material] # type: ignore[index]
|
||||
elif isinstance(material, pymat.Material):
|
||||
mat = material
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue