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

Move template data out of project into its own class #67

Open
hltcoe-bot opened this issue Aug 7, 2020 · 1 comment
Open

Move template data out of project into its own class #67

hltcoe-bot opened this issue Aug 7, 2020 · 1 comment
Assignees

Comments

@hltcoe-bot
Copy link
Collaborator

Would be a one to one relationship between Project and Template. Motivation is that loading all the templates when displaying a list of projects is very inefficient. We could switch the loading code to select certain attributes to return as a dictionary but there is likely downstream code that expects to have fully hydrated Project objects. I think it is easier to move the template data out of the class so that it is only loaded when needed.

A side benefit is that this moves us a step closer to having a way to tracking which template was used for what batch/task as we could archive previous templates.

Poster: Cash Costello id: 204

@hltcoe-bot
Copy link
Collaborator Author

mentioned in issue #195

Poster: Cash Costello

@cash cash self-assigned this Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants