We should be able to accept pathlib Path instances wherever we use str paths (e.g. the path argument of Observation). For example, this currently produces a type hinting error, when it probably shouldn't:
[x] Add Path as option in type hints (e.g. in Observation.__init__, Observation.save_observation etc.)
[x] Add tests to check for issues with accepting Paths
[ ] Maybe switch to using Paths internally where appropriate?
We should be able to accept pathlib
Path
instances wherever we usestr
paths (e.g. thepath
argument ofObservation
). For example, this currently produces a type hinting error, when it probably shouldn't:Path
as option in type hints (e.g. inObservation.__init__
,Observation.save_observation
etc.)Path
sPaths
internally where appropriate?