MCPcopy Create free account
hub / github.com/vercel/vercel / runFrameworkHook

Function runFrameworkHook

packages/python/src/index.ts:193–201  ·  view source on GitHub ↗
(
  framework: string | null | undefined,
  ctx: FrameworkHookContext
)

Source from the content-addressed store, hash-verified

191) => Promise<FrameworkHookResult | void>;
192
193export async function runFrameworkHook(
194 framework: string | null | undefined,
195 ctx: FrameworkHookContext
196): Promise<FrameworkHookResult | void> {
197 const hook = framework
198 ? frameworkHooks[framework as PythonFramework]
199 : undefined;
200 return hook?.(ctx);
201}
202
203const frameworkHooks: Partial<Record<PythonFramework, FrameworkHook>> = {
204 django: async ({

Callers 2

startDevServerFunction · 0.90
buildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected