Skip to content

Commit

Permalink
feat: make PyDataSet iterable
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarcoatl committed Sep 21, 2021
1 parent 533169b commit ccea300
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
@@ -1,6 +1,9 @@
__all__ = ["DatasetUtilities", "SProcCall", "SystemUtilities"]

from com.inductiveautomation.ignition.common import Dataset
from com.inductiveautomation.ignition.common.script.abc import (
AbstractJythonSequence,
)
from com.inductiveautomation.ignition.common.script.message import (
Request,
RequestWatcher,
Expand Down Expand Up @@ -126,7 +129,7 @@ def toPyDataSet(dataset):
def updateRow(ds, row, changes):
pass

class PyDataSet(Dataset):
class PyDataSet(Dataset, AbstractJythonSequence):
def getColumnCount(self):
pass

Expand Down
2 changes: 1 addition & 1 deletion src/system/__version__.py
Expand Up @@ -6,7 +6,7 @@
__description__ = "Ignition Scripting API."
__url__ = "https://github.com/thecesrom/Ignition"
__version__ = "8.1.10"
__cycle__ = ".post2"
__cycle__ = ".post3"
__build__ = "2021090812"
__author__ = "C茅sar Rom谩n"
__author_email__ = "cesar@thecesrom.dev"
Expand Down

0 comments on commit ccea300

Please sign in to comment.