def get_current_registry(context=None):
 return manager.get()['registry']

def get_current_registry ( context = None ) : return manager . get ( ) [ 'registry' ]
return the currently active :term:application registry or the global application registry if no request is currently active .