code: def from_path(cls, path, origin=MISSING, **kwargs):
          
          origin, relpath = cls._key_from_path(path, origin)
  
          # Open in binary mode so we can reliably detect the encoding
          with path.open('rb') as f:
              return cls.from_file(f, origin, relpath, **kwargs)
docs: Read Sass source from a :class:`pathlib.Path`.
  
          If no origin is given, it's assumed to be the file's parent directory.