def load_db(**kwargs): l_fields = Devis.l_index + Devis.l_fields() + Devis.l_hfields # Load table df = BaseModel.load_db(table_name='devis', l_fields=l_fields, columns=kwargs.get('columns', None)) return df
def load_db(**kwargs): # Get fields l_fields = Employe.l_index + Employe.l_fields() + Employe.l_hfields # Load table df = BaseModel.load_db(table_name='employe', l_fields=l_fields, columns=kwargs.get('columns', None)) return df
def load_db(**kwargs): l_fields = Client.l_index + Client.l_fields() + Client.l_hfields # Load table df = BaseModel.load_db(table_name='client', l_fields=l_fields, columns=kwargs.get('columns', None)) return df
def load_db(**kwargs): l_fields = Facture.l_index + Facture.l_fields() + Facture.l_hfields # Load table df = BaseModel.load_db(table_name='facture', l_fields=l_fields, columns=kwargs.get('columns', None)) return df
def load_db(**kwargs): # Get fields l_fields = Chantier.l_index + Chantier.l_fields() + Chantier.l_hfields # Load table df = BaseModel.load_db(table_name='chantier', l_fields=l_fields, columns=kwargs.get('columns', None)) return df