eksplicit mapping af envs
This commit is contained in:
12
backend/app/models/match.py
Normal file
12
backend/app/models/match.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class MatchRequest(BaseModel):
|
||||
own_token: str
|
||||
detected_token: str
|
||||
|
||||
|
||||
class MatchResult(BaseModel):
|
||||
match: bool
|
||||
shared_interests: list[str]
|
||||
nudge_sent: bool
|
||||
Reference in New Issue
Block a user