File
class flow_api.file.File
(select=None, init=None, by=name, **kwargs
)
Base class: Resource
The File class represents a file. Functions from the file class allow interaction with file objects.
A file can be created with system.file('filename').save()
inside the handler
function of a flow script using the system
reference.
Please see https://docs.python.org/3/library/codecs.html#standard-encodings
for a list of supported character encodings to specify for the encoding
parameter.
See the corresponding Resources class at File
Parameters
Name | Type | Description |
---|---|---|
**kwargs | ||
by | ||
init | ||
select |
Constants
RESOURCE = fileMethods
add_tag
details
archive
details
clone
details
delete
details
exists
details
export
details
get
details
get_base64_content
details
get_bytes_content
details
get_dict
details
get_identity_created_by
details
get_identity_modified_by
details
get_json_content
details
get_logs
details
get_tags
details
get_text_content
details
load
details
remove_tag
details
restore
details
save
details
save_base64_content
details
save_bytes_content
details
save_json_content
details
save_text_content
details
set
details