Skip to content

feat: resolve_id() should be exported #1896

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

Closed
schloerke opened this issue Mar 10, 2025 · 1 comment
Closed

feat: resolve_id() should be exported #1896

schloerke opened this issue Mar 10, 2025 · 1 comment

Comments

@schloerke
Copy link
Collaborator

Hi @gadenbuie , i'll try to write an example this week. The code works if i put everything in app.py, so I think the logic should be fine. Also, I've now got it to work by using resolve_id() so I am pretty sure it's a namespace issue. So it works for now, but since resolve_id is defined in the _namespaces folder, I don't think that's what I'm supposed to do :)

Originally posted by @ME-researchgroup in #1303


Similarly, examples for creating components for bookmarks would be misleading if resolve_id() isn't exposed

Related #1870

@schloerke
Copy link
Collaborator Author

schloerke commented Mar 11, 2025

@ME-researchgroup ; TIL... Turns out, resolve_id is already exported! (~3 yrs ago: https://github.com/posit-dev/py-shiny/blame/22634c93320622f638130d5939831edfceaa06c2/shiny/module.py)

shiny.module.resolve_id

Related comment: #1303 (comment)

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

No branches or pull requests

1 participant