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

FEAT: use None queue name in event() decorator function() (uses func.__name__ if it's None) #116

Closed
wants to merge 9 commits into from

Conversation

kolkre
Copy link
Contributor

@kolkre kolkre commented Jul 30, 2023

Description

Adds a possibility to use None queue name in event() decorator function

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist

  • My code follows the style guidelines of this project (scripts/lint.sh has no errors)
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@Lancetnik
Copy link
Owner

@spectacularfailure sorry, I am not stop you earlier. This feature was implemented in the first project drafts, but than I removed it.
I suppose, this case is conflict with the Explicit is better than implicit principle from the PEP-20, thus I don't like an idea to add any magic to the project logic.

@Lancetnik Lancetnik closed this Jul 30, 2023
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