def code(self, id):
        if isinstance(id, CodePackage):
            id = id.id
        resp = self.client.get("codes/%s" % id)
        raw_package = resp["body"]
        return CodePackage(raw_package)
dataset/ETHPy150Open iron-io/iron_worker_python/iron_worker.py/IronWorker.code/original