Skip to content

Commit 03c97fd

Browse files
author
Daniela Butano
authored
Merge pull request #89 from danielabutano/bitfount
updated documentation
2 parents d6962fc + 7288589 commit 03c97fd

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

intermine/lists/listmanager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ def create_list(
256256
This only makes sense with text uploads
257257
- it is not required (or used) when
258258
the content is a list or a query.
259+
@param organism: organism name
259260
260261
@rtype: intermine.lists.List
261262
"""

intermine/webservice.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)