cleanup/rm
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env python3.12
|
||||
|
||||
import logging
|
||||
import regex
|
||||
from regex import Pattern
|
||||
|
@ -1,11 +1,6 @@
|
||||
#!/usr/bin/env python3.12
|
||||
|
||||
from typing import Optional
|
||||
from pydantic import BaseModel
|
||||
|
||||
# Constructors
|
||||
# TODO: REORDER
|
||||
|
||||
"""
|
||||
Karma
|
||||
"""
|
||||
|
@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env python3.12
|
||||
|
||||
import os
|
||||
import logging
|
||||
import time
|
||||
|
@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env python3.12
|
||||
|
||||
import importlib
|
||||
import traceback
|
||||
from typing import Optional, Union
|
||||
|
@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env python3.12
|
||||
|
||||
import logging
|
||||
import os
|
||||
import urllib.parse
|
||||
|
@ -1,7 +1,4 @@
|
||||
#!/usr/bin/env python3.12
|
||||
|
||||
import time
|
||||
import logging
|
||||
from typing import Optional
|
||||
from fastapi import FastAPI
|
||||
from fastapi.responses import JSONResponse
|
||||
@ -86,7 +83,7 @@ class Misc(FastAPI):
|
||||
"""
|
||||
Homepage Lyrics Widget Handler
|
||||
"""
|
||||
found_counts: dict = await self.redis_cache.get_found_counts()
|
||||
found_counts: Optional[dict] = await self.redis_cache.get_found_counts()
|
||||
if not isinstance(found_counts, dict):
|
||||
return JSONResponse(status_code=500, content={
|
||||
'err': True,
|
||||
|
@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env python3.12
|
||||
|
||||
import logging
|
||||
import traceback
|
||||
import time
|
||||
|
@ -1,9 +1,3 @@
|
||||
#!/usr/bin/env python3.12
|
||||
|
||||
"""
|
||||
Radio Utils
|
||||
"""
|
||||
|
||||
import logging
|
||||
import traceback
|
||||
import time
|
||||
|
@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env python3.12
|
||||
|
||||
import os
|
||||
import random
|
||||
from typing import LiteralString, Optional, Union
|
||||
|
@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env python3.12
|
||||
|
||||
import os
|
||||
import aiosqlite as sqlite3
|
||||
from fastapi import FastAPI
|
||||
|
@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env python3.12
|
||||
|
||||
import logging
|
||||
from typing import Optional
|
||||
from fastapi import FastAPI, Request, HTTPException
|
||||
|
@ -1,5 +1,3 @@
|
||||
#!/usr/bin/env python3.12
|
||||
|
||||
import importlib
|
||||
from fastapi import FastAPI
|
||||
from fastapi.responses import JSONResponse
|
||||
|
Reference in New Issue
Block a user