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
its a good question, we used to have some of these return True, but the google library returns None, and we do too since as long as there are no exception raised its 100% deleted. Also because it will never return False its not really a boolean return value.
@thomasborgen I think you are right. There is no need in True if we don't have false. In the meantime, should we document this behaviour in the docstrings?
The confusing part with None from my perspective, person who uses code wouldn't know if a function is sync/async, so None in this case may mean success or function may continue doing its job. Do you sync async is a valid point here?
its a good question, we used to have some of these return True, but the google library returns None, and we do too since as long as there are no exception raised its 100% deleted. Also because it will never return False its not really a boolean return value.
@ChameleonTartu
What do you think?
The text was updated successfully, but these errors were encountered: