@@ -496,10 +496,9 @@ def get_template_by_user(self, name, username):
496496 Returns a template of the given name belonging to username
497497 ==========================================================
498498
499- Tries to retrieve a template of the given name
500- from the webservice. If you are trying to fetch
501- a private template (ie. one you made yourself
502- and is not available to others) then you may need to authenticate
499+ Tries to retrieve a template of the given name belonging
500+ to the username from the webservice. You need to authenticate
501+ as admin
503502
504503 @see: L{intermine.webservice.Service.__init__}
505504
@@ -695,6 +694,8 @@ def all_templates(self):
695694
696695 Service.all_templates S{->} dict(string|string)
697696
697+ You need to be authenticated as admin.
698+
698699 For efficiency's sake, Templates are not parsed until
699700 they are required, and until then they are stored as XML
700701 strings. It is recommended that in most cases you would want
@@ -727,12 +728,12 @@ def all_templates(self):
727728 @property
728729 def all_templates_names (self ):
729730 """
730- The dictionary of templates name by users from the webservice
731+ The dictionary of templates names by users from the webservice
731732 =============================================================
732733
733734 Service.all_templates_names S{->} dict(string|array)
734735
735- You can use this property however to test for template existence though::
736+ You need to be authenticated as admin.
736737
737738 allTemplatesNames = service.all_templates_names
738739 for user in allTemplatesNames:
0 commit comments