From c5e5e228d989229994b6000858e4b871b08d61da Mon Sep 17 00:00:00 2001 From: Nuno Silva Date: Mon, 30 Jan 2023 14:06:49 -0100 Subject: [PATCH] Update docs --- docs/index.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index b333463d..d6554978 100644 --- a/docs/index.md +++ b/docs/index.md @@ -82,11 +82,16 @@ to list all the files or directories in the top-level of a storage container, yo api.md ``` -**Note**: When uploading a blob (with `write_bytes` or `write_text`) you can injects kwargs directly into `upload_blob` method: +Note that When uploading a blob (with `write_bytes` or `write_text`) you can injects kwargs directly into `upload_blob` method: ```{code-block} python >>> from azure.storage.blob import ContentSettings >>> fs = adlfs.AzureBlobFileSystem(account_name="ai4edataeuwest") ->>> fs.write_bytes(path="path", value=data, overwrite=True, **{"content_settings": ContentSettings(content_type="application/json", content_encoding="br")}) +>>> fs.write_bytes( + path="path", + value=data, + overwrite=True, + **{"content_settings": ContentSettings(content_type="application/json", content_encoding="br")} +) ``` [fsspec]: https://filesystem-spec.readthedocs.io