aac.plugins.constraint_assignment_arguments.constraint_assignment_arguments_impl

The AaC Constraint Assignment Arguments plugin implementation module.

Functions

check_arguments_against_constraint_definition(...)

Business logic for the Check arguments against constraint definition constraint.

aac.plugins.constraint_assignment_arguments.constraint_assignment_arguments_impl.check_arguments_against_constraint_definition(instance: Any, definition: Definition, defining_schema) ExecutionResult[source]

Business logic for the Check arguments against constraint definition constraint.

Parameters:
  • instance (Any) – The SchemaConstraintAssignment or PrimitiveConstraintAssignment we are processing

  • definition (Definition) – The schema constraint definition

  • defining_schema – NOT USED

Returns:

An ExecutionResult with an ExecutionMessage error message if there was a problem.

Return type:

ExecutionResult