Skip to content

Conversation

@ElijahAhianyo
Copy link
Contributor

No description provided.

@ElijahAhianyo ElijahAhianyo marked this pull request as ready for review August 8, 2023 22:13
@ElijahAhianyo ElijahAhianyo changed the title WIP: Open Knowledge Validator Open Knowledge Validator Aug 8, 2023
@@ -0,0 +1,13 @@
from pydantic import BaseModel
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is pydantic included in the pyproject toml file?


class OKH(BaseModel, extra="allow"):
title: str
bom: list[str]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as per https://okh.makernet.org/form, I think bom field is a string, not an array of strings

@Jbutler-helpful
Copy link
Collaborator

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

Successfully merging this pull request may close these issues.

3 participants