mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-29 10:40:59 +00:00
13 lines
286 B
Python
13 lines
286 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:lists")
|
||
|
@api_view.get
|
||
|
def get_lists(request: HttpRequest) -> list[schemas.List]:
|
||
|
# We don't implement this yet
|
||
|
return []
|