Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: added fixes to argument syntax, readme correction #12

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Follow it - it will let to execute Embedded Python scripts vs IRIS and develop i

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:
```bash
$ irispython /python/irisapp.py
$ irispython python/irisapp.py
```


Expand Down Expand Up @@ -222,7 +222,7 @@ $ docker-compose exec iris bash

Run the following commands to start the flask server:
```
irispython /python/flask/app.py
irispython python/flask/app.py
```

That will start the flask server and you will see the following output:
Expand Down
4 changes: 2 additions & 2 deletions src/dc/python/PersistentClass.cls
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Class dc.python.PersistentClass Extends %Persistent
/// Description
Property Test As %VarString;

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

ClassMethod CreateRecordPython(propValue As %VarString, ByRef id As %Integer) [ Language = python ]
ClassMethod CreateRecordPython(propValue As %VarString, id As %Integer) [ Language = python ]
{
import iris
obj=iris.cls(__name__)._New()
Expand Down
Loading