Examples

class mbdata.models.Artist(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

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.

aliases
area
area_id
begin_area
begin_area_id
begin_date
begin_date_day
begin_date_month
begin_date_year
comment
edits_pending
end_area
end_area_id
end_date
end_date_day
end_date_month
end_date_year
ended
gender
gender_id
gid
id
ipis
isnis
last_updated
meta
name
sort_name
type
type_id
class mbdata.models.Area(**kwargs)[source]

Bases: sqlalchemy.ext.declarative.api.Base

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.

begin_date
begin_date_day
begin_date_month
begin_date_year
comment
edits_pending
end_date
end_date_day
end_date_month
end_date_year
ended
gid
id
iso_3166_1_codes
iso_3166_2_codes
iso_3166_3_codes
last_updated
name
type
type_id