def _find_abs_path(
self, skt_path: str,
origin_path: Optional[str]=None) -> str: # pragma: no cover
"""
This is an :func:`abc.abstractmethod`.
Override this method to customize sketch discovery.
Solve the absolute path(starting with :code:`/`) of the sketch from
the skt_path based on the origin_path(if applicable).
.. important::
If no matched file is found, it should raise a
:class:`.SketchNotFoundError`.
"""
raise NotImplementedError
评论列表
文章目录