-
Notifications
You must be signed in to change notification settings - Fork 122
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
_repr_html_
causes GETs
#1097
Comments
Stuff like this is usually related to link resolution, especially w.r.t. getting the root (see: #960). But haven't looked at this specific issue yet, I'll update if/when I do. |
I think it comes from these bits in the jinja template: pystac/pystac/html/Macros.jinja2 Lines 38 to 65 in ac95270
specifically these: |
Transferring to pystac as it's all related to code in that repo. Two comments:
|
I have an extreme proposal. Opening a PR now |
Kind of hard to figure out where this issue should go since the code in question is in pystac itself. But the repercussions are more obvious on the pystac-client side.
The issue is that
_repr_html_
implicitly triggers 5 GETs:Just using pystac it looks like there are only two requests:
but I added the logging myself (#1096) so I might have missed some calls.
The text was updated successfully, but these errors were encountered: