As described in the issue, hydrate_type=HydrateType.NONE in the TwitterAPI.request method does not return includes field at all (it's lost). By design, the _RestIterable object yielding a list (made of response['data']), it's not necessary to try to merge includes to data, as the hydration feature already does so.
So, this commit just adds a comment about this for documentation sake, and to avoid having to read the code to understand why includes vanishes from the responses.
This behavior is true for non-streaming queries only.
Related issue: #202
As described in the issue,
hydrate_type=HydrateType.NONE
in theTwitterAPI.request
method does not returnincludes
field at all (it's lost). By design, the_RestIterable
object yielding alist
(made ofresponse['data']
), it's not necessary to try to mergeincludes
todata
, as the hydration feature already does so.So, this commit just adds a comment about this for documentation sake, and to avoid having to read the code to understand why
includes
vanishes from the responses.This behavior is true for non-streaming queries only.