MCPcopy Create free account
hub / github.com/apache/solr / get_vars

Method get_vars

dev-tools/scripts/releaseWizard.py:1763–1772  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1761 return self.jinjaify(self.remove_files)
1762
1763 def get_vars(self):
1764 myvars = {}
1765 if self.vars:
1766 for k in self.vars:
1767 val = self.vars[k]
1768 if callable(val):
1769 myvars[k] = expand_jinja(val(), vars=myvars)
1770 else:
1771 myvars[k] = expand_jinja(val, vars=myvars)
1772 return myvars
1773
1774 def jinjaify(self, data, join=False):
1775 if not data:

Callers 1

jinjaifyMethod · 0.95

Calls 1

expand_jinjaFunction · 0.85

Tested by

no test coverage detected