def METHOD_NAME(self, client, strs):
    key = strs[0]
    attr = data_types.DiscreteHistogram(
        buckets=["yes", "no"],
        data=[10, 20],
    )
    experiment_run = client.create_experiment_run(
        attrs={key: attr},
    )
    assert experiment_run.get_attribute(key) == attr