cabhishek opened a new pull request, #8330:
URL: https://github.com/apache/iceberg/pull/8330

   * `load_catalog` API does not require the name of the catalog to be passed 
in as it can figure that out from ENV var or Config files.
   
   Test code
   ```
   from pyiceberg.catalog import load_catalog
   
   catalog = load_catalog() # <- should load the default-catalog
   
   catalog.list_namespaces()
   ```
   Before PR
   
   ```
   TypeError: load_catalog() missing 1 required positional argument: 'name'
   ```
   
   After PR 
   ```
   Above code should load the default catalog and not throw any error.
   ```
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to