We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1186518 commit f0848a1Copy full SHA for f0848a1
nowcasting_datamodel/read/read_gsp.py
@@ -37,7 +37,7 @@ def get_latest_gsp_yield(
37
query = query.distinct(LocationSQL.id)
38
39
# select only th epv systems we want
40
- query = query.where(LocationSQL.id.in_(gsp_ids))
+ query = query.where(LocationSQL.gsp_id.in_(gsp_ids))
41
42
# order by 'created_utc' desc, so we get the latest one
43
query = query.order_by(
0 commit comments