mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-14 03:11:46 +00:00
12 lines
286 B
Python
12 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 []
|