-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serveutils: Get InferenceService CR fields safely
Add some KeyError exception handling when getting fields of an InferenceService CR. Support both v1alpha3 and v1beta1 when quering for the predictor's host/url. Improve the docstrings of some functions. Signed-off-by: Stefano Fioravanzo <[email protected]> Reviewed-by: Ilias Katsakioris <[email protected]>
- Loading branch information
1 parent
0c70ef2
commit fab255c
Showing
1 changed file
with
57 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters