// This file is autogenerated, DO NOT EDIT
// tab-widgets/register-fs-repo.asciidoc:127

[source, python]
----
resp = client.snapshot.create_repository(
    name="my_fs_backup",
    repository={
        "type": "fs",
        "settings": {
            "location": "my_fs_backup_location",
            "readonly": True
        }
    },
)
print(resp)
----
