You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the file options.py, the inplementation of the method and in the class ApiOptions generates an exception in Python3. The reason for this exception is that dict_items can not be added in Py3. The alternative implementation for this method, which is Python 2 and 3 compliant (tested locally) is provided below:
class ApiOptions(dict):
def __and__(self, other):
d = self.copy()
d.update(other)
return ApiOptions(d)
Could you please apply this fix to the official code repo?
Thanks,
Sven.
The text was updated successfully, but these errors were encountered:
Hello,
In the file options.py, the inplementation of the method and in the class ApiOptions generates an exception in Python3. The reason for this exception is that dict_items can not be added in Py3. The alternative implementation for this method, which is Python 2 and 3 compliant (tested locally) is provided below:
Could you please apply this fix to the official code repo?
Thanks,
Sven.
The text was updated successfully, but these errors were encountered: