Skip to content

Commit

Permalink
Add base data class for checks models
Browse files Browse the repository at this point in the history
  • Loading branch information
tudoramariei committed Oct 2, 2024
1 parent 4967e45 commit 6a31849
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ngohub/models/checks.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
from dataclasses import dataclass
from typing import Union

from ngohub.models.core import BaseDataclass
from ngohub.models.organization import OrganizationApplication
from ngohub.models.user import User


@dataclass
class CheckOrganizationUserApplication:
class CheckOrganizationUserApplication(BaseDataclass):
user: Union[User, None]
application: Union[OrganizationApplication, None]
has_access: Union[bool, None]
Expand Down

0 comments on commit 6a31849

Please sign in to comment.