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

Refactor: Remove redundant task creation in kickoff_for_each_async #1326

Merged
merged 2 commits into from
Sep 22, 2024

Conversation

FabioPolito24
Copy link
Contributor

Summary

This pull request refactors the kickoff_for_each_async function by removing the redundant task creation loop. Previously, the tasks list was created twice with the same content. This change simplifies the function by eliminating unnecessary repetition, which improves readability and maintains efficiency.

Changes

  • Removed the duplicated task creation loop.
  • The function logic remains intact with no functional changes, but now avoids redundant code.

Please review and let me know if any additional adjustments are needed!

@joaomdmoura
Copy link
Collaborator

cc @bhancockio

@bhancockio bhancockio merged commit d4c0a42 into crewAIInc:main Sep 22, 2024
2 of 4 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.

3 participants