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

Method get_vars

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

Source from the content-addressed store, hash-verified

826 return Todo(**fields)
827
828 def get_vars(self):
829 myvars = {}
830 if self.vars:
831 for k in self.vars:
832 val = self.vars[k]
833 if callable(val):
834 myvars[k] = expand_jinja(val(), vars=myvars)
835 else:
836 myvars[k] = expand_jinja(val, vars=myvars)
837 return myvars
838
839 def set_done(self, is_done):
840 if is_done:

Callers 2

set_doneMethod · 0.95
get_vars_and_stateMethod · 0.95

Calls 1

expand_jinjaFunction · 0.85

Tested by

no test coverage detected