CodeQL library for Python
codeql/python-all 3.0.1-dev (changelog, source)
Search

Predicate ServerLess::splitHandler

Holds if handler = filePart . astPart and filePart does not contain a .. This is a convenience predicate, as in many cases the first part of the handler property should be interpreted as (the stem of) a file name.

Import path

import codeql.serverless.ServerLess
predicate splitHandler(string handler, string filePart, string astPart)