Default the optional es_version parameter (#545)

This commit is contained in:
David Kyle 2023-06-07 12:34:53 +01:00 committed by GitHub
parent afc7e41d6e
commit 68a22a8001
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -578,7 +578,7 @@ class TransformerModel:
model_id: str, model_id: str,
task_type: str, task_type: str,
*, *,
es_version: Optional[Tuple[int, int, int]], es_version: Optional[Tuple[int, int, int]] = None,
quantize: bool = False, quantize: bool = False,
): ):
""" """