File class

Definition

File class.

File(name=None, content=None, props=None, metadata=None)
Inheritance
builtins.object
File

Variables

name
str
The name of the file.
content
str bytes
File content.
properties
FileProperties
System properties for the file.
metadata
dict(str, str)
A dict containing name-value pairs associated with the file as metadata. This var is set to None unless the include=metadata param was included for the list file operation. If this parameter was specified but the file has no metadata, metadata will be set to an empty dictionary.