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

Add an extra try when resolving attributes lookup #5780

Merged
merged 5 commits into from Jul 7, 2023
Merged

Conversation

Hoxbro
Copy link
Member

@Hoxbro Hoxbro commented Jun 22, 2023

Fixes #5746

Giving 5 times to try to resolve the attribute with a delay of 0.01 seconds.

asyncio.sleep(0.01) is already used once before in the method, and 5 is an arbitrary choice that worked on my computer.

I also made minor changes by using isequal for comparison and setting an Exception to AttributeError, which are not related to the original issues.

@codecov-commenter
Copy link

codecov-commenter commented Jun 22, 2023

Codecov Report

Merging #5780 (f6f74d4) into main (be58b7e) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #5780      +/-   ##
==========================================
- Coverage   88.16%   88.14%   -0.03%     
==========================================
  Files         307      307              
  Lines       62839    62851      +12     
==========================================
- Hits        55405    55401       -4     
- Misses       7434     7450      +16     
Flag Coverage Δ
ui-tests 22.41% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
holoviews/plotting/bokeh/callbacks.py 62.18% <0.00%> (-0.09%) ⬇️

... and 4 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Hoxbro Hoxbro added this to the 1.17.0 milestone Jul 7, 2023
@Hoxbro Hoxbro changed the title Add more timeout to resolve_attr_spec Add an extra try when resolving attributes lookup Jul 7, 2023
@Hoxbro Hoxbro merged commit 8e85674 into main Jul 7, 2023
14 checks passed
@Hoxbro Hoxbro deleted the vscode_rasterize branch July 7, 2023 11:32
@Hoxbro Hoxbro mentioned this pull request Apr 16, 2024
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.

rasterize leads to Bokeh "inner_height doesn't have a value set" error
2 participants