equal
deleted
inserted
replaced
340 return tuple(selector.selectors) |
340 return tuple(selector.selectors) |
341 if not isinstance(selector, tuple): |
341 if not isinstance(selector, tuple): |
342 selector = (selector,) |
342 selector = (selector,) |
343 return selector |
343 return selector |
344 |
344 |
345 @classmethod |
345 @property |
346 @deprecated('[3.5] use vreg.schema') |
346 @deprecated('[3.5] use req.vreg') |
347 def schema(cls): |
347 def vreg(self): |
348 return cls.vreg.schema |
348 return self.req.vreg |
349 |
349 |
350 @classmethod |
350 @property |
351 @deprecated('[3.5] use vreg.config') |
351 @deprecated('[3.5] use req.vreg.schema') |
352 def schema(cls): |
352 def schema(self): |
353 return cls.vreg.config |
353 return self.req.vreg.schema |
|
354 |
|
355 @property |
|
356 @deprecated('[3.5] use req.vreg.config') |
|
357 def config(self): |
|
358 return self.req.vreg.config |
354 |
359 |
355 @deprecated('[3.5] use req.varmaker') |
360 @deprecated('[3.5] use req.varmaker') |
356 def initialize_varmaker(self): |
361 def initialize_varmaker(self): |
357 self.varmaker = self.req.varmaker |
362 self.varmaker = self.req.varmaker |
358 |
363 |