5 changed files with 77 additions and 29 deletions
@ -1 +0,0 @@ |
|||
from . import scheduler_test # noqa: F401 |
|||
@ -1,19 +0,0 @@ |
|||
from datetime import datetime |
|||
|
|||
|
|||
def job(*args, **kwargs): |
|||
""" |
|||
定时任务执行同步函数示例 |
|||
""" |
|||
print(args) |
|||
print(kwargs) |
|||
print(f'{datetime.now()}同步函数执行了') |
|||
|
|||
|
|||
async def async_job(*args, **kwargs): |
|||
""" |
|||
定时任务执行异步函数示例 |
|||
""" |
|||
print(args) |
|||
print(kwargs) |
|||
print(f'{datetime.now()}异步函数执行了') |
|||
@ -1,19 +1,87 @@ |
|||
aiomysql==0.2.0 |
|||
altgraph==0.17.5 |
|||
annotated-types==0.7.0 |
|||
anyio==4.7.0 |
|||
APScheduler==3.10.4 |
|||
argon2-cffi==23.1.0 |
|||
argon2-cffi-bindings==21.2.0 |
|||
asyncmy==0.2.9 |
|||
asyncpg==0.30.0 |
|||
bcrypt==4.2.1 |
|||
certifi==2024.12.14 |
|||
cffi==1.17.1 |
|||
charset-normalizer==3.4.1 |
|||
click==8.1.8 |
|||
cryptography==44.0.0 |
|||
DateTime==5.5 |
|||
fastapi[all]==0.115.0 |
|||
dnspython==2.7.0 |
|||
email_validator==2.2.0 |
|||
et_xmlfile==2.0.0 |
|||
fastapi==0.115.0 |
|||
fastapi-cli==0.0.7 |
|||
greenlet==3.1.1 |
|||
h11==0.14.0 |
|||
httpcore==1.0.7 |
|||
httptools==0.6.4 |
|||
httpx==0.28.1 |
|||
idna==3.10 |
|||
itsdangerous==2.2.0 |
|||
Jinja2==3.1.5 |
|||
loguru==0.7.2 |
|||
markdown-it-py==3.0.0 |
|||
MarkupSafe==3.0.2 |
|||
mdurl==0.1.2 |
|||
minio==7.2.14 |
|||
numpy==2.2.1 |
|||
openpyxl==3.1.5 |
|||
orjson==3.10.12 |
|||
packaging==25.0 |
|||
pandas==2.2.2 |
|||
passlib[bcrypt]==1.7.4 |
|||
Pillow==10.4.0 |
|||
passlib==1.7.4 |
|||
pillow==10.4.0 |
|||
prettytable==3.15.1 |
|||
psutil==6.0.0 |
|||
pydantic-validation-decorator==0.1.4 |
|||
PyJWT[crypto]==2.8.0 |
|||
pycparser==2.22 |
|||
pycryptodome==3.21.0 |
|||
pydantic==2.10.4 |
|||
pydantic-extra-types==2.10.1 |
|||
pydantic-settings==2.7.0 |
|||
pydantic_core==2.27.2 |
|||
pydantic_validation_decorator==0.1.4 |
|||
pyecharts==2.0.8 |
|||
Pygments==2.18.0 |
|||
pyinstaller==6.17.0 |
|||
pyinstaller-hooks-contrib==2025.11 |
|||
PyJWT==2.8.0 |
|||
PyMySQL==1.1.1 |
|||
python-dateutil==2.9.0.post0 |
|||
python-dotenv==1.0.1 |
|||
python-multipart==0.0.20 |
|||
pytz==2024.2 |
|||
PyYAML==6.0.2 |
|||
redis==5.0.7 |
|||
requests==2.32.3 |
|||
SQLAlchemy[asyncio]==2.0.31 |
|||
rich==13.9.4 |
|||
rich-toolkit==0.12.0 |
|||
shellingham==1.5.4 |
|||
simplejson==3.20.1 |
|||
six==1.17.0 |
|||
sniffio==1.3.1 |
|||
SQLAlchemy==2.0.31 |
|||
sqlparse==0.5.3 |
|||
starlette==0.38.6 |
|||
typer==0.15.1 |
|||
typing_extensions==4.12.2 |
|||
tzdata==2024.2 |
|||
tzlocal==5.2 |
|||
ua-parser==1.0.0 |
|||
ua-parser-builtins==0.18.0.post1 |
|||
ujson==5.10.0 |
|||
urllib3==2.3.0 |
|||
user-agents==2.2.0 |
|||
asyncpg== 0.30.0 |
|||
aiomysql==0.2.0 |
|||
uvicorn==0.34.0 |
|||
uvloop==0.21.0 |
|||
watchfiles==1.0.3 |
|||
wcwidth==0.2.13 |
|||
websockets==14.1 |
|||
zope.interface==7.2 |
|||
Loading…
Reference in new issue