code: def attach_file_to_idea(self, filename, *args, **kwargs):
          
          kwargs.update({'file': {'attachment': open(filename, 'rb')}})
          return bind_api(
              api=self,
              path='/ideas/{ideaId}/attach',
              method='POST',
              payload_type='idea',
              allowed_param=['ideaId']
          )(*args, **kwargs)
docs: :allowed_param: ideaId