Commit Graph

8 Commits

Author SHA1 Message Date
Connor McCarthy b4d7e1857b
chore(sdk): nest requests_toolbelt import (#10247) 2023-11-20 18:12:10 +00:00
gkcalat ab33e2af4e
chore(sdk): Improve a message printed for users. Closes #10100 (#10101) 2023-10-15 22:58:53 +00:00
gkcalat c9032716ab
fix(sdk): Fix OOB for IPython and refactor. Closes #10075. (#10094)
* Fix OOB for IPython and refactor. Closes #10075.

* Address comments
2023-10-13 22:24:52 +00:00
Connor McCarthy 20218a9c1d
chore(sdk): test observability, refactorings, and cleanup (#10005)
* chore(sdk): test observability, refactorings, and cleanup

* address review feedback

* rename classes
2023-09-18 22:51:27 +00:00
Connor McCarthy f4588f3112
chore(sdk): idiomatic Python pure refactorings (#8537)
* use f-strings

* inline immediately returned variables

* simplify comprehension

* use list literals

* lift return statements into control flow blocks

* other pure refactorings

* remove passthrough function

* use a ternary when it improves readability

* use __getitem__ for regex match groups; introduced in Python 3.6

* fix changed comments

* revert one change
2022-12-06 23:44:36 +00:00
gkcalat 65f2b644df
fix(sdk): Replace OOB authentication with loopback flow (#8262)
* Replace oob authentication with loopback flow. Fixes #7474. Closes #7526.

* Replace oob authentication with loopback flow. Fixes #7474. Closes #7526.

* Improve error messages

* Resolve comments in the PR

* Fix refresh/access token misconception

* Fix type hint annotation
2022-09-15 23:27:24 +00:00
Connor McCarthy 13736b85b6
chore(sdk): clean up kfp code style (#8027)
* remove unused imports

* use google as isort profile

* sort imports

* format with yapf

* clean end of file new line, trailing whitespace, double quoted strings
2022-07-15 00:06:34 +00:00
Chen Sun b741926bb4
feat(sdk): client to support KFP v2 API. (#7411)
* copy _client.py and _auth.py from deprecated folder

* Make kfp.Client support v2 API (IR).

* fix test golden

* address comments

* copyright year

* chore(backend): clean up pipelinespec.Value usage (#7407)

* chore(sdk): clean, dedup, reconcile, organize requirements (#7400)

* chore(sdk): clean, dedup, reconcile, organize requirements

* apply yapf formatting

* correct copyright

* chore(sdk): fix test missing tempdir cleanup (#7403)

* chore(sdk): fix test missing tempdir cleanup

* fix test path

* fix test path

* clean up setUp method

* change string placeholder from s to test_dir

* release note

Co-authored-by: Connor McCarthy <mccarthy.connor.james@gmail.com>
2022-03-15 21:45:37 +00:00