There was an issue with windows users due to using os.path.join, this function in unix like systems uses the / separator which its the same one used for urls but for windows systems the OS separator is \ which in turn made the python request uses a non existent URL that returns a 404.
Actual URL prior to fix: /api/v1%5Cmodels%5C247%5Cversions%5C6%5Cdeployments
Expected URL prior to fix: /api/v1/models/247/versions/6/deployments
%5C its the url encoding for \
Now the path is joined using "/".join([resources]) instead of os.path.join which is system dependant.
There was an issue with windows users due to using
os.path.join
, this function in unix like systems uses the/
separator which its the same one used for urls but for windows systems the OS separator is\
which in turn made the python request uses a non existent URL that returns a 404.%5C
its the url encoding for\
Now the path is joined using
"/".join([resources])
instead ofos.path.join
which is system dependant.