Anurag-S1ngh opened a new pull request, #4493:
URL: https://github.com/apache/iceberg-python/pull/4493

   # Rationale for this change
   
   `RestCatalog._init_sigv4` currently contains the SigV4 adapter, signing 
constants, and boto session setup inside an already large catalog module.
   
   This extracts that code into `catalog/rest/sigv4.py` and replaces the method 
with an `init_sigv4(session, uri, properties)` helper. The existing constants 
and `SigV4Adapter` remain re-exported from `catalog.rest` for compatibility. 
Signing and retry behavior are unchanged.
   
   The retry behavior in #3008 and signing fixes in #3120 remain separate.
   
   Part of #3410.
   
   ## Are these changes tested?
   
   Yes. The existing REST SigV4 tests exercise the extracted adapter through 
`RestCatalog`.
   
   - `pytest tests/catalog/test_rest.py -m unit`: 194 passed
   - `ruff check` and `git diff --check` pass
   - `ty check` reports nothing for the new module; existing catalog 
diagnostics are unchanged
   
   ## Are there any user-facing changes?
   
   No behavior change. `catalog.rest.SigV4Adapter` and the existing SigV4 
constants remain importable from the same module.
   


-- 
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