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 trees #10

Merged
merged 21 commits into from
May 27, 2024
Merged

add trees #10

merged 21 commits into from
May 27, 2024

Conversation

zargot
Copy link
Collaborator

@zargot zargot commented May 16, 2024

see commits.

having the option to use 'all' for tables would complicate the
implementation since schema parsing becomes dependent on the tables that
exist in the input-data
@zargot zargot requested a review from yulric May 16, 2024 14:37
Copy link
Contributor

@yulric yulric left a comment

Choose a reason for hiding this comment

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

  1. Why does the load function have to return a dictionary when the ruleId is within the Rule object?

src/odm_sharing/private/rules.py Outdated Show resolved Hide resolved
src/odm_sharing/private/utils.py Outdated Show resolved Hide resolved
src/odm_sharing/private/trees.py Show resolved Hide resolved
src/odm_sharing/private/trees.py Outdated Show resolved Hide resolved
src/odm_sharing/private/trees.py Outdated Show resolved Hide resolved
src/odm_sharing/private/trees.py Outdated Show resolved Hide resolved
src/odm_sharing/private/trees.py Outdated Show resolved Hide resolved
src/odm_sharing/private/trees.py Outdated Show resolved Hide resolved
src/odm_sharing/private/trees.py Outdated Show resolved Hide resolved
src/odm_sharing/private/trees.py Show resolved Hide resolved
src/odm_sharing/private/trees.py Show resolved Hide resolved
src/odm_sharing/private/trees.py Show resolved Hide resolved
src/odm_sharing/private/trees.py Show resolved Hide resolved
@zargot
Copy link
Collaborator Author

zargot commented May 22, 2024

  1. Why does the load function have to return a dictionary when the ruleId is within the Rule object?

it's because there's a need for looking up rules by their id, and there's also a need for writing "rule.id", so I thought it was good to have both.

src/odm_sharing/private/trees.py Show resolved Hide resolved
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.

None yet

2 participants