def add_code(self, resp):
        try:
            self.code = resp["code"]
            self.grant_expiration_time = utc_time_sans_frac() + self.exp_in
        except __HOLE__:
            pass
dataset/ETHPy150Open rohe/pyoidc/src/oic/oauth2/grant.py/Grant.add_code