Skip to content

Commit 90840ce

Browse files
committed
Lowercase export ID
1 parent 338195a commit 90840ce

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

weaviate/export/executor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ def _get_and_validate_create_arguments(
270270
) -> Tuple[str, ExportStorage, List[str], List[str]]:
271271
if not isinstance(export_id, str):
272272
raise TypeError(f"'export_id' must be of type str. Given type: {type(export_id)}.")
273+
export_id = export_id.lower()
273274
if isinstance(backend, str):
274275
try:
275276
backend = ExportStorage(backend.lower())
@@ -321,6 +322,7 @@ def _get_and_validate_get_status(
321322
) -> Tuple[str, ExportStorage]:
322323
if not isinstance(export_id, str):
323324
raise TypeError(f"'export_id' must be of type str. Given type: {type(export_id)}.")
325+
export_id = export_id.lower()
324326
if isinstance(backend, str):
325327
try:
326328
backend = ExportStorage(backend.lower())

0 commit comments

Comments
 (0)