kevinjqliu opened a new pull request, #3499:
URL: https://github.com/apache/iceberg-python/pull/3499

   ## Summary
   
   - add REST `loadCredentials` endpoint support
   - parse `LoadCredentialsResponse`
   - expose `RestCatalog.load_credentials(...)` with longest-prefix resolution 
for a target location
   - include optional `planId` and `referenced-by` query parameters
   
   Contributes to #3495.
   
   ## Notes
   
   The pinned `apache/iceberg-rest-fixture:1.10.1` used by integration tests 
does not serve the `/credentials` route, so this is covered with REST catalog 
unit tests rather than fixture-backed integration tests.
   
   ## Testing
   
   - `PYTHONPATH=. pytest tests/catalog/test_rest.py -k 'load_credentials or 
storage_credentials'`
   - `ruff check pyiceberg/catalog/rest/__init__.py tests/catalog/test_rest.py`
   - `ruff format --check pyiceberg/catalog/rest/__init__.py 
tests/catalog/test_rest.py`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to