Logo Search packages:      
Sourcecode: zeitgeist version File versions

def _zeitgeist::engine::base::ProxyItem::__init__ (   self,
  uri 
) [inherited]

Create a ProxyItem with a given URI. If the URI is not
      already registered it will be soon. The 'uri' argument
      may be a 'str', 'unicode', or 'URI' instance. 

Definition at line 254 of file base.py.

                              :
            """ Create a ProxyItem with a given URI. If the URI is not
                  already registered it will be soon. The 'uri' argument
                  may be a 'str', 'unicode', or 'URI' instance. """
            
            super(ProxyItem, self).__init__()
            
            # The Item constructor will register the URI if needed
            self.item = Item.lookup_or_create(uri)
            self.uri_id = self.item.uri.id
            self.uri = self.item.uri
      
      @classmethod
      def lookup(cls, uri):


Generated by  Doxygen 1.6.0   Back to index