Remove old inp in routine

This commit is contained in:
WQY\qiong
2023-03-21 21:18:53 +08:00
parent 8681a56ed7
commit 9f9d3227b9
28 changed files with 83 additions and 642 deletions

View File

@@ -11,7 +11,7 @@ def set_option(name: str, cs: ChangeSet) -> ChangeSet:
return execute_batch_command(name, new_cs)
def inp_in_option(section: list[str]) -> ChangeSet:
def _inp_in_option(section: list[str]) -> ChangeSet:
if len(section) <= 0:
return ChangeSet()
@@ -41,9 +41,9 @@ def inp_in_option(section: list[str]) -> ChangeSet:
return result
def inp_in_option_new(section: list[str]) -> str:
def inp_in_option(section: list[str]) -> str:
sql = ''
result = inp_in_option(section)
result = _inp_in_option(section)
for op in result.operations:
for key in op.keys():
if key == 'operation' or key == 'type':