Skip to content

Instantly share code, notes, and snippets.

@ShahriyarR
Last active December 6, 2022 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShahriyarR/bca6249a1322193a8b618b9df959fc2f to your computer and use it in GitHub Desktop.
Save ShahriyarR/bca6249a1322193a8b618b9df959fc2f to your computer and use it in GitHub Desktop.
@icontract.ensure(lambda self: not self.__secrets and not self.__is_consumed)
def __init__(self) -> None:
self.__reset_secrets()
self.__reset_is_consumed()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment