frdel commited on
Commit
7444a3d
·
1 Parent(s): f312274

Update rfc.py

Browse files
Files changed (1) hide show
  1. python/api/rfc.py +5 -0
python/api/rfc.py CHANGED
@@ -4,6 +4,11 @@ from flask import Request, Response
4
  from python.helpers import runtime
5
 
6
  class RFC(ApiHandler):
 
 
 
 
 
7
  async def process(self, input: dict, request: Request) -> dict | Response:
8
  result = await runtime.handle_rfc(input) # type: ignore
9
  return result
 
4
  from python.helpers import runtime
5
 
6
  class RFC(ApiHandler):
7
+
8
+ @classmethod
9
+ def requires_csrf(cls) -> bool:
10
+ return False
11
+
12
  async def process(self, input: dict, request: Request) -> dict | Response:
13
  result = await runtime.handle_rfc(input) # type: ignore
14
  return result