Skip to content

Commit

Permalink
Merge pull request #32 from alirashidAR/entity-default-arg
Browse files Browse the repository at this point in the history
fix:default entity_type set to gsp
  • Loading branch information
peterdudfield authored Jan 10, 2025
2 parents a579f23 + eea3d4a commit 45f2a41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/open_data_pvnet/scripts/fetch_pvlive_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def get_data_at_time(self, dt):
Get data at a specific time
"""
try:
df = self.pvl.at_time(dt, entity_type="pes", entity_id=0, extra_fields="", period=30, dataframe=True)
df = self.pvl.at_time(dt, entity_type="gsp", entity_id=0, extra_fields="", period=30, dataframe=True)
return df
except Exception as e:
logger.error(e)
Expand Down

0 comments on commit 45f2a41

Please sign in to comment.