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

lambda: Fix bug for using lambdas in jupyter notebook #563

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

aditya-nambiar
Copy link
Contributor

No description provided.

Copy link

ellipsis-dev bot commented Sep 17, 2024

Your free trial has expired. To keep using Ellipsis, sign up at https://app.ellipsis.dev for $20/seat/month or reach us at help@ellipsis.dev

lines = f.readlines()
if line_num < len(lines):
next_line = lines[line_num].strip()
except Exception:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment for when we expect the exception to happen what we're trying to do? Is the behavior desirable in general or only if we're operating in a notebook environment? If the latter, can we somehow check for that if this is not always the right thing to do?

@aditya-nambiar aditya-nambiar enabled auto-merge (squash) September 18, 2024 00:42
@aditya-nambiar aditya-nambiar merged commit a2cf1d0 into main Sep 18, 2024
8 checks passed
@aditya-nambiar aditya-nambiar deleted the aditya/lambda-notebook branch September 18, 2024 00:47
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