The object API defaults language to 'en' which conflicts with the behaviour in the raw API, defaulting to None.
the self._language property is validated and passed through the setter/getter but not passed on the actual API calls, self.language is used instead, which is not validated and is passed as an argument by the user and defaults to 'en'
This leads to discrepancies in the API where the raw v3 API will not include the language and correctly pull all images, while the object API will be limited to the 'en' backdrops. None is also not a valid language as per the setter, making it impossible to override manually.
This is most likely connected to #5 and a fix was attempted in #6 but I clearly misunderstood which property was supposed to be used.
Version Number
v1.0.8
Describe the Bug
The object API defaults language to 'en' which conflicts with the behaviour in the raw API, defaulting to None.
the
self._language
property is validated and passed through the setter/getter but not passed on the actual API calls,self.language
is used instead, which is not validated and is passed as an argument by the user and defaults to 'en'This leads to discrepancies in the API where the raw v3 API will not include the language and correctly pull all images, while the object API will be limited to the 'en' backdrops.
None
is also not a valid language as per the setter, making it impossible to override manually.This is most likely connected to #5 and a fix was attempted in #6 but I clearly misunderstood which property was supposed to be used.
MCVE to demonstrate the differences: