ads.models.affiliation

Affiliation data model.

Classes

Affiliation(*args, **kwargs)

An author affiliation recognised by ADS.

AffiliationField(model[, field, backref, ...])

AffiliationKeyAccessor(model, field, name)

class ads.models.affiliation.Affiliation(*args, **kwargs)[source]

An author affiliation recognised by ADS.

id = <TextField: Affiliation.id>

The unique (child) identifier for the affiliation.

parent = <ForeignKeyField: Affiliation.parent>

A foreign key field to any parent identifiers for this affiliation.

abbreviation = <TextField: Affiliation.abbreviation>

The abbreviated affiliation name.

canonical_name = <TextField: Affiliation.canonical_name>

The full affiliation name.

country = <TextField: Affiliation.country>

The name of the country that the affiliation is located in.

property parents

Return all possible parents of this affiliation.

property siblings

Return affiliations that share the same parent as this record.

property extended_siblings

Return affiliations that share any parent that is shared by this record.

DoesNotExist

alias of ads.models.affiliation.AffiliationDoesNotExist