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

chore: add model_type validations #52

Merged
merged 6 commits into from
Jul 1, 2024

Conversation

bigmoby
Copy link
Member

@bigmoby bigmoby commented Jun 29, 2024

With this PR several validators have been applied to ModelIn class.

print " ";
print "#### Generated by tools/update-authors.sh.\n";
}
' > AUTHORS.md
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a question:
I think that AUTHORS.md file is not going to be automatically updated on git repo without git commit and git push, am i wrong?

Copy link
Member Author

Choose a reason for hiding this comment

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

Only after a PR push on main branch...if Actions works :-D

return value in (None, SupportedTypes.float)


def is_none(value: Any) -> bool:
Copy link
Contributor

Choose a reason for hiding this comment

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

value: Optional[SupportedTypes]

Copy link
Member Author

Choose a reason for hiding this comment

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

In that case I'm not agree with you, value could be Any because this utils is general purpose

@rivamarco rivamarco merged commit c05b133 into main Jul 1, 2024
5 checks passed
@rivamarco rivamarco deleted the feature/check_variable_model_type branch July 1, 2024 11:52
maocorte pushed a commit that referenced this pull request Jul 16, 2024
* chore: add model_type validations

* chore: add model_type validations

* doc: postgres installation required for local test

* chore: add authors.md and its related automation script

* chore: add a Github Actions in order to automate update-authors.sh executions

* chore: refactoring tests
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.

4 participants