ramp_database.model.EventAdmin

class ramp_database.model.EventAdmin(**kwargs)

EventAdmin table.

This is a many-to-many relationship between Event and User to defined admins.

Parameters
eventramp_database.model.Event

The event instance.

adminramp_database.model.User

The user instance.

Attributes
idint

The ID of the table row.

event_idint

The ID of the event.

eventramp_database.model.Event

The event instance.

admin_idint

The ID of the user defined as an admin.

adminramp_database.model.User

The user instance.

__init__(**kwargs)

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.