This commit is contained in:
Daniel Schick 2023-03-18 19:23:04 +01:00
parent 8fb1d9b4d7
commit 695c5afee8
2 changed files with 10 additions and 3 deletions

View File

@ -1,11 +1,17 @@
import json
import logging
import pydapper
import mysql.connector
def GetVerify():
def GetVerify(options):
"""
"""
print(options)
sentinel = object()
# with connect("mysql+mysql://root:pydapper@localhost:3307/pydapper", autocommit=True) as commands:
# data = commands.query_single_or_default("SELECT id from `user` WHERE api_key=?", )
# Implement your business logic here
# All the parameters are present in the options argument

View File

@ -5,4 +5,5 @@ Jinja2==2.11.2
MarkupSafe==1.1.1
marshmallow==3.9.1
webargs==6.1.1
Werkzeug==1.0.1
Werkzeug==1.0.1
pydapper[mysql-connector-python]