aac.plugins.exclusive_fields.exclusive_fields_impl

The AaC Exclusive fields plugin implementation module.

Functions

mutually_exclusive_fields(instance, ...)

Business logic for the Mutually exclusive fields constraint.

aac.plugins.exclusive_fields.exclusive_fields_impl.mutually_exclusive_fields(instance: Any, definition: Definition, defining_schema, fields: list[str]) ExecutionResult[source]

Business logic for the Mutually exclusive fields constraint.

Parameters:
  • instance (Any)

  • definition (Definition)

  • fields (list[str])

Return type:

ExecutionResult