Skip to content

implement a guard in material.py #543

@proccaserra

Description

@proccaserra

I'm curious about what we happen if we were to provide the characteristic_data["value"] has a not acceptable data type (list, tuples, set, object, ....).
I think it would append an empty characteristic to the material. Thus, a guard could force a return statement in case of a not acceptable type.

line 92 in material.py

Metadata

Metadata

Assignees

Type

No type

Projects

Status

To do

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions