Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: SAP/python-pyodata
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: SAP/python-pyodata
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: alternative154
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 9 files changed
  • 1 contributor

Commits on Jun 20, 2026

  1. service, vendor.SAP: add response_hook for pre-handler response inspe…

    …ction
    
    - Add an optional response_hook=None parameter to Service and Client
    
      response_hook fires inside _call_handler() before the domain handler runs,
      covering both execute() and async_execute(). The hook is a stateless
      Callable[[response], None]; raising from it propagates to the caller
      and suppresses the domain result. No HTTP networking objects cross the OData
      API boundary.
    
    - Add sap_header_error_hook() to pyodata.vendor.SAP
    
      reads the sap-message response header and raises BusinessGatewayError when
      severity is "error".
    
    - Update tests and documentation accordingly
    phanak-sap committed Jun 20, 2026
    Configuration menu
    Copy the full SHA
    799ff67 View commit details
    Browse the repository at this point in the history
Loading