Skip to content

Annotate optional fields correctly #50

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

Merged
merged 2 commits into from
Apr 12, 2023
Merged

Annotate optional fields correctly #50

merged 2 commits into from
Apr 12, 2023

Conversation

mattt
Copy link
Contributor

@mattt mattt commented Apr 12, 2023

This PR updates the type definitions for several fields in Model and Prediction to correctly denote them as optional. For example, Prediction.output is null until the prediction finishes successfully.

@mattt mattt merged commit c0f0422 into main Apr 12, 2023
@mattt mattt deleted the mattt/optional-fields branch April 12, 2023 09:56
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.

1 participant