mirror of
https://github.com/decompme/decomp.me.git
synced 2026-02-28 02:50:02 -06:00
explain rease for type: ignore
This commit is contained in:
@@ -35,6 +35,7 @@ def compilers(request):
|
||||
})
|
||||
|
||||
class ScratchDetail(APIView):
|
||||
# type-ignored due to python/mypy#7778
|
||||
def scratch_last_modified(request: Request, slug: str) -> Optional[datetime]: # type: ignore
|
||||
scratch: Optional[Scratch] = Scratch.objects.filter(slug=slug).first()
|
||||
if scratch:
|
||||
|
||||
Reference in New Issue
Block a user