code: def get_code(self, id_code, access_token=None, user_id=None):
          
          if access_token:
              self.req.credential.set_token(access_token)
          if user_id:
              self.req.credential.set_user_id(user_id)
          if not self.check_credentials():
              raise CredentialsError('credentials invalid')
          code = self.req.get('/Codes/' + id_code)
          executions = self.req.get('/Codes/' + id_code + '/executions',
                                    '&filter={"limit":3}')
          if isinstance(executions, list):
              code["executions"] = executions
          return code
docs: Get a code, by its id