mirror of
https://github.com/fastapi-practices/fastapi_best_architecture.git
synced 2026-03-13 09:31:31 +08:00
16 lines
336 B
Python
16 lines
336 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
from anyio import run
|
|
|
|
from backend.plugin.tools import install_requirements_async
|
|
|
|
|
|
async def init() -> None:
|
|
print('Starting initial plugin')
|
|
await install_requirements_async()
|
|
print('Plugin successfully installed')
|
|
|
|
|
|
if __name__ == '__main__':
|
|
run(init) # type: ignore
|