Skip to content

Commit db88760

Browse files
committed
Docs fix
1 parent 21c2128 commit db88760

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

mkdocs/docs/api.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ assert ns == [("docs_example",)]
8484
# Load namespace properties
8585
properties = catalog.load_namespace_properties("docs_example")
8686
87-
# Update namespace properties
88-
catalog.update_namespace_properties("docs_example", updates={"owner": "iceberg"})
87+
# Update namespace properties with additions and removals.
88+
catalog.update_namespace_properties("docs_example", removals={"remove-meee!"}, updates={"owner": "iceberg"})
8989
9090
# Drop a namespace
9191
# catalog.drop_namespace("docs_example")
@@ -186,8 +186,6 @@ catalog.register_table(
186186
)
187187
```
188188

189-
```python
190-
191189
## Load a table
192190

193191
There are two ways of reading an Iceberg table; through a catalog, and by pointing at the Iceberg metadata directly. Reading through a catalog is preferred, and directly pointing at the metadata is read-only.

0 commit comments

Comments
 (0)