git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- added logging vars
[plcapi.git]
/
PLC
/
Methods
/
GetSlices.py
diff --git
a/PLC/Methods/GetSlices.py
b/PLC/Methods/GetSlices.py
index
ac3c69e
..
6cfacac
100644
(file)
--- a/
PLC/Methods/GetSlices.py
+++ b/
PLC/Methods/GetSlices.py
@@
-29,6
+29,9
@@
class GetSlices(Method):
]
returns = [Slice.fields]
+
+ event_type = 'Get'
+ object_type = 'Slice'
def call(self, auth, slice_filter = None, return_fields = None):
# If we are not admin, make sure to return only viewable