class_docstr: Base class for an multi-agent environment (in a ray-like fashion).
class_docstr_tok: ["Base","class","for","an","multi-agent","environment","(","in","a","ray-like","fashion",")","."]
code: def with_agent(self, **agents: Agent) -> "PartialMultiAgentEnv":
      return PartialMultiAgentEnv(self, **agents)
  
imports: import typing
  from collections import defaultdict
  import gym
label_desc: Use image node_id 4 for calling the MultiAgentEnv obj's underlying member method code with example usage: obj.with_agent() and returns: PartialMultiAgentEnv