gavo.api module

Operator code based on DaCHS (e.g., custom grammars or pages, other helper code, or <code> items in RDs) should just need to from gavo import api and then work with what is in here. See http://docs.g-vo.org/DaCHS/ref.html#api-function-reference for what is available here.

gavo.api.reloadLocal()[source]

reloads the local namespace.

This is material an operator defines in $GAVO_CONFIG/local.py. If that file is missing or unreadable, api.local will be a stub that raises a constant error regardless of what you try to getattr from it.