def write(self, path: str, contents: str | bytes) -> None:
        """
        Write contents to a file and trigger a webhook.

        Args:
            path: The path to write to
            contents: The contents to write
        """
        self.file_store.write(path, contents)
        EXECUTOR.submit(self._on_write, path, contents)

        Write contents to a file and trigger a webhook.

        Args:
            path: The path to write to
            contents: The contents to write
        
openhands/storage/web_hook.py