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 d5b60b6aaa [python] fix ecs role loader (#6035)
d5b60b6aaa is described below

commit d5b60b6aaa21b78cfff640c8b759246b554bc845
Author: jerry <lining....@alibaba-inc.com>
AuthorDate: Thu Aug 7 14:57:51 2025 +0800

    [python] fix ecs role loader (#6035)
---
 paimon-python/pypaimon/api/auth.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/paimon-python/pypaimon/api/auth.py 
b/paimon-python/pypaimon/api/auth.py
index ab4bdb65f3..9582a65596 100644
--- a/paimon-python/pypaimon/api/auth.py
+++ b/paimon-python/pypaimon/api/auth.py
@@ -25,9 +25,10 @@ from collections import OrderedDict
 from datetime import datetime, timezone
 from typing import Dict, Optional
 
+
 from pypaimon.common.config import CatalogOptions
 
-from .token_loader import DLFToken, DLFTokenLoader
+from .token_loader import DLFToken, DLFTokenLoader, DLFTokenLoaderFactory
 from .typedef import RESTAuthParameter
 
 
@@ -69,7 +70,8 @@ class AuthProviderFactory:
         elif provider == 'dlf':
             return DLFAuthProvider(
                 options.get(CatalogOptions.DLF_REGION),
-                DLFToken.from_options(options)
+                DLFToken.from_options(options),
+                DLFTokenLoaderFactory.create_token_loader(options)
             )
         raise ValueError('Unknown auth provider')
 

Reply via email to