Contributors Python Module¶
Contributors model describes an author to a journal article.
-
class
pacifica.metadata.orm.contributors.
Contributors
(*args, **kwargs)¶ Contributors object and associated fields.
- Attributes:
Name Description person Link to the User model institution Link to the Institution model first_name Users first name as it appears in the citation middle_initial Users middle initial as it appears in the citation last_name Users last name as it appears in the citation dept_code Department of the institution the User was a member of at the time of the citation encoding Language encoding of the attributes above
-
DoesNotExist
¶ alias of
ContributorsDoesNotExist
-
static
elastic_mapping_builder
(obj)¶ Build the elasticsearch mapping bits.
-
from_hash
(obj)¶ Convert the hash into the object fields.
-
to_hash
(**flags)¶ Convert the object fields into a serializable hash.
-
classmethod
where_clause
(kwargs)¶ Generate the PeeWee where clause used in searching.