コード例 #1
0
ファイル: date.py プロジェクト: dasimon/weboob
 def __init__(self, doc, **kwargs):
     Field.__init__(self, doc, datetime.timedelta, **kwargs)
コード例 #2
0
ファイル: date.py プロジェクト: dasimon/weboob
 def __init__(self, doc, **kwargs):
     Field.__init__(self, doc, datetime.date, datetime.datetime, **kwargs)
コード例 #3
0
ファイル: pokemon.py プロジェクト: ammeux/webScrapper
class Pokemon(BaseObject):
    pokedex_id = IntField('Pokedex id of the Pokemon')
    name = StringField('Name of the Pokemon')
    types = Field('Types of the Pokemon')
コード例 #4
0
 def __init__(self, doc, **kwargs):
     Field.__init__(self, doc, datetime.timedelta, **kwargs)
コード例 #5
0
 def __init__(self, doc, **kwargs):
     Field.__init__(self, doc, datetime.date, datetime.datetime, **kwargs)
コード例 #6
0
ファイル: pokeOptions.py プロジェクト: ammeux/webScrapper
class PokeOptions(BaseObject):
    abilityOptions = Field('These are the Pokemon ability options', dict)
    generationsOptions = Field('These are the Pokemon generations options', dict)
    tierOptions = Field('These are the Pokemon tier options', dict)