weldx.WeldxFile.write_to¶
- WeldxFile.write_to(fd=None, **write_args)¶
Write current contents to given file name or file type.
- Parameters
fd (
Union
[str
,Path
,IOBase
,SupportsFileReadOnly
,SupportsFileReadWrite
,None
]) – May be a string path to a file, or a Python file-like object. If a string path, the file is automatically closed after writing. IfNone
is given, write to a new buffer.write_args –
Allowed parameters:
all_array_storage=None
all_array_compression=’input’
auto_inline=None
pad_blocks=False
include_block_index=True
version=None
- Returns
The given input file name or a buffer, in case the input it was omitted.
- Return type
types_path_and_file_like