Skip to content

Fix task name generation function name and redundancy#5192

Closed
jardondiego wants to merge 1 commit intofix-is-swarming-check-nogpufrom
fix-create-task-name
Closed

Fix task name generation function name and redundancy#5192
jardondiego wants to merge 1 commit intofix-is-swarming-check-nogpufrom
fix-create-task-name

Conversation

@jardondiego
Copy link
Collaborator

No description provided.

return 't-' + str(uuid.uuid4()).lower()
def _create_task_name() -> str:
"""Creates a unique task name."""
return 't-' + str(uuid.uuid4())
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

.lower is redundant since uuid.uuidv4() produces a lowercase string

@jardondiego
Copy link
Collaborator Author

I have identified multiple opportunities to improve overall health and quality for multiple Swarming-related modules. I think it makes the most sense to group several of those changes in a single pull request.

@jardondiego
Copy link
Collaborator Author

For now, I will close this pull request and build upon these changes to introduce more improvements.

@jardondiego jardondiego closed this Mar 5, 2026
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