Support option v3
This commit is contained in:
@@ -31,7 +31,7 @@ def _parse_v2(v2_lines: list[str]) -> dict[str, str]:
|
|||||||
return cs_v2
|
return cs_v2
|
||||||
|
|
||||||
|
|
||||||
def inp_in_option_v3(section: list[str]) -> ChangeSet:
|
def _inp_in_option_v3(section: list[str]) -> ChangeSet:
|
||||||
if len(section) <= 0:
|
if len(section) <= 0:
|
||||||
return ChangeSet()
|
return ChangeSet()
|
||||||
|
|
||||||
@@ -62,9 +62,9 @@ def inp_in_option_v3(section: list[str]) -> ChangeSet:
|
|||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
def inp_in_option_v3_new(section: list[str]) -> str:
|
def inp_in_option_v3(section: list[str]) -> str:
|
||||||
sql = ''
|
sql = ''
|
||||||
result = inp_in_option_v3(section)
|
result = _inp_in_option_v3(section)
|
||||||
for op in result.operations:
|
for op in result.operations:
|
||||||
for key in op.keys():
|
for key in op.keys():
|
||||||
if key == 'operation' or key == 'type':
|
if key == 'operation' or key == 'type':
|
||||||
|
|||||||
Reference in New Issue
Block a user