Skip to content

additional_data: sources: add licence info#335

Open
BibianaC wants to merge 2 commits into
livefrom
bc/add-grant-additional_data-licence
Open

additional_data: sources: add licence info#335
BibianaC wants to merge 2 commits into
livefrom
bc/add-grant-additional_data-licence

Conversation

@BibianaC

@BibianaC BibianaC commented Jun 3, 2026

Copy link
Copy Markdown
Member

relates to #213

I have added the licence to the additional data sources.
The API will be done in a different PR.

@BibianaC BibianaC force-pushed the bc/add-grant-additional_data-licence branch from af01824 to fda34e0 Compare June 3, 2026 13:05
self._cache = {}

def update_additional_data(self, grant, source_file, additional_data):
additional_data[f"{self.ADDITIONAL_DATA_KEY}_LICENCE"] = self.LICENCE

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not sure why we're doing _LICENCE here, compared to https://github.com/ThreeSixtyGiving/datastore/pull/258/changes#diff-d3929aef8ca975fa331395aa7d04c5dc0b85608c6aed7ab04f3a45cf32fa4095R15-R22 which is additional_data[self.ADDITIONAL_DATA_KEY]["source_license"].

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.

Thanks @Bjwebb , I made some changes.

@BibianaC BibianaC force-pushed the bc/add-grant-additional_data-licence branch from b56608d to 830d3fc Compare June 11, 2026 09:09
@BibianaC BibianaC force-pushed the bc/add-grant-additional_data-licence branch from 830d3fc to 7fa3b96 Compare June 11, 2026 09:19
@mariongalley mariongalley requested review from mrshll1001 and removed request for mariongalley June 17, 2026 15:08
@mariongalley

Copy link
Copy Markdown

Not sure how to test so asked for Matt's review instead

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.

3 participants