BibliographyAuthor - applebiter/gnatwriter GitHub Wiki
The BibliographyAuthor class represents an author of a referenced work that is associated with a Story.
Attributes
The attributes associated with the authors_bibliographies table in the database:
id: intThe BibliographyAuthor IDuser_id: intThe ID of the User who created this BibliographyAuthor in the databasebibliography_id: intThe ID of the Bibliography reference with which this author is associated in the databasename: strThe author's nameinitials: strThe author's initialscreated: strThe creation datetime of the database entry, stored in 'yyyy-mm-dd hh:mm:ss.f' format
The following, complex attributes are returned by the ORM:
user: UserThe user who created this database entry. The User is associated with theuserstable in the database.reference: BibliographyThereferenceattribute is lazy-loaded, and so is only accessible within the scope of the database Session where it is fetched.
serialize()
serialize ( ) -> dict Only the attributes mapped to the authors_bibliographies table will be present in the returned dictionary.