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

Adjust Trainings#async_create signature #409

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

meatballhat
Copy link
Contributor

to better align with Trainings#create and the way that the arguments are being used.

Closes #408

to better align with `Trainings.create` and the way that the arguments
are being used.

Closes #408
@meatballhat meatballhat requested a review from a team February 5, 2025 04:36
version: Union[str, Version],
input: Dict[str, Any],
model: Optional[Union[str, Tuple[str, str], "Model"]] = None,
version: Optional[Union[str, Version]] = None,
Copy link
Member

Choose a reason for hiding this comment

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

I don't think version is optional, is it? It looks like we'll raise a ValueError if you don't pass it in every case.

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.

client.trainings.async_create() is broken
2 participants