Skip to content

Commit b41cdfa

Browse files
committed
typos in Variable
1 parent 9173351 commit b41cdfa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

isc/py/data/Variable.cls

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Property Pickle As %VarString;
1818
Property JSON As %VarString;
1919

2020
/// Save variable on disk.
21-
/// zw ##class(isc.py.data.Varable).SaveVariable()
22-
ClassMethod SaveVariable(name As %String = "", Output variable As isc.py.data.Varable) As %Status
21+
/// zw ##class(isc.py.data.Variable).SaveVariable()
22+
ClassMethod SaveVariable(name As %String = "", Output variable As isc.py.data.Variable) As %Status
2323
{
2424
kill variable
2525
quit:name="" $$$ERROR($$$GeneralError, "Variable name can't be empty")
@@ -32,6 +32,8 @@ ClassMethod SaveVariable(name As %String = "", Output variable As isc.py.data.Va
3232

3333
if type = "DataFrame" {
3434
set json = ##class(isc.py.Callout).SimpleString("zzzjson=" _name _ ".to_json()", "zzzjson")
35+
} elseif type="DatetimeIndex" {
36+
/// TODO
3537
} else {
3638
set json = ##class(isc.py.Callout).SimpleString("zzzjson=json.dumps(" _name _ ")", "zzzjson")
3739
}

0 commit comments

Comments
 (0)