| 12345678910111213141516171819202122 |
- import anvil.tables as tables
- import anvil.tables.query as q
- from anvil.tables import app_tables
- import anvil.server
- import yaml
- import json
- # This is a server module. It runs on the Anvil server,
- # rather than in the user's browser.
- #
- # To allow anvil.server.call() to call functions here, we mark
- # them with @anvil.server.callable.
- # Here is an example - you can replace it with your own:
- #
- @anvil.server.callable
- def parse_yaml(text):
- return yaml.safe_load(text)
- #
- @anvil.server.callable
- def parse_yaml(text):
- return yaml.safe_load(text)
|