Skip to content

Create containers with mkdir #7

@wachsylon

Description

@wachsylon

It would be nice to have the mkdir method at least for the lowest level, the container because it seems container are not created on the fly when a mapper is used. If the container testtzis does not exist in the following account, the mapper runs into an error:

a=fsspec.get_mapper("swift://swift.dkrz.de/dkrz_4236b71e-04df-456b-8a32-5d66641510f2/testtzis/testcmip6")
a[".test"]=b"ho"

404, message='Not Found', url=URL('https://swift.dkrz.de/v1/dkrz_4236b71e-04df-456b-8a32-5d66641510f2/testtzis/testcmip6/.test')

Do you think that is possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions