Skip to content

URN Implementation#93

Open
juztas wants to merge 3 commits into
doe-iri:mainfrom
juztas:urn
Open

URN Implementation#93
juztas wants to merge 3 commits into
doe-iri:mainfrom
juztas:urn

Conversation

@juztas
Copy link
Copy Markdown
Contributor

@juztas juztas commented May 18, 2026

This is based on John's URN doc. Need to review it and solve conflicts

Comment thread app/types/scalars.py
# AllocationUnit: an enum for allocation units
class AllocationUnit(enum.Enum):
"""Units for allocation"""
DOE_IRI_URN_PREFIX = "urn:doe-iri:"
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.

Why all this complexity? How about just new enum(str)-s of the urls?

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.

2 participants