heman026 commented on issue #1524:
URL: 
https://github.com/apache/iceberg-python/issues/1524#issuecomment-2594650407

   > [@heman026](https://github.com/heman026) Thanks for raising this, and 
happy to help. Do you have a full stack-trace?
   
   Traceback (most recent call last):
     File "C:\Hemanath\KAI\Iceberg Evaluation\Docker\duck\duck.py", line 9, in 
<module>
       catalog = load_catalog("rest",
                 ^^^^^^^^^^^^^^^^^^^^
     File 
"c:\Users\HRAVI\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyiceberg\catalog\__init__.py",
 line 248, in load_catalog
       return AVAILABLE_CATALOGS[catalog_type](name, cast(Dict[str, str], conf))
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"c:\Users\HRAVI\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyiceberg\catalog\__init__.py",
 line 123, in load_rest
       return RestCatalog(name, **conf)
              ^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"c:\Users\HRAVI\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyiceberg\catalog\rest.py",
 line 264, in __init__
       self._fetch_config()
     File 
"c:\Users\HRAVI\AppData\Local\Programs\Python\Python312\Lib\site-packages\pyiceberg\catalog\rest.py",
 line 393, in _fetch_config
       config_response = ConfigResponse(**response.json())
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"c:\Users\HRAVI\AppData\Local\Programs\Python\Python312\Lib\site-packages\pydantic\main.py",
 line 176, in __init__
       self.__pydantic_validator__.validate_python(data, self_instance=self)
   pydantic_core._pydantic_core.ValidationError: 2 validation errors for 
ConfigResponse
   defaults
     Field required [type=missing, input_value={'defaultBranch': 
'main',...SupportedApiVersion': 2}, input_type=dict]
       For further information visit https://errors.pydantic.dev/2.7/v/missing
   overrides
     Field required [type=missing, input_value={'defaultBranch': 
'main',...SupportedApiVersion': 2}, input_type=dict]
       For further information visit https://errors.pydantic.dev/2.7/v/missing
   
   


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to