HF RL Explorer

You are working on the cernanalysispreservation/cap-client repository. The source code is checked out at…

You are working on the cernanalysispreservation/cap-client repository. The source code is checked out at…: a task in SWE-Lego-RL-2699 (Harbor dataset). Sth like: def patch(self, pid, json ): """Patch an analysis by given pid and JSON data from file.""" try: data = json.loads(json ) except…

The task

Sth like: ``` def patch(self, pid, json_): """Patch an analysis by given pid and JSON data from file.""" try: data = json.loads(json_) except ValueError: with open(json_) as fp: data = json.load(fp)

Part of Lego-X/Lego-RL-2699.