Skip to content

Commit

Permalink
Rename export import functions to make clear that its about kek
Browse files Browse the repository at this point in the history
  • Loading branch information
domi4484 committed Nov 20, 2024
1 parent 5cc3e8b commit 09e51e6
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 893 deletions.
12 changes: 6 additions & 6 deletions qgepqwat2ili/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
from logging import INFO, FileHandler, Formatter

from . import config, utils
from .qgep.export import qgep_export as qgep_export_kek
from .qgep.import_ import qgep_import as qgep_import_kek
from .qgep.export import qgep_export_kek
from .qgep.import_ import qgep_import_kek
from .qgep.mapping import get_qgep_mapping
from .qgep.model_abwasser import Base as BaseAbwasser
from .qgep.model_qgep import Base as BaseQgep
from .qgepdss.export import qgep_export as qgep_export_dss
from .qgepdss.import_ import qgep_import as qgep_import_dss
from .qgepsia405.export import qgep_export as qgep_export_sia405
from .qgepsia405.import_ import qgep_import as qgep_import_sia405
from .qgepdss.export import qgep_export_dss
from .qgepdss.import_ import qgep_import_dss
from .qgepsia405.export import qgep_export_sia405
from .qgepsia405.import_ import qgep_import_sia405
from .qwat.export import qwat_export
from .qwat.import_ import qwat_import
from .qwat.mapping import get_qwat_mapping
Expand Down
12 changes: 6 additions & 6 deletions qgepqwat2ili/gui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@

from ....utils.qgeplayermanager import QgepLayerManager
from .. import config
from ..qgep.export import qgep_export as qgep_export_kek
from ..qgep.import_ import qgep_import as qgep_import_kek
from ..qgep.export import qgep_export_kek
from ..qgep.import_ import qgep_import_kek

# 12.7.2022 additional models
from ..qgepdss.export import qgep_export as qgep_export_dss
from ..qgepdss.import_ import qgep_import as qgep_import_dss
from ..qgepdss.export import qgep_export_dss
from ..qgepdss.import_ import qgep_import_dss

# 28.3.2023 additional import for sia405, export to be discussed further
from ..qgepsia405.export import qgep_export as qgep_export_sia405
from ..qgepsia405.import_ import qgep_import as qgep_import_sia405
from ..qgepsia405.export import qgep_export_sia405
from ..qgepsia405.import_ import qgep_import_sia405
from ..utils.ili2db import ( # neu 22.7.2022; get_xtf_model,; neu 31.3.2023; neu 12.4.2023
check_fk_dataowner_null,
check_fk_operator_null,
Expand Down
2 changes: 1 addition & 1 deletion qgepqwat2ili/qgep/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from .model_qgep import get_qgep_model


def qgep_export(selection=None, labels_file=None, orientation=None, basket_enabled=False):
def qgep_export_kek(selection=None, labels_file=None, orientation=None, basket_enabled=False):
"""
Export data from the QGEP model into the ili2pg model.
Expand Down
2 changes: 1 addition & 1 deletion qgepqwat2ili/qgep/import_.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from .model_qgep import get_qgep_model


def qgep_import(precommit_callback=None):
def qgep_import_kek(precommit_callback=None):
"""
Imports data from the ili2pg model into the QGEP model.
Expand Down
875 changes: 0 additions & 875 deletions qgepqwat2ili/qgep/import_.py.tpl

This file was deleted.

2 changes: 1 addition & 1 deletion qgepqwat2ili/qgepdss/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from .model_qgep import get_qgep_model


def qgep_export(selection=None, labels_file=None, orientation=None, basket_enabled=False):
def qgep_export_dss(selection=None, labels_file=None, orientation=None, basket_enabled=False):
"""
Export data from the QGEP model into the ili2pg model.
Expand Down
2 changes: 1 addition & 1 deletion qgepqwat2ili/qgepdss/import_.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from .model_qgep import get_qgep_model


def qgep_import(precommit_callback=None):
def qgep_import_dss(precommit_callback=None):
"""
Imports data from the ili2pg model into the QGEP model.
Expand Down
2 changes: 1 addition & 1 deletion qgepqwat2ili/qgepsia405/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from .model_qgep import get_qgep_model


def qgep_export(selection=None, labels_file=None, orientation=None, basket_enabled=False):
def qgep_export_sia405(selection=None, labels_file=None, orientation=None, basket_enabled=False):
"""
Export data from the QGEP model into the ili2pg model.
Expand Down
2 changes: 1 addition & 1 deletion qgepqwat2ili/qgepsia405/import_.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from .model_qgep import get_qgep_model


def qgep_import(precommit_callback=None):
def qgep_import_sia405(precommit_callback=None):
"""
Imports data from the ili2pg model into the QGEP model.
Expand Down

0 comments on commit 09e51e6

Please sign in to comment.