From ca0a6b0469ae927edd4cc3f3f0733a275ee7eccc Mon Sep 17 00:00:00 2001 From: Giovanna Zanardini Date: Thu, 7 Mar 2024 12:38:57 -0800 Subject: [PATCH] Set object parser on Cursor when executing a request (#636) Summary: Pull Request resolved: https://github.com/facebook/facebook-python-business-sdk/pull/636 Reviewed By: mengxuanzhangz Differential Revision: D54614769 Pulled By: stcheng fbshipit-source-id: d7f3b53a6a167ef993ab613e4931a401dfbc49e3 --- templates/python/facebook_business/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/python/facebook_business/api.py b/templates/python/facebook_business/api.py index 0c6dab7b..095a9a3e 100644 --- a/templates/python/facebook_business/api.py +++ b/templates/python/facebook_business/api.py @@ -659,6 +659,7 @@ def execute(self): api=self._api, node_id=self._node_id, endpoint=self._endpoint, + object_parser=self._response_parser, ) cursor.load_next_page() return cursor