This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 50b8fcdf95 [python] Fix signing algorithm selection by host name
(#7516)
50b8fcdf95 is described below
commit 50b8fcdf955fc29d2ceee89baedd88fd28c36847
Author: tonymtu <[email protected]>
AuthorDate: Wed Mar 25 08:08:30 2026 +0800
[python] Fix signing algorithm selection by host name (#7516)
---
paimon-python/pypaimon/api/auth/factory.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/paimon-python/pypaimon/api/auth/factory.py
b/paimon-python/pypaimon/api/auth/factory.py
index 1cc477fd7c..fbb4152368 100644
--- a/paimon-python/pypaimon/api/auth/factory.py
+++ b/paimon-python/pypaimon/api/auth/factory.py
@@ -62,7 +62,7 @@ class DLFAuthProviderFactory:
host = host.split('/')[0].split(':')[0]
- if host.startswith("dlfnext") or "openapi" in host:
+ if "dlfnext" in host:
return DLFAuthProviderFactory.OPENAPI_IDENTIFIER
return DLFAuthProviderFactory.DEFAULT_IDENTIFIER