Skip to content

Commit

Permalink
removed 'orm_mode'
Browse files Browse the repository at this point in the history
  • Loading branch information
kessler-frost committed Sep 15, 2023
1 parent 6ef3f28 commit 2f12f8d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions covalent_ui/api/v1/models/dispatch_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ class DispatchModule(BaseModel):
updated_at: Optional[Union[datetime, None]]

class Config:
orm_mode = True
from_attributes = True


Expand All @@ -69,7 +68,6 @@ class DispatchResponse(BaseModel):
class Config:
"""Configure example for openAPI"""

orm_mode = True
json_schema_extra = {
"example": {
"dispatches": [
Expand Down

0 comments on commit 2f12f8d

Please sign in to comment.