save method

save(file_name)

Creates and saves the XBRL file to the disk.

def save(self, file_name):
    ...
ParameterTypeDescription
file_namestrThe name of created file.

save(file_name, save_options)

Save the XbrlDocument to the disk.

def save(self, file_name, save_options):
    ...
ParameterTypeDescription
file_namestrThe file name.
save_optionsSaveOptionsThe save options.

save(stream, save_options)

Save the XbrlDocument to the stream.

def save(self, stream, save_options):
    ...
ParameterTypeDescription
streamio.RawIOBaseThe file stream.
save_optionsSaveOptionsThe save options.

See Also