def GetKeywordArgs(prop, include_default=True):
  kwargs = {
      'required': prop._required,
      'repeated': prop._repeated,
  }
  if include_default and hasattr(prop, '_default'):
    kwargs['default'] = prop._default
  if hasattr(prop, '_variant'):
    kwargs['variant'] = prop._variant
  return kwargs
Supply a success value for the next event which will be published now.
dataset/ETHPy150Open GoogleCloudPlatform/endpoints-proto-datastore/endpoints_proto_datastore/ndb/utils.py/GetKeywordArgs--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/restapi/testtools.py/EventChannel.callback