synapse.assets package

synapse.assets.getAssetPath(*names)[source]
synapse.assets.getStorm(*names)[source]

Return a storm file from the synapse storm folder.

Example

text = storm.get(‘migrate.storm’) await core.callStorm(text)

Example #2:

text = storm.get(‘migrations’, ‘model-0.2.28.storm’) await core.callStorm(text)