11882.3.6
by Jonathan Lange
Explicit blueprints webservice exports. |
1 |
# Copyright 2010 Canonical Ltd. This software is licensed under the
|
2 |
# GNU Affero General Public License version 3 (see the file LICENSE).
|
|
3 |
||
11882.3.15
by Jonathan Lange
Some documentational redundancy to help others spend less time than I did. |
4 |
"""All the interfaces that are exposed through the webservice.
|
5 |
||
6 |
There is a declaration in ZCML somewhere that looks like:
|
|
7 |
<webservice:register module="lp.blueprints.interfaces.webservice" />
|
|
8 |
||
9 |
which tells `lazr.restful` that it should look for webservice exports here.
|
|
10 |
"""
|
|
11882.3.6
by Jonathan Lange
Explicit blueprints webservice exports. |
11 |
|
12 |
__all__ = [ |
|
13 |
'ISpecification', |
|
14 |
'ISpecificationBranch', |
|
13161.2.1
by Ian Booth
Export (un)subscribe methods on ISpecification to web service |
15 |
'ISpecificationSubscription', |
11882.3.6
by Jonathan Lange
Explicit blueprints webservice exports. |
16 |
]
|
17 |
||
14550.1.1
by Steve Kowalik
Run format-imports over lib/lp and lib/canonical/launchpad |
18 |
# XXX: JonathanLange 2010-11-09 bug=673083: Legacy work-around for circular
|
19 |
# import bugs. Break this up into a per-package thing.
|
|
14583.1.8
by Curtis Hovey
Move _schema_circular_imports to lp where it might be dismantled. |
20 |
from lp import _schema_circular_imports |
11882.3.6
by Jonathan Lange
Explicit blueprints webservice exports. |
21 |
from lp.blueprints.interfaces.specification import ISpecification |
22 |
from lp.blueprints.interfaces.specificationbranch import ISpecificationBranch |
|
13161.2.1
by Ian Booth
Export (un)subscribe methods on ISpecification to web service |
23 |
from lp.blueprints.interfaces.specificationsubscription import ( |
24 |
ISpecificationSubscription, |
|
25 |
)
|
|
11962.3.15
by Guilherme Salgado
Correctly expose ISpecificationTarget, which is needed by ISpecification.target |
26 |
from lp.blueprints.interfaces.specificationtarget import ISpecificationTarget |
14550.1.1
by Steve Kowalik
Run format-imports over lib/lp and lib/canonical/launchpad |
27 |
|
28 |
||
11882.3.21
by Jonathan Lange
Try out a hack where we do the schema_circular_imports dance in each |
29 |
_schema_circular_imports
|