code: async def send_from_directory(
          directory: FilePath,
          file_name: str,
          *,
          mimetype: Optional[str]=None,
          as_attachment: bool=False,
          attachment_filename: Optional[str]=None,
          add_etags: bool=True,
          cache_timeout: Optional[int]=None,
          conditional: bool=True,
          last_modified: Optional[datetime]=None,
  ) -> Response:
      
      file_path = safe_join(directory, file_name)
      if not file_path.is_file():
          raise NotFound()
      return await send_file(
          file_path,
          mimetype=mimetype,
          as_attachment=as_attachment,
          attachment_filename=attachment_filename,
          add_etags=add_etags,
          cache_timeout=cache_timeout,
          conditional=conditional,
          last_modified=last_modified,
      )
docs: Send a file from a given directory.
  
      Arguments:
         directory: Directory that when combined with file_name gives
             the file path.
         file_name: File name that when combined with directory gives
             the file path.
         See :func:`send_file` for the other arguments.