scistag.filestag.file_source.FileSourceElement

class FileSourceElement(data, name)[source]

Bases: object

Provides 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)

data

Holds the file's data

name

The file's name.

data

Holds the file’s data

name

The file’s name. Usually relative to it’s search path