| 1 | from helpers.api import ApiHandler, Request, Response |
| 2 | |
| 3 | from helpers import runtime |
| 4 | |
| 5 | class RFC(ApiHandler): |
| 6 | |
| 7 | @classmethod |
| 8 | def requires_csrf(cls) -> bool: |
| 9 | return False |
| 10 | |
| 11 | @classmethod |
| 12 | def requires_auth(cls) -> bool: |
| 13 | return False |
| 14 | |
| 15 | async def process(self, input: dict, request: Request) -> dict | Response: |
| 16 | result = await runtime.handle_rfc(input) # type: ignore |
| 17 | return result |