tiled.client.ragged.RaggedClient.export#
- RaggedClient.export(filepath: str | Path, *, slice: Any | None = None, format: str | None = None)[source]#
Download data in some format and write to a file.
- Parameters:
- filepath: str or Path
Filepath or writeable buffer.
- formatstr, optional
If format is None and filepath is a filepath, the format is inferred from the name, like ‘ragged.json’ implies format=”application/json”. The format may be given as a file extension (“json”) or a media type (“application/json”).
- slice: Any, optional
A tuple of slice objects.