def get_field(self, key, default=None):
    return self._fields.get(key, default)
:API: public
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/base/payload.py/Payload.get_field--crossover with--dataset/ETHPy150Open pantsbuild/pants/tests/python/pants_test/java/test_util.py/ExecuteJavaTest.test_execute_java_no_error