Skip to content
Snippets Groups Projects
Commit eb5cc1fc authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

added embedding configuration documentation in schema JSON

parent a9c6d143
No related branches found
No related tags found
No related merge requests found
# v2.16.4
* added embedding configuration documentation in schema JSON
* this functionality does not require updating satella
......@@ -173,3 +173,19 @@ In which case cast_to will be displayed as a
which will be eval()ed, and this value will be
output. The input value will be called **x**.
You can also provide a commentary for your entries:
.. code-block:: json
{
"contents": {
"type": "file_contents",
"encoding": "utf-8,
"description": "Encryption key (private key)
},
"max_workers": {
"type": "int",
"description": "Maximum parallel instances of service"
}
}
__version__ = '2.16.4a1'
__version__ = '2.16.4a2'
......@@ -93,7 +93,10 @@ class TestSchema(unittest.TestCase):
def test_descriptor_from_schema(self):
schema = {
"key_s": "str",
"key_i": "int",
"key_i": {
"type": "int",
"description": "Value of key I"
},
"key_f": "float",
"ip_addr": "ipv4",
"nested": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment