Esempio n. 1
0
 def _get_vocab_data(self, newCache=True):
     """Just a macro like function to get the data to be cached"""
     from pyRdfa.rdfs.process import return_graph
     (self.graph,
      self.expiration_date) = return_graph(self.uri, self.options, newCache)
     return self.graph != None
Esempio n. 2
0
	def _get_vocab_data(self, newCache = True) :
		"""Just a macro like function to get the data to be cached"""		
		from pyRdfa.rdfs.process import return_graph
		(self.graph, self.expiration_date) = return_graph(self.uri, self.options, newCache)
		return self.graph != None