Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(14)  |  Call(0)  |  Derive(12)  |  Import(2)
Provide dummy contrcutor

src/f/p/fpdb-grindi-HEAD/pyfpdb/AlchemyMappings.py   fpdb-grindi(Download)
 
from AlchemyTables import *
from AlchemyFacilities import get_or_create, MappedBase
from DerivedStats import DerivedStats
from Exceptions import IncompleteHandError, FpdbError
 
 
class Player(MappedBase):
class Gametype(MappedBase):
    """Class reflecting Gametypes db table"""
 
    @staticmethod
    def get_or_create(session, siteId, gametype):
class HandPlayer(MappedBase):
    """Class reflecting HandsPlayers db table"""
    def __init__(self, **kwargs):
        if 'imported_hand' in kwargs and 'seatNo' in kwargs:
            imported_hand = kwargs.pop('imported_hand')
class Tourney(MappedBase):
    """Class reflecting Tourneys db table"""
 
    @classmethod
    def get_or_create(cls, session, siteTourneyNo, tourneyTypeId):

src/f/p/fpdb-sql-HEAD/pyfpdb/AlchemyMappings.py   fpdb-sql(Download)
 
from AlchemyTables import *
from AlchemyFacilities import get_or_create, MappedBase
from DerivedStats import DerivedStats
from Exceptions import IncompleteHandError, FpdbError
 
 
class Player(MappedBase):
class Gametype(MappedBase):
    """Class reflecting Gametypes db table"""
 
    @staticmethod
    def get_or_create(session, siteId, gametype):
class HandPlayer(MappedBase):
    """Class reflecting HandsPlayers db table"""
    def __init__(self, **kwargs):
        if 'imported_hand' in kwargs and 'seatNo' in kwargs:
            imported_hand = kwargs.pop('imported_hand')
class Tourney(MappedBase):
    """Class reflecting Tourneys db table"""
 
    @classmethod
    def get_or_create(cls, session, siteTourneyNo, tourneyTypeId):