MCPcopy Create free account
hub / github.com/apache/madlib / get_default

Method get_default

src/madpack/argparse.py:1268–1272  ·  view source on GitHub ↗
(self, dest)

Source from the content-addressed store, hash-verified

1266 action.default = kwargs[action.dest]
1267
1268 def get_default(self, dest):
1269 for action in self._actions:
1270 if action.dest == dest and action.default is not None:
1271 return action.default
1272 return self._defaults.get(dest, None)
1273
1274
1275 # =======================

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected