Skip to content

Adjust Trainings#async_create signature#409

Open
meatballhat wants to merge 1 commit intomainfrom
training-async-parity
Open

Adjust Trainings#async_create signature#409
meatballhat wants to merge 1 commit intomainfrom
training-async-parity

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
Contributor

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