hutiefang76 opened a new pull request, #10106: URL: https://github.com/apache/paimon/pull/10106
## What is changed Adds PyPaimon and Python version information to the default REST User-Agent. PVFS now uses the standard `header.User-Agent` key and adds its `PythonPVFS` prefix without replacing an explicitly configured value. Version metadata that cannot be read or parsed falls back to `unknown`, so requests continue normally. ## Verification - `/private/tmp/paimon-8543-venv/bin/python -m pytest pypaimon/tests/user_agent_test.py pypaimon/tests/build_info_test.py pypaimon/tests/rest/api_test.py pypaimon/tests/pvfs_oss_filesystem_test.py -q` - `/private/tmp/paimon-8543-venv/bin/flake8 --config=dev/cfg.ini ...` - `python -m compileall` for changed Python files Closes #8543 -- 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]
