Created
May 7, 2021 17:47
-
-
Save ofelix03/916df6f272ac77d112dea2d9c768b565 to your computer and use it in GitHub Desktop.
extract-from-create-method-line-12-to-17.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if "internal_hold" in vals and vals["internal_hold"]: | |
| vals["state"] = "internally_held" | |
| elif "internal_hold" in vals and not vals["internal_hold"]: | |
| vals["state"] = "draft" | |
| else: | |
| vals["state"] = "draft" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment