• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubeflow / sdk / 16655049250

31 Jul 2025 04:51PM UTC coverage: 65.509% (+0.9%) from 64.567%
16655049250

push

github

web-flow
feat(trainer): Add `wait_for_job_status()` API (#52)

* feat(trainer): Add wait_for_job_status() API

Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>

* Fix unit tests

Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>

* Add tests for wait_for_job_status

Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>

* Update test case for timeout

Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>

* Update python/kubeflow/trainer/api/trainer_client.py

Co-authored-by: Anya Kramar <akramar@redhat.com>
Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>

* Add Created status after TrainJob is created

Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>

* Wait for Created status

Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>

* Use watch API

Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>

* Remove time import

Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>

---------

Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
Co-authored-by: Anya Kramar <akramar@redhat.com>

28 of 34 new or added lines in 2 files covered. (82.35%)

2 existing lines in 1 file now uncovered.

264 of 403 relevant lines covered (65.51%)

0.66 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

74.87
/python/kubeflow/trainer/api/trainer_client.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc