Skip to content

Commit 94c639c

Browse files
author
César Román
authored
feat(system): add util.getModules function (#98)
1 parent 280fa8f commit 94c639c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/system/util.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"getInactivitySeconds",
3232
"getLocale",
3333
"getLogger",
34+
"getModules",
3435
"getProjectName",
3536
"getProperty",
3637
"getReadTimeout",
@@ -367,6 +368,19 @@ def getLogger(name):
367368
return LoggerEx()
368369

369370

371+
def getModules():
372+
# type: () -> BasicDataset
373+
"""Returns a dataset of information about each installed module.
374+
Each row represents a single module.
375+
376+
Returns:
377+
A dataset, where each row represents a module. Contains five
378+
columns: Id, Name, Version, State (Running, Faulted, etc), and
379+
its current License Status (Trial, Activated, etc.).
380+
"""
381+
return BasicDataset()
382+
383+
370384
def getProjectName():
371385
# type: () -> String
372386
"""Returns the name of the project that is currently being run.

0 commit comments

Comments
 (0)