# Bug in checkpoint.py

**URL:** <https://discourse.greatexpectations.io/t/bug-in-checkpoint-py/1799>\
**Category:** GX Core Support\
**Created:** [July 9, 2024, 9:39am UTC](https://discourse.greatexpectations.io/t/bug-in-checkpoint-py/1799 "2024-07-09T09:39:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaan](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shaan](https://discourse.greatexpectations.io/u/shaan)\
**Post date:** [July 9, 2024, 9:39am UTC](https://discourse.greatexpectations.io/t/bug-in-checkpoint-py/1799/1 "2024-07-09T09:39:38Z")

</div>

when I am applying 3 validations in one checkpoint and then running them but when I am running it , it is giving me mixup in data asset name  
all validations data asset name is same…

`great_expectations/checkpoint/checkpoint.py`  
for all expectation suite `run_results` response happens to have same data\_Asset\_name even if table name is different

so for  
validations\_forecast\_past\_7\_days = create\_query\_validations(  
expectation\_suites=[“forecast.recent-data-error”],  
query=f"select \* from {forecasts\_table} where date \>= current\_timestamp - interval ‘7 days’",  
data\_asset\_name=“forecasts in past 7 days”,  
)

validations\_forecast\_metrics = create\_inferred\_validations(  
expectation\_suites=[  
“forecast\_metrics.warning”,

```
],
data_asset_name=metrics_table,

```

)  
validations\_forecast\_no\_metrics = create\_inferred\_validations(  
expectation\_suites=[“forecast\_metrics.missing\_keys\_warning”],  
data\_asset\_name=gx\_forecast\_no\_metrics\_table,  
)  
validations = (

```
validations_forecast_past_7_days
+ validations_forecast_metrics
+ validations_forecast_no_metrics

```

)

checkpoint = create\_checkpoint(name=“forecast\_output”, validations=validations)  
checkpoint.run()

I am getting in result same data asset name for all the 3 validation name and ideally it should be unique

---

<div class="post-metadata">

**Author:** ![slack\_user](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.greatexpectations.io/slack_user/32/202_2.png) [@slack\_user](https://discourse.greatexpectations.io/u/slack_user)\
**Post date:** [July 10, 2024, 7:24am UTC](https://discourse.greatexpectations.io/t/bug-in-checkpoint-py/1799/2 "2024-07-10T07:24:45Z")

</div>

Actually i am making a checkpoint - it has three validations , and in both of the validations but different batchrequests(column headings are same but content different) .On doing checkpoint.run() ,even though I have three validations in the checkpoint , i am only able to see the data\_asset\_name of the of latest validation (out of the three validations)  
Note: `@Shaan Gupta` originally [posted this reply in Slack](https://greatexpectationstalk.slack.com/archives/CUTCNHN82/p1720596278130289?thread_ts=1720518000.351599&cid=CUTCNHN82). It might not have transferred perfectly.
