+import json
import logging
import math
import sqlalchemy
def __repr__(self):
return "<Map(%s, %s, %s)>" % (self.map_id, self.name, self.version)
+ def to_dict(self):
+ return {'map_id':self.map_id, 'name':self.name}
+
class Game(object):
def __init__(self, game_id=None, start_dt=None, game_type_cd=None,