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

Method set_done

dev-tools/scripts/releaseWizard.py:839–847  ·  view source on GitHub ↗
(self, is_done)

Source from the content-addressed store, hash-verified

837 return myvars
838
839 def set_done(self, is_done):
840 if is_done:
841 self.state['done_date'] = unix_time_millis(datetime.now(UTC))
842 if self.persist_vars:
843 for k in self.persist_vars:
844 self.state[k] = self.get_vars()[k]
845 else:
846 self.state.clear()
847 self.state['done'] = is_done
848
849 def applies(self, type):
850 if self.types:

Callers 3

__init__Method · 0.95
display_and_confirmMethod · 0.95
clearMethod · 0.95

Calls 3

get_varsMethod · 0.95
unix_time_millisFunction · 0.85
clearMethod · 0.65

Tested by

no test coverage detected