class_docstr: Resolves a dataset URL, makes a connection via pyarrow, and provides a filesystem object.
class_docstr_tok: ["Resolves","a","dataset","URL",",","makes","a","connection","via","pyarrow",",","and","provides","a","filesystem","object","."]
docstr: The dataset path is different than the one in `_parsed_dataset_url` for some filesystems.
  For example s3fs expects the bucket name to be included in the path and doesn't support
  paths that start with a `/`
docstr_tok: ["The","dataset","path","is","different","than","the","one","in","`","_parsed_dataset_url","`","for","some","filesystems",".","For","example","s3fs","expects","the","bucket","name","to","be","included","in","the","path","and","does","n't","support","paths","that","start","with","a","`","\/","`"]
code: def get_dataset_path(self):
      """
      The dataset path is different than the one in `_parsed_dataset_url` for some filesystems.
      For example s3fs expects the bucket name to be included in the path and doesn't support
      paths that start with a `/`
      """
      return get_dataset_path(self._parsed_dataset_url)
  
file_path: petastorm/petastorm/fs_utils.py
imports: import logging
  import fsspec
  import pyarrow
  import six
  from six.moves.urllib.parse import urlparse, urlunparse
  from fsspec.core import strip_protocol
  from fsspec.utils import update_storage_options
  from petastorm.hdfs.namenode import HdfsNamenodeResolver, HdfsConnector
label_desc: Use image node_id 3 for calling the FilesystemResolver obj's underlying member method code with example usage: obj.get_dataset_path() and returns: get_dataset_path