MultiAgentRLModuleSpec.update(other: MultiAgentRLModuleSpec, overwrite=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.

  • overwrite – Whether to overwrite the existing module specs if they already exist. If False, they will be updated only.