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

Tweak docs for new concurrency default #1229

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

Earlopain
Copy link
Collaborator

Followup to #1145. When I initially wrote this I expected all arguments to be part of the concurrency key by default. Now that that isn't the case anymore it doesn't really make sense to use transient arguments as an example since that is something the user has thought about already when setting a custom key.

I've instead chosen the (probably) common case of def perform(my_model) and added a note about what you need to do to make that work. model.to_s is something like #<MyModel:0x00007f3f634a7320> which won't work. On it's own this argument isn't allowed but when used in interpolation it will just be cast to a string so I added a note about that as well.

@bensheldon bensheldon merged commit 131e0cc into bensheldon:main Feb 1, 2024
20 checks passed
@bensheldon
Copy link
Owner

Thank you!!

@Earlopain Earlopain deleted the concurrency-key-docs branch February 1, 2024 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants