Skip to content

Added Boolean fied to indicate if project is externally funded#319

Open
QuanMPhm wants to merge 1 commit into
nerc-project:mainfrom
QuanMPhm:funding
Open

Added Boolean fied to indicate if project is externally funded#319
QuanMPhm wants to merge 1 commit into
nerc-project:mainfrom
QuanMPhm:funding

Conversation

@QuanMPhm

@QuanMPhm QuanMPhm commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Closes #320. As part of allowing NERC projects to indicate if they are externally funded.


PROJECT_ATTRIBUTES = [
CloudProjectAttribute(
name=PROJECT_IS_EXTERNALLY_FUNDED, type="Yes/No", is_changeable=True

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I don't think this should be is_changeable as it shouldn't be edited by PIs, but set by admins.

Also, I don't think we expose Project Attributes via the API currently, no?

So there would be no way for invoicing to consume this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Given your comment in this PR, I assume your question here has been answered? Unless I am missing something else?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I have set is_changeable to False

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.

Capture whether funding is internal or external for a specific coldfront project via a boolean attribute

2 participants