openclimatefix / openclimatefix/data-platform

Support Energy Source Updates in Update Endpoint

Open Beginner friendly
#174 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
3
Forks
1
Avg merge
44m
Merged PRs (30d)
2

Description

Description

The current update endpoint does not support updating the energy_source field. As a result, we are unable to modify the energy source of an existing location.

Expected Behavior

The update endpoint should allow updates to the energy_source attribute, similar to how other editable fields are handled.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the location update endpoint and compare its editable-field handling with the other supported attributes. Trace how energy_source is represented and validated, then add endpoint coverage showing that an existing location's energy source can be changed.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.