synapse.utils package
Subpackages
Submodules
synapse.utils.getrefs module
- synapse.utils.getrefs.download_refs_handler(uri)[source]
This function downloads the JSON schema at the given URI, parses the given URI to get the path component, and then saves the referenced schema to the ‘jsonschemas’ directory of synapse.data.
This function runs its own asyncio loop for each URI being requested.