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

Pick member entities with get_entity_items #310

Open
jkiviluo opened this issue Nov 15, 2023 · 0 comments
Open

Pick member entities with get_entity_items #310

jkiviluo opened this issue Nov 15, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@jkiviluo
Copy link
Member

It would be nice to be able to use the * in this code snippet:

for unit in db.get_entity_items(class_name=unit")
    for unit__to_node in db.get_entity_items(class_name="unit__to_node", byname=("unit", *))
        do things with a unit and all the connected unit__to_nodes
@jkiviluo jkiviluo added the enhancement New feature or request label Nov 15, 2023
@jkiviluo jkiviluo modified the milestones: v0.8.0, v0.8.2 Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant