def fields(*fields, **keys):
    return list(fields) + [
        Field.forTypes(key, [value], "") for key, value in keys.items()]
Factory for for L{MessageType} and L{ActionType} field definitions.
dataset/ETHPy150Open ClusterHQ/eliot/eliot/_validation.py/fields