Skip to content

Commit

Permalink
Fix broken strings
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaris committed Apr 4, 2024
1 parent 33573b0 commit 3dc7543
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions indra_network_search/data_models/rest_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

__all__ = ["Health", "ServerStatus"]


STR_STATUS = Literal["booting", "available"]


Expand All @@ -26,9 +25,9 @@ class Health(BaseModel):
class ServerStatus(BaseModel):
"""Status with more detail than health"""

unsigned_nodes: Optional[int] = Field(None, description="Number of " "unsigned nodes " "in the graph")
signed_nodes: Optional[int] = Field(None, description="Number of signed " "nodes in the graph")
unsigned_edges: Optional[int] = Field(None, description="Number of " "unsigned edges " "in the graph")
signed_edges: Optional[int] = Field(None, description="Number of signed " "edges in the graph")
graph_date: Optional[date] = Field(None, description="Date of the " "graph creation from the database")
unsigned_nodes: Optional[int] = Field(None, description="Number of unsigned nodes in the graph")
signed_nodes: Optional[int] = Field(None, description="Number of signed nodes in the graph")
unsigned_edges: Optional[int] = Field(None, description="Number of unsigned edges in the graph")
signed_edges: Optional[int] = Field(None, description="Number of signed edges in the graph")
graph_date: Optional[date] = Field(None, description="Date of the graph creation from the database")
status: STR_STATUS = Field(..., description="Status of the server")

0 comments on commit 3dc7543

Please sign in to comment.