Aapta Bhatt
05/03/2023, 6:55 PMAriel Shaqed (Scolnicov)
05/03/2023, 7:05 PMAapta Bhatt
05/03/2023, 7:22 PMIddo Avneri
05/03/2023, 7:35 PMclient.repositories.list_repositories()
client.branches.list_branches('learn-lakefs-repo01')
client.branches.list_branches('cant-find-me')
NotFoundException: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Date': 'Wed, 03 May 2023 19:37:25 GMT', 'Content-Type': 'application/json', 'Content-Length': '35', 'Connection': 'keep-alive', 'X-Content-Type-Options': 'nosniff', 'X-Request-Id': '74ac0755-5959-4fb9-80eb-012030c92bda'})
HTTP response body: {"message":"repository not found"}
Ariel Shaqed (Scolnicov)
05/03/2023, 7:44 PMclient.repositories.get_repository('no_such_repo')
or
client.branches.get_branch('my-repo', 'no-such-branch-in-my-repo')
Both should return the same 404.