cliche.work — Things associated with a creative work.

class cliche.work.Character(**kwargs)

Fictional character that appears in creative work.

derived_characters

(:class:’collections.abc.MutableSet’) The set of Characters which is derived from this character

id

(int) The primary key integer.

original_character

(:class:’Character’) The original character from which this character is derived.

original_character_id

(:class:’int’) Character.id of original_character.

works

(collections.abc.MutableSet) The set of Works in which the character appeared.

class cliche.work.Credit(**kwargs)

Relationship between the work, the person, and the team. Describe that the person participated in making the work.

created_at

(datetime.datetime) The date and time on which the record was created.

person

(cliche.people.Person) The person who made the work.

person_id

(int) cliche.people.Person.id of person.

role

The person’s role in making the work.

team

The team which the person belonged when work had been made.

team_id

(int) Team.id of team. (optional)

work

(Work) The work which the person made.

work_id

(int) Work.id of work.

class cliche.work.Franchise(**kwargs)

Multimedia franchise that is a franchise for which installments exist in multiple forms of media, such as books, comic books, and films, for example The Lord of the Rings and Iron Man.

created_at

(datetime.datetime) The date and time on which the record was created.

id

(int) The primary key integer.

work_franchises

(collections.abc.MutableSet) The set of WorkFranchises that the franchise has.

works

(collections.abc.MutableSet) The set of Works that belongs to the franchise.

world

(World) The world which the franchise belongs to.

world_id

(int) World.id of world.

class cliche.work.Genre(**kwargs)

Genre of the creative work

created_at

(datetime.datetime) The date and time on which the record was created.

id

(int) The primary key integer.

name

(str) The name of the genre.

work_genres

(collections.abc.MutableSet) The set of WorkGenres that the genre has.

works

(collections.abc.MutableSet) The set of Works that fall into the genre.

class cliche.work.Role

Python enum type to describe role of him/her in making a work.

class cliche.work.Work(**kwargs)

Creative work(s) that could be a single work like a film, or a series of works such as a combic book series and a television series.

characters

(collections.abc.MutableSet) The set of Characters that appeared in the work.

created_at

(datetime.datetime) The date and time on which the record was created.

credits

(collections.abc.MutableSet) The set of Credits that the work has.

franchises

(collections.abc.MutableSet) The set of Franchises that the work belongs to.

genres

(collections.abc.MutableSet) The set of Genres that the work falls into.

id

(int) The primary key integer.

media_type

(str) Work media type.

published_at

(datetime.date) The publication date.

tropes

(collections.abc.MutableSet) The set of Trope.

work_franchises

(collections.abc.MutableSet) The set of WorkFranchises that the work has.

work_genres

(collections.abc.MutableSet) The set of WorkGenres that the work has.

work_tropes

(collections.abc.MutableSet) The set of WorkTrope.

class cliche.work.WorkCharacter(**kwargs)

Relationship between the character and the work. Describe that the character appeared in the work.

character

(Character) The character that appeared in the work.

character_id

(int) Character.id of character.

created_at

(datetime.datetime) The date and time on which the record was created.

work

(Work) The work in which the character appeared.

work_id

(int) Work.id of work.

class cliche.work.WorkFranchise(**kwargs)

Relationship between the work and the Franchise.

created_at

(datetime.datetime) The date and time on which the record was created.

franchise

(Franchise) The franchise that the work belongs to.

franchise_id

(int) Franchise.id of franchise.

work

(Work) The work that belongs to the franchise.

work_id

(int) Work.id of work.

class cliche.work.WorkGenre(**kwargs)

Relationship between the work and the genre.

created_at

(datetime.datetime) The date and time on which the record was created.

genre

(Genre) The genre into which the work falls.

genre_id

(int) Genre.id of genre.

work

(Work) The work that falls into the genre.

work_id

(int) Work.id of work.

class cliche.work.World(**kwargs)

Fictional universe that is a self-consistent fictional setting with elements that differ from the real world, for example Middle-earth and Marvel Cinematic Universe.

created_at

(datetime.datetime) The date and time on which the record was created.

franchises

(collections.abc.MutableSet) The set of Franchises that belong the world.

id

(int) The primary key integer.