Bgg connection owned info now unpacks board game extra info
This commit is contained in:
parent
962a842b44
commit
f47c7cfd16
1 changed files with 1 additions and 12 deletions
|
|
@ -123,18 +123,7 @@ def convert_collection_xml_to_owned_boardgame(boardgame_extra_info: boardgame_cl
|
||||||
}
|
}
|
||||||
|
|
||||||
boardgame_dict = {
|
boardgame_dict = {
|
||||||
"id" : boardgame_extra_info.id,
|
**boardgame_extra_info,
|
||||||
"name" : boardgame_extra_info.name,
|
|
||||||
"weight" : boardgame_extra_info.weight,
|
|
||||||
"description" : boardgame_extra_info.description,
|
|
||||||
"image_url" : boardgame_extra_info.image_url,
|
|
||||||
"thumbnail_url" : boardgame_extra_info.thumbnail_url,
|
|
||||||
"year_published" : boardgame_extra_info.year_published,
|
|
||||||
"min_players" : boardgame_extra_info.min_players,
|
|
||||||
"max_players" : boardgame_extra_info.max_players,
|
|
||||||
"min_playing_time" : boardgame_extra_info.min_playing_time,
|
|
||||||
"max_playing_time" : boardgame_extra_info.max_playing_time,
|
|
||||||
"min_age" : boardgame_extra_info.min_age,
|
|
||||||
**owned_boardgame_dict
|
**owned_boardgame_dict
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue