You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
Probably the best choice is to use Colander. Colander does not preserve primitive JSON types when serializing, see Pylons/colander#80 , so instead of importing things directly from Colander, something like this could be used:
importdatabot.schemaasds
Here ds would provide all Colander classes and would override primitive types to support serialization preserving primitive types.
bot.define will accept Colander SchemaNode as second argument.
And for the semantic information, probably something like JSON-LD could be used and this could be provided as third argument in bot.defined called context.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Probably the best choice is to use Colander. Colander does not preserve primitive JSON types when serializing, see Pylons/colander#80 , so instead of importing things directly from Colander, something like this could be used:
Here
ds
would provide all Colander classes and would override primitive types to support serialization preserving primitive types.bot.define
will accept ColanderSchemaNode
as second argument.And for the semantic information, probably something like JSON-LD could be used and this could be provided as third argument in
bot.defined
calledcontext
.The text was updated successfully, but these errors were encountered: