Last change
on this file since 2111 was
1927,
checked in by mylan, 14 years ago
|
#177: Add ICanonicalLink interface and default adapter
|
-
Property svn:eol-style set to
native
|
File size:
551 bytes
|
Line | |
---|
1 | from zope.interface import Interface, Attribute |
---|
2 | |
---|
3 | class ICanonicalPath(Interface): |
---|
4 | """canonical_path provider interface |
---|
5 | """ |
---|
6 | |
---|
7 | canonical_path = Attribute("canonical_path", |
---|
8 | "canonical_path - for the object. Adapter must implement " |
---|
9 | "*setter* and *getter* for the attribute") |
---|
10 | |
---|
11 | class ICanonicalLink(Interface): |
---|
12 | """canonical_link provider interface |
---|
13 | """ |
---|
14 | |
---|
15 | canonical_link = Attribute("canonical_link", |
---|
16 | "canonical_link - for the object. Adapter must implement " |
---|
17 | "*setter* and *getter* for the attribute") |
---|
18 | |
---|
Note: See
TracBrowser
for help on using the repository browser.