aleph.model.entity

Entity

class aleph.model.entity.Entity

Imports

  • <UNKNOWN>
  • <UNKNOWN>
  • <UNKNOWN>
filter_collections(cls, q)
by_id_set(cls, ids)
delete_dangling(cls, collection_id)

Delete dangling entities.

Entities can dangle in pending state while they have no references pointing to them, thus making it impossible to enable them. This is a routine cleanup function.

save(cls, data, collection)
by_foreign_id(cls, foreign_id, collection_id)
latest(cls)
__repr__(self)
__unicode__(self)
delete(self)
delete_identities(self)
delete_references(self)
merge(self, other)
regex_terms(self)
schema(self)
terms(self)
to_dict(self)
to_index(self)
to_ref(self)
update(self, entity)