Refine fastapi code
This commit is contained in:
@@ -100,6 +100,9 @@ OPTION_QUALITY_TRACE = api.OPTION_QUALITY_TRACE
|
||||
# project
|
||||
############################################################
|
||||
|
||||
def list_project() -> list[str]:
|
||||
return api.list_project()
|
||||
|
||||
def have_project(name: str) -> bool:
|
||||
return api.have_project(name)
|
||||
|
||||
@@ -146,9 +149,6 @@ def dump_output(path: str) -> str:
|
||||
# operation
|
||||
############################################################
|
||||
|
||||
def list_project() -> list[str]:
|
||||
return api.list_project()
|
||||
|
||||
def get_current_operation(name: str) -> int:
|
||||
return api.get_current_operation(name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user