ramp_database.model.EventTeam

class ramp_database.model.EventTeam(event, team)

EventTeam table.

This is a many-to-many relationship between Event and Team.

Parameters
eventramp_database.model.Event

The event instance.

teamramp_database.model.Team

The team instance.

Attributes
idint

The ID of a row in the table.

event_idint

The ID of the event.

eventramp_database.model.Event

The event instance.

team_idint

The ID of the team.

teamramp_database.model.Team

The team instance.

is_activebool

Whether the team is active for the event.

last_submission_namestr

The name of the last submission to the event.

signup_timestampdatetime

The date and time when the team signed up for the event.

approvedbool

Whether the team has been approved to participate to the event.

leaderboard_htmlstr

The leaderboard for the team for the specific event.

failed_leaderboard_htmlstr

The failed submission board for the team for the specific event.

new_leaderboard_htmlstr

The new submission board for the team for the specific event.

submissionslist of ramp_database.model.Submission

A back-reference to the submissions associated with this event/team.

__init__(event, team)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.