From 94fc875fa77709f6b48e0a0ca46dfa1089ba2c92 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Wed, 25 Oct 2006 19:34:46 +0000 Subject: [PATCH] - fix return value documentation --- PLC/Methods/AdmGetSiteNodes.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/PLC/Methods/AdmGetSiteNodes.py b/PLC/Methods/AdmGetSiteNodes.py index 6deb6103..7eb822b9 100644 --- a/PLC/Methods/AdmGetSiteNodes.py +++ b/PLC/Methods/AdmGetSiteNodes.py @@ -8,8 +8,9 @@ class AdmGetSiteNodes(Method): """ Deprecated. See GetSites. - Return a dictionary containing a list of node_ids for each of the - sites specified. + Return a struct containing an array of node_ids for each of the + sites specified. Note that the keys of the struct are strings, not + integers, because of XML-RPC marshalling limitations. Admins may retrieve details about all nodes on a site by not specifying site_id_or_name or by specifying an empty list. Users and @@ -27,7 +28,7 @@ class AdmGetSiteNodes(Method): Site.fields['name'])], ] - returns = { Site.fields['site_id']: Site.fields['node_ids'] } + returns = dict def call(self, auth, site_id_or_name_list = None): # Get site information -- 2.47.0