Skip to content

Instantly share code, notes, and snippets.

@erikbern
Created November 26, 2022 22:14
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 erikbern/ec72705a80f8c712d6dc399ef436c599 to your computer and use it in GitHub Desktop.
Save erikbern/ec72705a80f8c712d6dc399ef436c599 to your computer and use it in GitHub Desktop.
if __name__ == "__main__":
secret = modal.Secret({"FOO": os.environ["FOO"]})
else:
secret = modal.Secret.from_name("baz")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment