-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[batch] warns the user if client or server is using deprecated functi…
…onality (#14621) Closes #14485. Tested that this works by deploying the branch to my dev namespace and pointing my dev config at it: ```bash hailctl dev deploy -b iris-garden/hail:batch/deprecated-apis -s deploy_batch,add_developers hailctl dev config set default_namespace irademac ``` And then running the following: ```python from hailtop.batch import ServiceBackend batch_client = await ServiceBackend(billing_project='test', remote_tmpdir='gs://irademac/test/')._batch_client() # one of the deprecated endpoints await batch_client._get("/api/v1alpha/batches/402/jobs/1/log") ```
- Loading branch information
1 parent
ee6d17e
commit 9cd2526
Showing
3 changed files
with
35 additions
and
9 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
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
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