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

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