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

Checking types of initialization values passed to artifacts #1133

Open
yoavkatz opened this issue Aug 12, 2024 · 0 comments
Open

Checking types of initialization values passed to artifacts #1133

yoavkatz opened this issue Aug 12, 2024 · 0 comments
Assignees

Comments

@yoavkatz
Copy link
Member

Today, artifacts can be initialized with members of any type regarding of the definition.
For example, the "card" attribute can be initialized by any type.

Error checking is done sporadically and requires specific error checking on each field and drafting an error message.

We should have a generic check to see that the type of the attribute meets the defined types.

Or at least have a method in artificat like verify_type(["metrics","card",..."). That would check specfied fields.
.

@yoavkatz yoavkatz changed the title Checking type passed to artificants Checking types of initialization values passed to artifacts Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants