File
Blob: src/workerd/server/tests/python/fastapi/fastapi.wd-test
| 1 | using Workerd = import "/workerd/workerd.capnp"; |
| 2 | |
| 3 | const unitTests :Workerd.Config = ( |
| 4 | services = [ |
| 5 | ( name = "fastapi", |
| 6 | worker = ( |
| 7 | modules = [ |
| 8 | (name = "worker.py", pythonModule = embed "worker.py"), |
| 9 | (name = "fastapi", pythonRequirement = "fastapi") |
| 10 | ], |
| 11 | compatibilityFlags = [%PYTHON_FEATURE_FLAGS, "disable_python_dedicated_snapshot"], |
| 12 | ) |
| 13 | ), |
| 14 | ], |
| 15 | ); |