def dump(value):
    return value if isinstance(value, SIMPLE_TYPES) \
        else yaml.dump(value, default_flow_style=False)
Creates a new comment and a corresponding activity.
dataset/ETHPy150Open 0k/shyaml/shyaml.py/dump--crossover with--dataset/ETHPy150Open viewfinderco/viewfinder/backend/op/create_prospective_op.py/CreateProspectiveOperation._PostComment