parameters: (self, full)
return_statement: return self.__cached_URI
docstring: Returns a URI by which this instance may be accessed, or None if no such
          URI is available.
          
          :full:
              Whether or not to return a "full" URI from uri_for()
docstring_summary: Returns a URI by which this instance may be accessed, or None if no such
          URI is available.
          
          :full:
              Whether or not to return a "full" URI from uri_for()
docstring_tokens: Returns a URI by which this instance may be accessed or None if no such URI is available . : full : Whether or not to return a full URI from uri_for ()
function: def get_URI(self, full):
          """Returns a URI by which this instance may be accessed, or None if no such
          URI is available.
          
          :full:
              Whether or not to return a "full" URI from uri_for()
          """
          if self.__cached_URI is None:
              pl = self.get_path().to_list()
              depth = len(pl) - 1
              uri_name = '%s-L%i' % (self.__class__.__name__, depth)
              
              # construct a dict of arguments to uri_for()
              d = dict()
              for i in range(len(pl)):
                  d['ldc%i' % (i)] = pl[i]
  
              if d is not None:
                  self.__cached_URI = uri_for(uri_name, _full=full, **d)
              else:
                  self.__cached_URI = None
              
          return self.__cached_URI
function_tokens: def get_URI ( self , full ) : if self . __cached_URI is None : pl = self . get_path ( ) . to_list ( ) depth = len ( pl ) - 1 uri_name = '%s-L%i' % ( self . __class__ . __name__ , depth ) # construct a dict of arguments to uri_for() d = dict ( ) for i in range ( len ( pl ) ) : d [ 'ldc%i' % ( i ) ] = pl [ i ] if d is not None : self . __cached_URI = uri_for ( uri_name , _full = full , * * d ) else : self . __cached_URI = None return self . __cached_URI