def ensure_schemas():
 for schema in OSF_META_SCHEMAS:
  ensure_schema(schema, schema['name'], version=schema.get('version', 1))

def ensure_schemas ( ) : for schema in OSF_META_SCHEMAS : ensure_schema ( schema , schema [ 'name' ] , version = schema . get ( 'version' , 1 ) )
import meta-data schemas from json to database if not already loaded .