scistag.filestag.file_source.FileSourceElement¶
- class FileSourceElement(data, name)[source]¶
Bases:
objectProvides the data of a single file returned from a
FileSource- Parameters
data (
bytes) – The file’s content
Methods
Attributes
__dict____doc____module____weakref__list of weak references to the object (if defined)
Holds the file's data
The file's name.
- data¶
Holds the file’s data
- name¶
The file’s name. Usually relative to it’s search path