mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-22 07:10:59 +00:00
17 lines
348 B
Python
17 lines
348 B
Python
|
from django.http import HttpRequest
|
||
|
from hatchway import api_view
|
||
|
|
||
|
from api import schemas
|
||
|
from api.decorators import scope_required
|
||
|
|
||
|
|
||
|
@scope_required("read")
|
||
|
@api_view.get
|
||
|
def suggested_users(
|
||
|
request: HttpRequest,
|
||
|
limit: int = 10,
|
||
|
offset: int | None = None,
|
||
|
) -> list[schemas.Account]:
|
||
|
# We don't implement this yet
|
||
|
return []
|