~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/xmlrpc/personset.py

Initial setup for xmlrpc PersonSetAPIView.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright 2010 Canonical Ltd.  This software is licensed under the
 
2
# GNU Affero General Public License version 3 (see the file LICENSE).
 
3
 
 
4
"""XMLRPC APIs for person set."""
 
5
 
 
6
__metaclass__ = type
 
7
__all__ = [
 
8
    'PersonSetAPIView',
 
9
    ]
 
10
 
 
11
 
 
12
from zope.interface import implements
 
13
 
 
14
from canonical.launchpad.webapp import LaunchpadXMLRPCView
 
15
from lp.registry.interfaces.person import IPersonSetAPIView
 
16
 
 
17
 
 
18
class PersonSetAPIView(LaunchpadXMLRPCView):
 
19
    """See `IPersonSetAPIView`."""
 
20
 
 
21
    implements(IPersonSetAPIView)
 
22
 
 
23
    def getOrCreateByOpenIDIdentifier(self, openid_identifier, email,
 
24
                                      full_name):
 
25
        pass
 
26