Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support instance of pathlib.PosixPath as artifact URI
Passing an instance of `pathlib.PosixPath` to the `artifacts` attribute of `save_model` results in an `AttributeError: 'PosixPath' object has no attribute 'decode'` exception being thrown by `urllib`. Explicit conversion to string overcomes this problem. I wonder whether this could be added to `mlflow` directly.
- Loading branch information