Update environment info for http_function after execution using the data returned from isolator
This commit is contained in:
4
db.py
4
db.py
@@ -63,6 +63,10 @@ class DataBase():
|
||||
def edit_http_function(self, name, script_content, environment_info):
|
||||
self.execute(
|
||||
'UPDATE http_functions SET script_content=%s, environment_info=%s WHERE NAME=%s', [script_content, environment_info, name], commit=True)
|
||||
|
||||
def update_http_function_environment_info(self, name, environment_info):
|
||||
self.execute(
|
||||
'UPDATE http_functions SET environment_info=%s WHERE NAME=%s', [environment_info, name], commit=True)
|
||||
|
||||
def delete_http_function(self, name):
|
||||
self.execute(
|
||||
|
||||
Reference in New Issue
Block a user