Skip to content

Commit c8db51f

Browse files
committed
Add missing doc for xmlrpc schema (fixes issue2550735)
1 parent 69a871b commit c8db51f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/xmlrpc.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ to authenticate the request against the tracker.
5454
======= ====================================================================
5555
Command Description
5656
======= ====================================================================
57+
schema
58+
59+
Fetch tracker schema.
60+
5761
list arguments: *classname, [property_name]*
5862

5963
List all elements of a given ``classname``. If ``property_name`` is
@@ -100,6 +104,8 @@ sample python client
100104

101105
>>> import xmlrpclib
102106
>>> roundup_server = xmlrpclib.ServerProxy('http://username:password@localhost:8000/xmlrpc', allow_none=True)
107+
>>> roundup_server.schema()
108+
{'user': [['username', '<roundup.hyperdb.String>'], ...], 'issue': [...]}
103109
>>> roundup_server.list('user')
104110
['admin', 'anonymous', 'demo']
105111
>>> roundup_server.list('issue', 'id')

0 commit comments

Comments
 (0)