Skip to content

Commit 8517689

Browse files
committed
FIX: added fixes to argument syntax, readme correction
1 parent 8445924 commit 8517689

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Follow it - it will let to execute Embedded Python scripts vs IRIS and develop i
154154

155155
Once devcontainer is opened go to /python/irisapp.py and run it, either with Run button in the top right corner, or in terminal via:
156156
```bash
157-
$ irispython /python/irisapp.py
157+
$ irispython python/irisapp.py
158158
```
159159

160160

@@ -222,7 +222,7 @@ $ docker-compose exec iris bash
222222

223223
Run the following commands to start the flask server:
224224
```
225-
irispython /python/flask/app.py
225+
irispython python/flask/app.py
226226
```
227227

228228
That will start the flask server and you will see the following output:

Diff for: src/dc/python/PersistentClass.cls

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Class dc.python.PersistentClass Extends %Persistent
44
/// Description
55
Property Test As %VarString;
66

7-
ClassMethod CreateRecord(propValue As %VarString = "TestString", ByRef id As %Integer) As %Status
7+
ClassMethod CreateRecord(propValue As %VarString = "TestString", id As %Integer) As %Status
88
{
99
set sc=$$$OK
1010
set obj=..%New()
@@ -14,7 +14,7 @@ ClassMethod CreateRecord(propValue As %VarString = "TestString", ByRef id As %In
1414
return sc
1515
}
1616

17-
ClassMethod CreateRecordPython(propValue As %VarString, ByRef id As %Integer) [ Language = python ]
17+
ClassMethod CreateRecordPython(propValue As %VarString, id As %Integer) [ Language = python ]
1818
{
1919
import iris
2020
obj=iris.cls(__name__)._New()

0 commit comments

Comments
 (0)