diff --git a/README.rst b/README.rst index a9a1eb8..0624209 100644 --- a/README.rst +++ b/README.rst @@ -67,27 +67,30 @@ for more information. ExtraArgs --------- -S3 objects have additional properties, beyond a traditional -filesystem. These options can be set using the ``upload_args`` -and ``download_args`` properties. which are handed to upload -and download methods, as appropriate, for the lifetime of the -filesystem instance. +S3 objects have additional properties, beyond a traditional filesystem. +These options can be set using the ``upload_args`` and ``download_args`` +properties. which are handed to upload and download methods, as +appropriate, for the lifetime of the filesystem instance. -For example, to set the ``cache-control`` header of all objects -uploaded to a bucket: +For example, to set the ``cache-control`` header of all objects uploaded +to a bucket: .. code:: python + import fs, fs.mirror s3fs = S3FS('example', upload_args={"CacheControl": "max-age=2592000", "ACL": "public-read"}) fs.mirror.mirror('/path/to/mirror', s3fs) -see `the Boto3 docs `__ +see `the Boto3 +docs `__ for more information. -``acl`` and ``cache_control`` are exposed explicitly for convenience, and can be used in URLs. -It is important to URL-Escape the ``cache_control`` value in a URL, as it may contain special characters. +``acl`` and ``cache_control`` are exposed explicitly for convenience, +and can be used in URLs. It is important to URL-Escape the +``cache_control`` value in a URL, as it may contain special characters. .. code:: python + import fs, fs.mirror with open fs.open_fs('s3://example?acl=public-read&cache_control=max-age%3D2592000%2Cpublic') as s3fs fs.mirror.mirror('/path/to/mirror', s3fs) diff --git a/fs_s3fs/_version.py b/fs_s3fs/_version.py index 73c8b20..c11f861 100644 --- a/fs_s3fs/_version.py +++ b/fs_s3fs/_version.py @@ -1 +1 @@ -__version__ = "0.1.9a0" +__version__ = "0.1.9"