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

Generate project object on demand #1085

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

carmenbianca
Copy link
Member

This is a lot cleaner, and has better performance benefits. Commands like 'download' do not always require a project object. Now, if the code never touches 'obj.project', the object is never created.

Apart from performance benefits, it also means that irrelevant errors spawned from creation of the project object are sidestepped, because the object is never instantiated (in some cases).

  • My changes do not contradict
    the current specification.
  • I agree to license my contribution under the licenses indicated in the
    changed files.

This is a lot cleaner, and has better performance benefits. Commands
like 'download' do not always require a project object. Now, if the code
never touches 'obj.project', the object is never created.

Apart from performance benefits, it also means that irrelevant errors
spawned from creation of the project object are sidestepped, because the
object is never instantiated (in some cases).

Signed-off-by: Carmen Bianca BAKKER <[email protected]>
Without this, poetry is not available.

Signed-off-by: Carmen Bianca BAKKER <[email protected]>
@carmenbianca carmenbianca merged commit 7a2a3f6 into fsfe:main Oct 10, 2024
15 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.

1 participant