diff --git a/ada_url/ada_adapter.py b/ada_url/ada_adapter.py index 462e3cd..0139bcc 100644 --- a/ada_url/ada_adapter.py +++ b/ada_url/ada_adapter.py @@ -743,7 +743,7 @@ def decode(s: Union[str, bytes]) -> str: return _get_str(data) @staticmethod - def encode(s: Union[str, bytes]) -> str: + def encode(s: Union[str, bytes]) -> bytes: if isinstance(s, str): s = s.encode()