Skip to content

Default Optional params to None#122

Merged
squeakymouse merged 1 commit intomasterfrom
katiewu/make-routes-optional
Jul 6, 2023
Merged

Default Optional params to None#122
squeakymouse merged 1 commit intomasterfrom
katiewu/make-routes-optional

Conversation

@squeakymouse
Copy link
Contributor

They're not actually optional rn oops 😅

@squeakymouse squeakymouse requested a review from a team July 6, 2023 01:07
readiness_initial_delay_seconds: int,
triton_model_repository: str,
triton_model_replicas: Optional[Dict[str, str]],
triton_model_replicas: Optional[Dict[str, str]] = None,
Copy link
Member

Choose a reason for hiding this comment

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

Huh I take it we don't have any prior such bundles then? Otherwise I'm guessing people would have run into this.

Copy link
Contributor

@malcolmgreaves malcolmgreaves Jul 6, 2023

Choose a reason for hiding this comment

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

Folks have had to explicitly set triton_model_replicas since this specific bundle flavor was introduced.

readiness_initial_delay_seconds: int,
triton_model_repository: str,
triton_model_replicas: Optional[Dict[str, str]],
triton_model_replicas: Optional[Dict[str, str]] = None,
Copy link
Contributor

Choose a reason for hiding this comment

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

route changes look good
@malcolmgreaves can you double confirm the triton ones?

Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM! Thanks for @-ing me here

@squeakymouse squeakymouse merged commit 13f8a7c into master Jul 6, 2023
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