Package gavo :: Package rscdef :: Module scripting
[frames] | no frames]

Module scripting

source code

Support code for attaching scripts to objects.

Scripts can be either in python or in SQL. They always live on make instances. For details, see Scripting in the reference documentation.

Classes
  Error
  ScriptRunner
An object encapsulating the preparation and execution of scripts.
  SQLScriptRunner
A runner for SQL scripts.
  ACSQLScriptRunner
A runner for "autocommitted" SQL scripts.
  PythonScriptRunner
A runner for python scripts.
  Script
A script, i.e., some executable item within a resource descriptor.
  ScriptingMixin
A mixin that gives objects a getRunner method and a script attribute.
Variables
  getSQLScriptGrammar = <gavo.utils.codetricks.CachedGetter object>
  RUNNER_CLASSES = {'AC_SQL': <class 'gavo.rscdef.scripting.ACSQ...
  __package__ = 'gavo.rscdef'
Variables Details

RUNNER_CLASSES

Value:
{'AC_SQL': <class 'gavo.rscdef.scripting.ACSQLScriptRunner'>,
 'SQL': <class 'gavo.rscdef.scripting.SQLScriptRunner'>,
 'python': <class 'gavo.rscdef.scripting.PythonScriptRunner'>}