Changeset 1920 in products for quintagroup.canonicalpath


Ignore:
Timestamp:
Mar 16, 2010 3:55:07 PM (14 years ago)
Author:
mylan
Message:

#177: Updated interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.canonicalpath/trunk/quintagroup/canonicalpath/interfaces.py

    r782 r1920  
    1 from zope.interface import Interface 
     1from zope.interface import Interface, Attribute 
     2from zope.schema import URI 
    23 
    34class ICanonicalPath(Interface): 
     
    56    """ 
    67 
    7     def canonical_path(): 
    8         """Return canonical path for the object 
    9         """ 
     8    # canonical_path = URI( 
     9    #     title=u"canonical_path", 
     10    #     description = u"canonical_path - for the object. Adapter must " \ 
     11    #                   u"implement *setter* and *getter* for the attribute") 
     12 
     13    canonical_path = Attribute("canonical_path", 
     14        "canonical_path - for the object. Adapter must implement " 
     15        "*setter* and *getter* for the attribute") 
     16 
Note: See TracChangeset for help on using the changeset viewer.