Update app and tooling
This commit is contained in:
parent
3046531bdd
commit
e620ec7349
4950 changed files with 2975120 additions and 10 deletions
22
node_modules/@vercel/build-utils/dist/python.d.ts
generated
vendored
Normal file
22
node_modules/@vercel/build-utils/dist/python.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
import FileFsRef from './file-fs-ref';
|
||||
/**
|
||||
* Run a Python script that only uses the standard library.
|
||||
*/
|
||||
export declare function runStdlibPyScript(options: {
|
||||
scriptName: string;
|
||||
pythonPath?: string;
|
||||
args?: string[];
|
||||
cwd?: string;
|
||||
}): Promise<{
|
||||
exitCode: number;
|
||||
stdout: string;
|
||||
stderr: string;
|
||||
}>;
|
||||
/**
|
||||
* Check if a Python file is a valid entrypoint by detecting:
|
||||
* - A top-level 'app' callable (Flask, FastAPI, Sanic, WSGI/ASGI, etc.)
|
||||
* - A top-level 'handler' class (BaseHTTPRequestHandler subclass)
|
||||
*/
|
||||
export declare function isPythonEntrypoint(file: FileFsRef | {
|
||||
fsPath?: string;
|
||||
}): Promise<boolean>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue