Generic Files

File extension: None

File Object

class gsshapy.orm.GenericFile[source]

Bases: sqlalchemy.ext.declarative.api.Base, gsshapy.base.file_base.GsshaPyFileObjectBase

Object interface for Generic Files.

This object is used to store files that are not fully supported in GsshaPy. The files must be non-binary text files to be stored as a GenericFile object. The object simply reads the contents of the file into a text field during reading and dumps it again during writing. This allows these files to be carried through the entire GsshaPy cycle.

tableName = 'gen_generic_files'

Database tablename

id

PK

projectFileID

FK

text

STRING

binary

BINARY

name

STRING

fileExtension

STRING

projectFile

RELATIONSHIP