Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
uhbrar committed May 23, 2024
1 parent 0d4a6ce commit 58af2c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 2 additions & 3 deletions reasoner_pydantic/qgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,9 @@ class QNode(BaseModel):
default=HashableSequence[AttributeConstraint](__root__=[]),
title="attribute constraints",
)

member_ids: Optional[HashableSequence[CURIE]] = Field(
default=HashableSequence[CURIE](__root__=[]),
title="set member ids"
default=HashableSequence[CURIE](__root__=[]), title="set member ids"
)

class Config:
Expand Down
5 changes: 3 additions & 2 deletions reasoner_pydantic/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ class OperationLookupAndScore(BaseOperation):
class Config:
extra = "forbid"


operations = [
OperationAnnotate,
OperationAnnotateEdges,
Expand Down Expand Up @@ -468,7 +469,7 @@ class Config:
OperationSortResultsEdgeAttribute,
OperationSortResultsNodeAttribute,
OperationSortResultsScore,
OperationLookupAndScore
OperationLookupAndScore,
]


Expand Down Expand Up @@ -503,7 +504,7 @@ class Operation(BaseModel):
OperationSortResultsEdgeAttribute,
OperationSortResultsNodeAttribute,
OperationSortResultsScore,
OperationLookupAndScore
OperationLookupAndScore,
]


Expand Down

0 comments on commit 58af2c9

Please sign in to comment.