async def METHOD_NAME(self, key: str, value: str | bytes, expires_in: int | timedelta | None = None) -> None:
    """Set a value.
    Args:
        key: Key to associate the value with
        value: Value to store
        expires_in: Time in seconds before the key is considered expired
    Returns:
        ``None``
    """
    if isinstance(value, str):
        value = value.encode("utf-8")
    await self._redis.METHOD_NAME(self._make_key(key), value, ex=expires_in)