Created
December 1, 2020 12:24
-
-
Save dbwodlf3/a914741699ab98f3c31619f309ea055a to your computer and use it in GitHub Desktop.
anvil memo
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
| import sys | |
| sys.path.append("/path/to/anvill/python") | |
| import anvill | |
| p = anvill.get_program(cache=False) | |
| p.add_function_definition(here()) | |
| open("/tmp/spec.json", "w").write(p.proto()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment