Fokko commented on issue #1535:
URL:
https://github.com/apache/iceberg-python/issues/1535#issuecomment-2599109331
The YAML is mostly to avoid leaking secrets/credentials into the Python
code. The example is unauthenticated, so you can directly pass as the
properties which is where the `dict` is expanded into arguments:
```python
catalog = SqlCatalog(
"default",
**{
"uri": f"sqlite:///{warehouse_path}/pyiceberg_catalog.db",
"warehouse": f"file://{warehouse_path}",
},
)
```
--
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]