Skip to content

feat(sites_v1): config, types, and tenancy scoping - #385

Open
suvanbanerjee wants to merge 6 commits into
mainfrom
feat/sites-v1
Open

suvanbanerjee wants to merge 6 commits into
mainfrom
feat/sites-v1

Conversation

@suvanbanerjee

@suvanbanerjee suvanbanerjee commented Sep 10, 2026

Copy link
Copy Markdown
Member

Pull Request

Description

Add endpoint type scoping and add sites to country config

Fixes #386

How Has This Been Tested?

  • Locally

Checklist:

  • My code follows OCF's coding style guidelines
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked my code and corrected any misspellings

@suvanbanerjee
suvanbanerjee marked this pull request as ready for review September 15, 2026 11:34
@suvanbanerjee suvanbanerjee changed the title feat: Sites v1 feat(Sites v1): config, types, and tenancy scoping Sep 15, 2026
@suvanbanerjee suvanbanerjee changed the title feat(Sites v1): config, types, and tenancy scoping feat(sites_v1): config, types, and tenancy scoping Sep 15, 2026

site_id: UUID
capacity_kW: float
metadata: dict[str, str | int | float] = Field(default_factory=dict)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made this as json/dict so we can reuse this for any source(solar/wind) etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sites v1: config, types, and tenancy scoping

1 participant