Skip to content

Commit

Permalink
Add type annotation to Python code
Browse files Browse the repository at this point in the history
No other functional change.
  • Loading branch information
DemiMarie committed Jan 18, 2025
1 parent 47f444a commit 950d383
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qrexec/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import pathlib
import subprocess
import asyncio
from typing import Optional

from .utils import prepare_subprocess_kwds

Expand All @@ -33,7 +34,7 @@
VERSION = "vm"


def call(dest, rpcname, arg=None, *, input=None):
def call(dest: str, rpcname: str, arg: Optional[str] = None, *, input=None):
"""Invoke qrexec call
The `input` parameter should be either :py:class:`str` or :py:class:`bytes`
Expand Down

0 comments on commit 950d383

Please sign in to comment.