geduldig / TwitterAPI

Minimal python wrapper for Twitter's REST and Streaming APIs
936 stars 263 forks source link

No includes in _RestIterable response without hydration #202

Closed NeodymiumFerBore closed 2 years ago

NeodymiumFerBore commented 2 years ago

Hello. _RestIterable response does not include includes field. As it yields a list and not a dict, I understand that there is no need to break this actual design and just use the hydrate_type feature to get the includes.

Please, make it clear in the doc that any includes are lost when using non-streaming requests with the hydrate_type parameter set to NONE (which is the default). Spent some time to read your code to figure out why includes were vanishing when not using hydrate_type :)

Related PR: #203