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

fix: adds fields to levels of organisation units #77

Merged
merged 2 commits into from
Dec 31, 2024

Conversation

nazarfil
Copy link
Contributor

No description provided.

@nazarfil nazarfil requested a review from YolanFery December 30, 2024 17:14
"name": level.get("name"),
}
)
levels.append({k: v for k, v in level.items() if k in fields.split(",")})

Choose a reason for hiding this comment

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

[Minor] fields.split(",") can be extracted from the loop, it improves a bit the performance

@nazarfil nazarfil requested a review from YolanFery December 31, 2024 08:04
@nazarfil nazarfil merged commit 7173506 into main Dec 31, 2024
2 checks passed
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.

2 participants