Skip to content

Commit

Permalink
Remove typo
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarsharma2 committed Dec 21, 2023
1 parent 1642f31 commit 34b92ed
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions airflow/providers/weaviate/hooks/weaviate.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,8 +947,6 @@ def create_or_replace_document_objects(
if existing not in ["skip", "replace", "error"]:
raise ValueError("Invalid parameter for 'existing'. Choices are 'skip', 'replace', 'error'.")

# data = list(data)

if isinstance(data, list) and len(data) and isinstance(data[0], dict):
data = cast(pd.DataFrame, pd.json_normalize(data))
elif isinstance(data, list) and len(data) and isinstance(data[0], pd.DataFrame):
Expand Down

0 comments on commit 34b92ed

Please sign in to comment.