MultiAgentRLModuleSpec.update(other: MultiAgentRLModuleSpec | SingleAgentRLModuleSpec, override=False) None[source]#

Updates this spec with the other spec.

Traverses this MultiAgentRLModuleSpec’s module_specs and updates them with the module specs from the other MultiAgentRLModuleSpec.

  • other – The other spec to update this spec with.

  • override – Whether to override the existing module specs if they already exist. If False, they are only updated.