(framework: string)
| 101 | } |
| 102 | |
| 103 | function getFrameworkEntrypointDocsUrl(framework: string): string { |
| 104 | switch (framework) { |
| 105 | case 'fastapi': |
| 106 | return 'https://vercel.com/docs/frameworks/backend/fastapi#exporting-the-fastapi-application'; |
| 107 | case 'flask': |
| 108 | return 'https://vercel.com/docs/frameworks/backend/flask#exporting-the-flask-application'; |
| 109 | case 'django': |
| 110 | return 'https://vercel.com/docs/frameworks/full-stack/django#configure-the-django-entrypoint'; |
| 111 | default: |
| 112 | return PYTHON_ENTRYPOINT_DOCS_URL; |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | function getMissingExportMessage( |
| 117 | framework: string, |
no outgoing calls
no test coverage detected