Models

class PokerSession(id, poker_date, name, active_story)[source]
poker_date

The date on which the poker session should take place.

name

The poker session’s name. Used for displaying it to the user.

active_story

The story which is currently active in this poker session.

class Story(id, ticket_number, title, description, story_points, poker_session, _order)[source]
ticket_number

The story’s ticket number. Used for displaying the story to the user.

title

The story’s title. Used for displaying the story to the user.

description

The story’s description. This is the main source of information for participants in a poker session.

story_points

The estimated story points. The value is either an element of planning_poker.constants.FIBONACCI_CHOICES or None.

poker_session

The poker session to which this story belongs to.

get_votes_with_voter_information() OrderedDict[str, List[Dict[str, str]]][source]

Return a sorted list with each choice + the users who voted for that choice.

Returns

A sorted list with each choice + the users who voted for that choice.

class Vote(id, story, user, choice)[source]
story

The story for which this vote was casted for.

user

The user who casted the vote.

choice

The option which was voted for. See planning_poker.constants.ALL_VOTING_OPTIONS for all possible values.