eva-shell 0.2.26__tar.gz → 0.2.28__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {eva-shell-0.2.26 → eva-shell-0.2.28}/PKG-INFO +1 -1
- {eva-shell-0.2.26 → eva-shell-0.2.28}/eva4_shell/__init__.py +1 -1
- {eva-shell-0.2.26 → eva-shell-0.2.28}/eva4_shell/ap.py +4 -0
- {eva-shell-0.2.26 → eva-shell-0.2.28}/eva4_shell/cli.py +8 -2
- {eva-shell-0.2.26 → eva-shell-0.2.28}/eva_shell.egg-info/PKG-INFO +1 -1
- {eva-shell-0.2.26 → eva-shell-0.2.28}/setup.py +1 -1
- {eva-shell-0.2.26 → eva-shell-0.2.28}/LICENSE +0 -0
- {eva-shell-0.2.26 → eva-shell-0.2.28}/README.md +0 -0
- {eva-shell-0.2.26 → eva-shell-0.2.28}/bin/eva +0 -0
- {eva-shell-0.2.26 → eva-shell-0.2.28}/eva4_shell/charts.py +0 -0
- {eva-shell-0.2.26 → eva-shell-0.2.28}/eva4_shell/client.py +0 -0
- {eva-shell-0.2.26 → eva-shell-0.2.28}/eva4_shell/compl.py +0 -0
- {eva-shell-0.2.26 → eva-shell-0.2.28}/eva4_shell/sharedobj.py +0 -0
- {eva-shell-0.2.26 → eva-shell-0.2.28}/eva4_shell/shell.py +0 -0
- {eva-shell-0.2.26 → eva-shell-0.2.28}/eva4_shell/tools.py +0 -0
- {eva-shell-0.2.26 → eva-shell-0.2.28}/eva_shell.egg-info/SOURCES.txt +0 -0
- {eva-shell-0.2.26 → eva-shell-0.2.28}/eva_shell.egg-info/dependency_links.txt +0 -0
- {eva-shell-0.2.26 → eva-shell-0.2.28}/eva_shell.egg-info/requires.txt +5 -5
- {eva-shell-0.2.26 → eva-shell-0.2.28}/eva_shell.egg-info/top_level.txt +0 -0
- {eva-shell-0.2.26 → eva-shell-0.2.28}/setup.cfg +0 -0
|
@@ -784,6 +784,10 @@ def append_item_cli(root_sp):
|
|
|
784
784
|
help='fill (e.g. 1T - 1 min, 2H - 2 hours), requires start time,'
|
|
785
785
|
' value precision can be specified as e.g. 1T:2 '
|
|
786
786
|
'for 2 digits after comma')
|
|
787
|
+
p.add_argument('--xopts',
|
|
788
|
+
metavar='NAME=VALUE',
|
|
789
|
+
help='Extra query options',
|
|
790
|
+
nargs='*')
|
|
787
791
|
|
|
788
792
|
p = sp.add_parser('slog', help='item state log')
|
|
789
793
|
p.add_argument('i', metavar='OID').completer = ComplOID()
|
|
@@ -1168,9 +1168,14 @@ class CLI:
|
|
|
1168
1168
|
])
|
|
1169
1169
|
|
|
1170
1170
|
def item_history(self, i, db_svc, time_start, time_end, time_zone, limit,
|
|
1171
|
-
prop, fill):
|
|
1171
|
+
prop, fill, xopts):
|
|
1172
1172
|
time_start = prepare_time(time_start)
|
|
1173
1173
|
time_end = prepare_time(time_end)
|
|
1174
|
+
xopts_map = {}
|
|
1175
|
+
if xopts:
|
|
1176
|
+
for x in xopts:
|
|
1177
|
+
n, v = x.split('=', 1)
|
|
1178
|
+
xopts_map[n] = v
|
|
1174
1179
|
precs = None
|
|
1175
1180
|
if fill is not None:
|
|
1176
1181
|
if ':' in fill:
|
|
@@ -1183,7 +1188,8 @@ class CLI:
|
|
|
1183
1188
|
fill=fill,
|
|
1184
1189
|
precision=precs,
|
|
1185
1190
|
prop=prop,
|
|
1186
|
-
limit=limit
|
|
1191
|
+
limit=limit,
|
|
1192
|
+
xopts=xopts_map),
|
|
1187
1193
|
target=db_svc)
|
|
1188
1194
|
cols = []
|
|
1189
1195
|
if prop == 'status' or prop is None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
argcomplete>=2.0.0
|
|
1
2
|
busrt>=0.1.0
|
|
2
3
|
evaics>=0.0.32
|
|
3
|
-
yedb[cli]>=0.2.25
|
|
4
|
-
argcomplete>=2.0.0
|
|
5
|
-
python-dateutil>=2.7.3
|
|
6
4
|
neotermcolor>=2.0.10
|
|
7
|
-
|
|
5
|
+
pwinput>=1.0.2
|
|
8
6
|
pygments>=2.11.2
|
|
7
|
+
python-dateutil>=2.7.3
|
|
9
8
|
pytz>=2024.1
|
|
10
|
-
|
|
9
|
+
pyyaml>=6.0
|
|
11
10
|
tzlocal>=5.1
|
|
11
|
+
yedb[cli]>=0.2.25
|
|
File without changes
|
|
File without changes
|