Fokko commented on code in PR #2482:
URL: https://github.com/apache/iceberg-python/pull/2482#discussion_r2358120490
##########
tests/integration/test_catalog.py:
##########
@@ -74,6 +76,21 @@ def rest_catalog() -> Generator[Catalog, None, None]:
clean_up(test_catalog)
[email protected](scope="function")
+def rest_catalog_env() -> Generator[Catalog, None, None]:
+ properties_json = os.environ.get("PYICEBERG_REST_CATALOG_PROPERTIES")
+ if properties_json:
Review Comment:
A good opportunity for the Walrus operator `:=`
```suggestion
if properties_json :=
os.environ.get("PYICEBERG_REST_CATALOG_PROPERTIES"):
```
--
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]