def transform(repo,<EOL>name=None,<EOL>filename=None,<EOL>force=False,<EOL>args=[]):
mgr = plugins_get_mgr()<EOL>specs = instantiate(repo, name, filename)<EOL>allresults = []<EOL>for s in specs:<EOL><INDENT>keys = mgr.search(what='<STR_LIT>',name=s)['<STR_LIT>']<EOL>for k in keys:<EOL><INDENT>t = mgr.get_by_key('<STR_LIT>', k)<EOL>result = t.evaluate(repo,<EOL>specs[s],<EOL>force,<EOL>args)<EOL>allresults.extend(result)<EOL><DEDENT><DEDENT>return allresults<EOL>
Materialize queries/other content within the repo.

Parameters
----------

repo: Repository object
name: Name of transformer, if any. If none, then all transformers specified in dgit.json will be included.
filename: Pattern that specifies files that must be processed by the generators selected. If none, then the default specification in dgit.json is used.