Refactored services to inherit from BaseService
This commit is contained in:
@@ -66,10 +66,10 @@ class PythonEvaluator(OneReturnValueEvaluator):
|
||||
def get_globals(self, context, node):
|
||||
my_locals = {
|
||||
"sheerka": context.sheerka,
|
||||
"desc": context.sheerka.dump_handler.dump_desc,
|
||||
"concepts": context.sheerka.dump_handler.dump_concepts,
|
||||
"history": context.sheerka.dump_handler.dump_history,
|
||||
"state": context.sheerka.dump_handler.dump_state,
|
||||
# "desc": context.sheerka.dump_handler.dump_desc,
|
||||
# "concepts": context.sheerka.dump_handler.dump_concepts,
|
||||
# "history": context.sheerka.dump_handler.dump_history,
|
||||
# "state": context.sheerka.dump_handler.dump_state,
|
||||
"Concept": core.concept.Concept,
|
||||
"BuiltinConcepts": core.builtin_concepts.BuiltinConcepts,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user