CodeQL library for Python
codeql/python-all 2.1.3-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)