original_docstring: Return the path to the dataset when
          :attr:`~pynetdicom._config.STORE_RECV_CHUNKED_DATASET` is ``True``.
  
          .. versionadded:: 2.0
  
          Returns
          -------
          pathlib.Path
              The path to the dataset.
          
docstring: Return the path to the dataset when
docstring_tokens: Return the path to the dataset when
code: def dataset_path(self) -> Path:
          """Return the path to the dataset when
          :attr:`~pynetdicom._config.STORE_RECV_CHUNKED_DATASET` is ``True``.
  
          .. versionadded:: 2.0
  
          Returns
          -------
          pathlib.Path
              The path to the dataset.
          """
          try:
              req = cast("C_STORE_RQ", self.request)
              dataset_path = req._dataset_path
          except AttributeError:
              msg = (
                  "The corresponding event is either not a C-STORE request or "
                  "'STORE_RECV_CHUNKED_DATASET' is not True."
              )
              raise AttributeError(msg)
  
          return cast(Path, dataset_path)
code_tokens: def dataset_path ( self ) -> Path : try : req = cast ( "C_STORE_RQ" , self . request ) dataset_path = req . _dataset_path except AttributeError : msg = ( "The corresponding event is either not a C-STORE request or " "'STORE_RECV_CHUNKED_DATASET' is not True." ) raise AttributeError ( msg ) return cast ( Path , dataset_path )
short_docstring: Return the path to the dataset when
short_docstring_tokens: Return the path to the dataset when
comment: """Return the path to the dataset when
          :attr:`~pynetdicom._config.STORE_RECV_CHUNKED_DATASET` is ``True``.
  
          .. versionadded:: 2.0
  
          Returns
          -------
          pathlib.Path
              The path to the dataset.
          """