Right now we [have](https://github.com/piskvorky/smart_open/blob/v7.3.1/smart_open/smart_open_lib.py#L133) `compression: str, optional = so_compression.INFER_FROM_EXTENSION` Suggest to add `compresslevel: int | None = None` (non-breaking change, None -> default compression level)