update fonctionnement init package
This commit is contained in:
parent
52293d614b
commit
c522a6b586
@ -1,9 +1,9 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: UTF-8 -*-
|
# -*- coding: UTF-8 -*-
|
||||||
|
|
||||||
from .zh import *
|
from .zh import zh,ref_hab, ref_hydro
|
||||||
from .bilan import *
|
from .bilan import *
|
||||||
from .update import update
|
from .update import update_to_sql,update_ref
|
||||||
from .pers import pers
|
from .pers import pers
|
||||||
from .sites import sites
|
from .sites import sites
|
||||||
from .ps import *
|
from .ps import *
|
||||||
|
|||||||
@ -230,12 +230,11 @@ class update_ref_table:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
class update:
|
def update_ref(file, table, schema=None, update=False):
|
||||||
def update_ref(file, table, schema=None, update=False):
|
|
||||||
update_ref_table(file, table, schema, update)
|
update_ref_table(file, table, schema, update)
|
||||||
|
|
||||||
|
|
||||||
def update_to_sql(df, con, table_name, schema_name, key_name):
|
def update_to_sql(df, con, table_name, schema_name, key_name):
|
||||||
from sys import exit
|
from sys import exit
|
||||||
|
|
||||||
a = []
|
a = []
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user