Skip to content

Commit

Permalink
Allow int as values for concept context
Browse files Browse the repository at this point in the history
  • Loading branch information
nanglo123 committed Sep 9, 2024
1 parent 4634ef3 commit 7a41691
Show file tree
Hide file tree
Showing 3 changed files with 371 additions and 371 deletions.
2 changes: 1 addition & 1 deletion mira/metamodel/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class Concept(BaseModel):
identifiers: Mapping[str, str] = Field(
default_factory=dict, description="A mapping of namespaces to identifiers."
)
context: Mapping[str, str] = Field(
context: Mapping[str, Union[str,int]] = Field(
default_factory=dict, description="A mapping of context keys to values."
)
units: Optional[Unit] = Field(
Expand Down
Loading

0 comments on commit 7a41691

Please sign in to comment.