class_docstr: A string that represents a path relative to an artifact or run.
  
  The format of the string is always as a POSIX path, e.g. "foo/bar.txt".
  
  A neat trick is that you can use this class as if it were a PurePosixPath. E.g.:
  ```
  >>> path = LogicalPath("foo/bar.txt")
  >>> path.parts
  ('foo', 'bar.txt')
  >>> path.parent / "baz.txt"
  'foo/baz.txt'
  >>> type(path.relative_to("foo"))
  LogicalPath
  ```
docstr: Convert this path to a PurePosixPath.
docstr_tok: ["Convert","this","path","to","a","PurePosixPath","."]
code: def to_path(self) -> PurePosixPath:
      """Convert this path to a PurePosixPath."""
      return PurePosixPath(self)
  
file_path: wandb/wandb/sdk/lib/paths.py
imports: import os
  import platform
  from functools import wraps
  from pathlib import PurePath, PurePosixPath
  from typing import Any, NewType, Union
label_desc: Use image node_id 2 for calling the LogicalPath obj's underlying member method code with example usage: obj.to_path() and returns: PurePosixPath