From 32aacd73fbf1303d7c86919e3261a6121a193d53 Mon Sep 17 00:00:00 2001 From: Max Mynter <32773644+maxmynter@users.noreply.github.com> Date: Thu, 21 Sep 2023 18:44:09 +0200 Subject: [PATCH] Remove link to deleted section in README (#76) --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c4cf9f3c..d92d082e 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,13 @@ fs = LakeFSFileSystem(host="localhost:8000", create_branch_ok=False) ``` If set to `create_branch_ok = False`, adressing non-existing branches causes an error. -The flag can also be set in [scoped filesystem behaviour changes](#scoped-filesystem-behavior-changes) . +The flag can also be set in scoped filesystem behaviour changes. Like so + +```python +with fs.scope(create_branch_ok=False) + fs.put('lakefs://quickstart/test/lakes.parquet') +``` +This code throws an error should the `test` branch not exist. ### Paths and URIs