equal
deleted
inserted
replaced
28 self.latest_cache_lookup = _now |
28 self.latest_cache_lookup = _now |
29 |
29 |
30 |
30 |
31 class RequestSessionBase(object): |
31 class RequestSessionBase(object): |
32 """base class containing stuff shared by server session and web request |
32 """base class containing stuff shared by server session and web request |
|
33 |
|
34 request/session is the main resources accessor, mainly through it's vreg |
|
35 attribute: |
|
36 :vreg: |
|
37 the instance's registry |
|
38 :vreg.schema: |
|
39 the instance's schema |
|
40 :vreg.config: |
|
41 the instance's configuration |
33 """ |
42 """ |
34 def __init__(self, vreg): |
43 def __init__(self, vreg): |
35 self.vreg = vreg |
44 self.vreg = vreg |
36 try: |
45 try: |
37 encoding = vreg.property_value('ui.encoding') |
46 encoding = vreg.property_value('ui.encoding') |