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
/
GetPeers.py
diff --git
a/PLC/Methods/GetPeers.py
b/PLC/Methods/GetPeers.py
index
b7509b0
..
3002e82
100644
(file)
--- a/
PLC/Methods/GetPeers.py
+++ b/
PLC/Methods/GetPeers.py
@@
-30,6
+30,8
@@
class GetPeers (Method):
]
returns = [Peer.fields]
+ event_type = 'Get'
+ object_type = 'Peer'
def call (self, auth, peer_filter = None, return_fields = None):
return Peers(self.api, peer_filter, return_fields)