aac.plugins.if_true_then_empty.if_true_then_empty_impl

The AaC If true then empty plugin implementation module.

Functions

if_true_then_empty(instance, definition, ...)

Business logic for the If true then empty constraint.

aac.plugins.if_true_then_empty.if_true_then_empty_impl.if_true_then_empty(instance: Any, definition: Definition, defining_schema, bool_field_name: str, empty_field_name: str) ExecutionResult[source]

Business logic for the If true then empty constraint.

Parameters:
  • instance (Any)

  • definition (Definition)

  • bool_field_name (str)

  • empty_field_name (str)

Return type:

ExecutionResult