You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it planned to implement custom python style decorators?
A very simple use case I can think of would be to implement something like that:
fromboa3.builtinimportCreateNewEvent, publicdefonlyOwner():
# do owner check and abort if false pass@onlyOwner@publicdefwithdraw() ->bool:
pass
I know it's just sugar coating and functional everything can be done without decorators, I am just curious, and I think it might help with the readability of contracts.
I don't have a solution ready, but I could probably help if someone would be able to guide me a little.
The text was updated successfully, but these errors were encountered:
This might be implemented in the future but it has a low priority
melanke
added
low
An issue below normal priority
feature
an issue representing an entire feature/story
and removed
feature
an issue representing an entire feature/story
Epic
labels
May 18, 2023
Is it planned to implement custom python style decorators?
A very simple use case I can think of would be to implement something like that:
I know it's just sugar coating and functional everything can be done without decorators, I am just curious, and I think it might help with the readability of contracts.
I don't have a solution ready, but I could probably help if someone would be able to guide me a little.
The text was updated successfully, but these errors were encountered: