I found an issue in the python SDK with PlayFabHTTP.DoPost() when executing a API method that has an empty response body, such as PlayFabServerAPI.SendAccountRecoveryEmail and PlayFabAdminAPI.ResetPassword, the callback never gets called on success.
The issue is that the response variable gets set to responseWrapper["data"] which in these cases is {} and later it checks for a value in response before executing the callback like so:
elif response and callback: try: # Notify the caller about an API Call success callback(response, None)
{} of course evaluates to False even though it is not None
the section causing the code is this
else: # successful call to PlayFab response = responseWrapper["data"]
which can be fixed by adding:
if response == {}: response = {'success': 'success'}
or really anything that doesn't evaluate to false.
While, I can work around it for now, any chance of this getting fixed soon?