Skip to content

Commit

Permalink
feat: Add CreateLabelInput dataclass
Browse files Browse the repository at this point in the history
  • Loading branch information
yazdipour committed Jun 16, 2024
1 parent eb03782 commit 05a57c2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions omnivoreql/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from dataclasses import dataclass
from typing import Optional

@dataclass
class CreateLabelInput:
name: str
color: str
description: Optional[str] = None

0 comments on commit 05a57c2

Please sign in to comment.