test
This commit is contained in:
parent
f5903aa104
commit
378eeda175
@ -13,8 +13,6 @@ from .debug import Debug_JSON
|
|||||||
|
|
||||||
from .images import Images
|
from .images import Images
|
||||||
|
|
||||||
from .test import Test
|
|
||||||
|
|
||||||
|
|
||||||
class fHDHR_API():
|
class fHDHR_API():
|
||||||
|
|
||||||
@ -34,5 +32,3 @@ class fHDHR_API():
|
|||||||
self.debug = Debug_JSON(fhdhr)
|
self.debug = Debug_JSON(fhdhr)
|
||||||
|
|
||||||
self.images = Images(fhdhr)
|
self.images = Images(fhdhr)
|
||||||
|
|
||||||
self.test = Test(fhdhr)
|
|
||||||
|
|||||||
@ -1,21 +0,0 @@
|
|||||||
from flask import request, redirect, Response, abort
|
|
||||||
import urllib.parse
|
|
||||||
import json
|
|
||||||
|
|
||||||
|
|
||||||
class Test():
|
|
||||||
endpoints = ["/test"]
|
|
||||||
endpoint_name = "test"
|
|
||||||
endpoint_methods = ["GET", "POST"]
|
|
||||||
|
|
||||||
def __init__(self, fhdhr):
|
|
||||||
self.fhdhr = fhdhr
|
|
||||||
|
|
||||||
def __call__(self, *args):
|
|
||||||
return self.get(*args)
|
|
||||||
|
|
||||||
def get(self, *args):
|
|
||||||
|
|
||||||
print("here I am ")
|
|
||||||
|
|
||||||
return "Success"
|
|
||||||
Loading…
Reference in New Issue
Block a user