Skip to content

Commit ca561f9

Browse files
committed
docs change
1 parent db88760 commit ca561f9

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

mkdocs/docs/api.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,22 @@ Or, list existing namespaces:
8080
ns = catalog.list_namespaces()
8181
8282
assert ns == [("docs_example",)]
83+
```
84+
85+
Next, update the namespace properties.
86+
87+
```python
8388
8489
# Load namespace properties
8590
properties = catalog.load_namespace_properties("docs_example")
8691
8792
# Update namespace properties with additions and removals.
8893
catalog.update_namespace_properties("docs_example", removals={"remove-meee!"}, updates={"owner": "iceberg"})
94+
```
95+
96+
Finally, drop the namespace (if you want!)
8997

98+
```python
9099
# Drop a namespace
91100
# catalog.drop_namespace("docs_example")
92101
```
@@ -174,6 +183,7 @@ with catalog.create_table_transaction(identifier="docs_example.bids", schema=sch
174183
update_spec.add_identity("symbol")
175184
176185
txn.set_properties(test_a="test_aa", test_b="test_b", test_c="test_c")
186+
```
177187

178188
## Register a table
179189

0 commit comments

Comments
 (0)