Skip to content

Commit

Permalink
Merge pull request #20 from yazdipour/feature/support-label-modification
Browse files Browse the repository at this point in the history
Feature/support label modification
  • Loading branch information
yazdipour authored Jun 17, 2024
2 parents c81f7ca + 67e619a commit 112921c
Show file tree
Hide file tree
Showing 26 changed files with 3,518 additions and 329 deletions.
11 changes: 11 additions & 0 deletions omnivoreql/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from dataclasses import dataclass
from typing import Optional

from dataclasses import dataclass, field
from typing import Optional

@dataclass
class CreateLabelInput:
name: str = field(default="", metadata={"validate": lambda x: isinstance(x, str) and bool(x.strip())})
color: str = field(default="", metadata={"validate": lambda x: isinstance(x, str) and bool(x.strip())})
description: Optional[str] = None
Loading

0 comments on commit 112921c

Please sign in to comment.