Pometry / Raphtory

Scalable graph analytics database powered by a multithreaded, vectorized temporal engine, written in Rust
https://raphtory.com
GNU General Public License v3.0
347 stars 54 forks source link

Use PathBuf for python path input #1813

Closed ljeub-pometry closed 1 month ago

ljeub-pometry commented 1 month ago

What changes were proposed in this pull request?

Replace &str and String by PathBuf for python path input

Why are the changes needed?

This allows passing in pathlib.Path as well as strings on the python side for the path and avoids unnecessary errors.

Does this PR introduce any user-facing change? If yes is this documented?

Less nonsense exceptions in python :)

How was this patch tested?

The tests

Are there any further changes required?