diff --git a/docs/source/getting-connected.ipynb b/docs/source/getting-connected.ipynb index f3db2fd..bd4e3f4 100644 --- a/docs/source/getting-connected.ipynb +++ b/docs/source/getting-connected.ipynb @@ -212,6 +212,29 @@ " storage_options={\"signer\": instance_principal_signer})" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Accessing a Specific Compartment" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "If your OCI policies are scoped to a specific compartment, you can use the `compartment_id` parameter to specify the compartment to use for authorization. This is useful when you have policies that grant access to resources within a specific compartment, but not at the tenancy level." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "fs = ocifs.OCIFileSystem(config=\"~/.oci/config\", profile=\"DEFAULT\", compartment_id=\"ocid1.compartment.oc1..test\")" + ] + }, { "cell_type": "markdown", "id": "peripheral-muslim", diff --git a/pyproject.toml b/pyproject.toml index 84215bf..52b70c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ build-backend = "flit_core.buildapi" # Required name = "ocifs" # the install (PyPI) name -version = "1.3.3" +version = "1.3.4" # Optional description = "Convenient filesystem interface over Oracle Cloud's Object Storage" @@ -49,6 +49,8 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", ] # PEP 508 – Dependency specification for Python Software Packages - https://peps.python.org/pep-0508/