-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: In the current version nested objects are not handled correctly. For example, we want to retrieve Ads for the campaign using only one request. With this fix, we'll be able to make requests like: ``` campaigns = account.get_campaigns(fields=['name,ads{id,name,status}']) campaign = campaigns[0] ``` In this example nested Ads objects will be available as ``` campaign.get('ads') ``` Pull Request resolved: #666 Reviewed By: mengxuanzhangz Differential Revision: D54815751 Pulled By: stcheng fbshipit-source-id: f23299bc168c33e485830ce500d8c8841cfbaf02
- Loading branch information
1 parent
3d68190
commit 0cff587
Showing
1 changed file
with
27 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters