["python","pyright"]
Is it possible to ignore pyright checking for one line?

I need to ignore pyright checking for one line. Is there any special comment for it? def create_slog(group: SLogGroup, data: Optional[dict] = None): SLog.insert_one(SLog(group=group, data=data)) # pyright: disable # pyright: disable -- doesn't work
Yes it is with "# type: ignore", for example: try: return int(maybe_digits_string) # type: ignore except Exception: return None