INNER CODE UNIT · JavaScript

handler

logandk/serverless-wsgi · index.js:73

        let handler = _.find(this.serverless.service.functions, (fun) =>
          _.includes(fun.handler, "wsgi_handler.handler")
        );

        // serverless-python-requirements supports packaging individual functions
        // by specifying a Python module, in which case the handler needs to be installed
        // in the module root, rather than the service root
        if (handler && handler.module) {
          this.packageRootPath = this.appPath;
          this.wsgiApp = path.basename(this.wsgiApp);
        }
      }

      resolve();
    });
  }

  configurePackaging() {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…