Add Allusers view
This commit is contained in:
3
api/application/contracts/user/__init__.py
Normal file
3
api/application/contracts/user/__init__.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from .user_response import UserResponse
|
||||
|
||||
__all__ = ("UserResponse",)
|
7
api/application/contracts/user/user_response.py
Normal file
7
api/application/contracts/user/user_response.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class UserResponse:
|
||||
name: str
|
||||
email: str
|
Reference in New Issue
Block a user