(id: str)
| 111 | |
| 112 | @staticmethod |
| 113 | def use(id: str): |
| 114 | context = AgentContext.get(id) |
| 115 | if context: |
| 116 | AgentContext.set_current(id) |
| 117 | else: |
| 118 | AgentContext.set_current("") |
| 119 | return context |
| 120 | |
| 121 | @staticmethod |
| 122 | def current(): |
no test coverage detected