Skip to content

Commit acdd7b8

Browse files
committed
Documentation
1 parent 00db67a commit acdd7b8

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

isc/py/Main.cls

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ ClassMethod ExcuteCode(code As %Stream.Object, variable As %String = "") As %Sta
8888
/// variable - python variable to set
8989
/// type - variable type (Currently supported: dataframe (pandas dataframe) and list.
9090
/// query - text of the SQL query
91+
/// Pandas automatically imported if required.
9192
/// set sc = ##class(isc.py.Main).ExecuteQuery("SELECT * FROM isc_py_test.CannibalizationData", "df")
9293
ClassMethod ExecuteQuery(query As %String, variable, type As %String(VALUELIST=",dataframe,list") = "list") As %Status
9394
{

isc/py/msg/QueryRequest.cls

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
Class isc.py.msg.QueryRequest Extends Ens.Request
33
{
44

5+
/// Text of the SQL query
56
Property Query As %VarString;
67

8+
/// Python variable to set
79
Property Variable As %String;
810

11+
/// Variable type (Currently supported: dataframe (pandas dataframe) and list.
12+
/// Pandas automatically imported if required.
913
Property Type As %String(VALUELIST = ",dataframe,list") [ InitialExpression = "list" ];
1014

1115
Storage Default
@@ -18,6 +22,9 @@ Storage Default
1822
<Value name="2">
1923
<Value>Variable</Value>
2024
</Value>
25+
<Value name="3">
26+
<Value>Type</Value>
27+
</Value>
2128
</Data>
2229
<DefaultData>QueryRequestDefaultData</DefaultData>
2330
<Type>%Library.CacheStorage</Type>

0 commit comments

Comments
 (0)