padv.builtin.query.FindRequirementsForModel Class
Namespace: padv.builtin.query
Superclasses: padv.Query
Query for finding requirements for model
Description
The padv.builtin.query.FindRequirementsForModel
class provides a query that
can return each of the requirements associated with a model. You can automatically include or
exclude certain artifacts by using the optional name-value arguments.
You can use this query in your process model to find artifacts for your tasks to iterate
over or use as inputs. To find each of the requirements in your project, you can use padv.builtin.query.FindRequirements
instead.
The padv.builtin.query.FindRequirementsForModel
class is a handle
class.
Creation
Description
creates a query for finding each of the requirements associated with a model.query
= padv.builtin.query.FindRequirementsForModel()
sets certain properties using one or more name-value arguments. For example,
query
= padv.builtin.query.FindRequirementsForModel(Name=Value
)padv.builtin.query.FindRequirementsForModel(IncludePath="System")
creates a query object to find requirements that include System
in the
full file path.
The padv.builtin.query.FindRequirementsForModel
class also has other properties, but you cannot set
those properties during query creation.
Name-Value Arguments
Properties
Methods
Examples
Capabilities and Limitations
This table identifies functionality that is supported by the query.
Functionality | Supported? |
---|---|
Input query for task | Yes. |
Iteration query for task | Yes. |
Note
If you use this query as an input query and specify non-empty values for
IncludeLabel
, ExcludeLabel
,
IncludePath
, or ExcludePath
, your task results
can unexpectedly become outdated. If you see this behavior, consider using a different
query, like padv.builtin.query.FindArtifacts
, instead. For more information and a list of
queries that are not impacted by this limitation, see Other Limitations.