validations endpoint build started
This commit is contained in:
21
Events/AllEvents/validations/validation/function_handlers.py
Normal file
21
Events/AllEvents/validations/validation/function_handlers.py
Normal file
@@ -0,0 +1,21 @@
|
||||
from typing import Any, Union
|
||||
from fastapi import Request
|
||||
|
||||
from Events.base_request_model import TokenDictType, BaseRouteModel
|
||||
|
||||
|
||||
class Handlers:
|
||||
"""Class for handling authentication functions"""
|
||||
|
||||
@classmethod # Requires no auth context
|
||||
def handle_function(cls, **kwargs):
|
||||
"""Handle function with kwargs"""
|
||||
return
|
||||
|
||||
|
||||
class TemplateFunctions(BaseRouteModel):
|
||||
"""Class for handling authentication functions"""
|
||||
|
||||
@classmethod
|
||||
def template_example_function(cls):
|
||||
return
|
||||
Reference in New Issue
Block a user