Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed KeyError:'metadata' Addressing issue #7 #8

Merged
merged 3 commits into from
Apr 22, 2024

Conversation

masihsultani
Copy link
Contributor

Moved if statement earlier and outside of other if statement to catch this case, also used .get() for dictionary with default value if key is not present

…c mapping. Moved if statement earlier and outside of other if statement to catch this case, also used .get() for dictionary with default value if key is not present
@maxjakob maxjakob merged commit 3a26edd into langchain-ai:main Apr 22, 2024
11 checks passed
@maxjakob
Copy link
Collaborator

Thank you for your contribution @masihsultani! I took the liberty of fixing the formatting errors. For the future, you can run make lint_package to check if the formatting is right and poetry run ruff format langchain_elasticsearch to auto-format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants