MediaMath / t1-python

Python SDK for MediaMath Platform APIs
https://developer.mediamath.com/
Apache License 2.0
18 stars 28 forks source link

'get_all' flag not working for getting retired_audience_segments #179

Open lucianthorr opened 6 years ago

lucianthorr commented 6 years ago

I found that if I have a strategy with retired audiences segments, using the 'get_all' flag will return an empty list.

So retired_segments = list(t1_client.get('strategies', strategy.id, child='retired_audience_segments', include='retired_audience_segments')) will return a populated list of retired segments but retired_segments = list(t1_client.get('strategies', strategy.id, child='retired_audience_segments', include='retired_audience_segments', get_all=True)) will return an empty list at all times.

FodT commented 6 years ago

Thanks for flagging this, @lucianthorr - We'll look into it.