equal
deleted
inserted
replaced
1030 @deprecated('[3.4] use entity_from_eid(eid, etype=None)') |
1030 @deprecated('[3.4] use entity_from_eid(eid, etype=None)') |
1031 def entity(self, eid): |
1031 def entity(self, eid): |
1032 """return a result set for the given eid""" |
1032 """return a result set for the given eid""" |
1033 return self.entity_from_eid(eid) |
1033 return self.entity_from_eid(eid) |
1034 |
1034 |
|
1035 # these are overridden by set_log_methods below |
|
1036 # only defining here to prevent pylint from complaining |
|
1037 info = warning = error = critical = exception = debug = lambda msg,*a,**kw: None |
|
1038 |
1035 |
1039 |
1036 class InternalSession(Session): |
1040 class InternalSession(Session): |
1037 """special session created internaly by the repository""" |
1041 """special session created internaly by the repository""" |
1038 is_internal_session = True |
1042 is_internal_session = True |
1039 running_dbapi_query = False |
1043 running_dbapi_query = False |