Skip to content

Transaction return type None? #3631

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

Open
santiac89 opened this issue May 2, 2025 · 1 comment
Open

Transaction return type None? #3631

santiac89 opened this issue May 2, 2025 · 1 comment
Assignees

Comments

@santiac89
Copy link

I'm trying to use a transaction where I have a return value but for some reason the transaction method return type is None. This seems odd since digging into the code I can see the transaction method returns the func_value or the exec_value depending on the value of the value_from_callable argument.

Is there any reason for this?
Thanks in advance.

@petyaslavova
Copy link
Collaborator

Hi @santiac89 , ithe method doesn't return None, it seems that the return type hint is not correct - thanks for notifying us.
We even have tests validating different values returned by the transaction method.

@petyaslavova petyaslavova self-assigned this May 5, 2025
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

No branches or pull requests

2 participants