generated from dhairya/scenario_template
System save at 04/10/2024 15:15 by qatest
This commit is contained in:
parent
ee9f3ba587
commit
d526b38524
@ -18,7 +18,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from tms_data_interface import SQLQueryInterface\n",
|
||||
"seq = SQLQueryInterface()"
|
||||
"seq = SQLQueryInterface(schema = \"qa_schema\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -140,7 +140,7 @@
|
||||
"from tms_data_interface import SQLQueryInterface\n",
|
||||
"\n",
|
||||
"class Scenario:\n",
|
||||
" seq = SQLQueryInterface()\n",
|
||||
" seq = SQLQueryInterface(schema =\"qa_schema\")\n",
|
||||
"\n",
|
||||
" def logic(self, **kwargs):\n",
|
||||
" row_list = self.seq.execute_raw(query.format(trans_data=\"qa_table_test\",\n",
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"from tms_data_interface import SQLQueryInterface\n",
|
||||
"seq = SQLQueryInterface()"
|
||||
"seq = SQLQueryInterface(schema = \"qa_schema\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -140,7 +140,7 @@
|
||||
"from tms_data_interface import SQLQueryInterface\n",
|
||||
"\n",
|
||||
"class Scenario:\n",
|
||||
" seq = SQLQueryInterface()\n",
|
||||
" seq = SQLQueryInterface(schema =\"qa_schema\")\n",
|
||||
"\n",
|
||||
" def logic(self, **kwargs):\n",
|
||||
" row_list = self.seq.execute_raw(query.format(trans_data=\"qa_table_test\",\n",
|
||||
|
||||
4
main.py
4
main.py
@ -11,7 +11,7 @@ import pandas as pd
|
||||
|
||||
|
||||
from tms_data_interface import SQLQueryInterface
|
||||
seq = SQLQueryInterface()
|
||||
seq = SQLQueryInterface(schema = "qa_schema")
|
||||
|
||||
|
||||
# In[ ]:
|
||||
@ -121,7 +121,7 @@ query = """
|
||||
from tms_data_interface import SQLQueryInterface
|
||||
|
||||
class Scenario:
|
||||
seq = SQLQueryInterface()
|
||||
seq = SQLQueryInterface(schema ="qa_schema")
|
||||
|
||||
def logic(self, **kwargs):
|
||||
row_list = self.seq.execute_raw(query.format(trans_data="qa_table_test",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user