Mercurial > libervia-backend
annotate src/__init__.py @ 2371:2268df8c99bf
plugin pubsub schema: values handling:
- "schema" attribute can now be specified directly as a data_form.Form (reparsing it will be avoided in this case)
- new "deserialise" parameter allows deserialisation from unicode strings in sendDataFormItem
- values can now be an iterable or directly the value to use (it will be put in a list automatically in the later case)
- "id" is now put directly in XMLUI's "id" field instea of "_id"
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 06 Oct 2017 10:55:51 +0200 |
parents | 1128feb54180 |
children |
rev | line source |
---|---|
1935
1128feb54180
core: removed pyfeed and xe dependencies:
Goffi <goffi@goffi.org>
parents:
1470
diff
changeset
|
1 from .core.constants import Const as C |
1470
8bfbf5cb0e28
core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)"
Goffi <goffi@goffi.org>
parents:
224
diff
changeset
|
2 |
8bfbf5cb0e28
core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)"
Goffi <goffi@goffi.org>
parents:
224
diff
changeset
|
3 __version__ = C.APP_VERSION |