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

fix bug: check before using the variables #656

Merged
merged 2 commits into from
Mar 5, 2024
Merged

Conversation

ya0guang
Copy link
Contributor

No description provided.

Copy link

welcome bot commented Feb 27, 2024

Thanks for submitting your first pull request! You are awesome! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please make sure you followed the pull request template, as this will help us review your contribution more quickly.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@krassowski krassowski added the bug Something isn't working label Feb 27, 2024
@krassowski
Copy link
Member

Thank you! Makes sense to me, probably worth adding a test for it though.

Copy link
Member

@dlqqq dlqqq left a comment

Choose a reason for hiding this comment

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

@ya0guang Nice catch, thank you! 💪

@dlqqq dlqqq enabled auto-merge (squash) March 5, 2024 23:40
@dlqqq dlqqq merged commit 0ae649e into jupyterlab:main Mar 5, 2024
8 checks passed
Copy link

welcome bot commented Mar 5, 2024

Congrats on your first merged pull request in this project! 🎉
congrats
Thank you for contributing, we are very proud of you! ❤️

@dlqqq
Copy link
Member

dlqqq commented Mar 6, 2024

@meeseeksdev please backport to 1.x

Copy link

lumberbot-app bot commented Mar 6, 2024

Owee, I'm MrMeeseeks, Look at me.

There seem to be a conflict, please backport manually. Here are approximate instructions:

  1. Checkout backport branch and update it.
git checkout 1.x
git pull
  1. Cherry pick the first parent branch of the this PR on top of the older branch:
git cherry-pick -x -m1 0ae649e61fbb8763377a65d244372c5d6dbba41f
  1. You will likely have some merge/cherry-pick conflict here, fix them and commit:
git commit -am 'Backport PR #656: fix bug: check before using the variables'
  1. Push to a named branch:
git push YOURFORK 1.x:auto-backport-of-pr-656-on-1.x
  1. Create a PR against branch 1.x, I would have named this PR:

"Backport PR #656 on branch 1.x (fix bug: check before using the variables)"

And apply the correct labels and milestones.

Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon!

Remember to remove the Still Needs Manual Backport label once the PR gets merged.

If these instructions are inaccurate, feel free to suggest an improvement.

@dlqqq
Copy link
Member

dlqqq commented Mar 6, 2024

Oh wait NVM, this corrects the implementation of the inline completer, exclusive to main. This PR should not be backported to 1.x.

@dlqqq dlqqq added this to the v2.12.0 milestone Mar 6, 2024
dbelgrod pushed a commit to dbelgrod/jupyter-ai that referenced this pull request Jun 10, 2024
* fix bug: check before using the variables

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Marchlak pushed a commit to Marchlak/jupyter-ai that referenced this pull request Oct 28, 2024
* fix bug: check before using the variables

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants