mirror of
https://github.com/yweber/lodel2.git
synced 2026-08-03 19:08:37 +02:00
Added some commentson header function
This commit is contained in:
parent
f02bba37f2
commit
cabfd95b73
3 changed files with 5 additions and 3 deletions
|
|
@ -1,8 +1,9 @@
|
|||
Dependencies :
|
||||
with pip : see requirements.txt
|
||||
debian stable : python3 python3-lxml python3-jinja2 python3-werkzeug python3-pymongo doxygen graphviz uwsgi-plugin-python3 mongodb
|
||||
debian stable : python3 python3-lxml python3-jinja2 python3-werkzeug python3-pymongo uwsgi-plugin-python3 mongodbd
|
||||
|
||||
Doxygen documentation generation :
|
||||
dependencies: doxypy doxygen graphviz
|
||||
doxygen
|
||||
|
||||
Dynamic code generation :
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#-*- coding: utf-8 -*-
|
||||
|
||||
import functools
|
||||
from lodel.editorial_model.components import *
|
||||
#from lodel.editorial_model.components import *
|
||||
from lodel.leapi.leobject import LeObject
|
||||
from lodel.leapi.datahandlers.base_classes import DataHandler
|
||||
|
||||
|
|
@ -104,6 +104,7 @@ def forge_optval(optval):
|
|||
##@brief Generate dyncode from an EmClass
|
||||
# @param model EditorialModel :
|
||||
# @param emclass EmClass : EmClass instance
|
||||
# @todo delete imports. It is never use, consequently changed return parameters.
|
||||
# @return a tuple with emclass python code, a set containing modules name to import, and a list of python instruction to bootstrap dynamic code, in this order
|
||||
def generate_classes(model):
|
||||
res = ""
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ class MlString(object):
|
|||
]
|
||||
|
||||
##@brief Create a new MlString instance
|
||||
# @param arg str | dict : Can be a json string, a string or a dict
|
||||
# @param arg str | dict : Can be a json string, a string or a dict. It could be also a MlString object
|
||||
def __init__(self, arg):
|
||||
self.values = dict()
|
||||
if isinstance(arg, str):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue