ArnAud
4803eba6a7
EmComponent: access to model is now named model !!
9 년 전
Yann Weber
9f0599939a
Update of Model.create_component method
9 년 전
Yann Weber
b87c276b26
Now EmComponents gets a Model instance when instanciate, and the Model._components dict structure has change a bit
Model._components now contains only one dict ( 'uids' key ) and the others are now list of EmComponent instances
Model now handle EVERY access to the _components dict
9 년 전
Yann Weber
6a56b31ba5
Migrating EmClass methods and EmComponent.delete according to the new Model object, changed the Model.components dict keys (and the json test file)
There is now two methods Model.name_from_emclass and emclass_from_name that allows to access the Model.components array
9 년 전
Roland Haroutiounian
06b5786c72
[EmFieldGroup] Modification de la méthode fields + pep8/pylint
9 년 전
Roland Haroutiounian
74b993fba4
[EmFieldGroup] Modification de la récup des noms de clés dans le dictionnaire components
9 년 전
Roland Haroutiounian
67707c6734
[EmFieldGroup] Update of the docstrings for the create method
9 년 전
ArnAud
e2ab8d9a25
EmType : implement classtype
9 년 전
Roland Haroutiounian
129ba00c41
[EmFieldGroup] Changed the create method of the class
9 년 전
Yann Weber
c94c23f6e2
Added create_component delete_component to Model class
9 년 전
Roland Haroutiounian
abdb50691a
[EmFieldGroup] Correction du nom d'une classe dans l'init
9 년 전
Roland Haroutiounian
ac181b4f27
[EmFieldGroup] Ajout du constructeur
9 년 전
ArnAud
cf2ea5f51e
EM Type : implement selected_fields()
9 년 전
ArnAud
e05422dd63
EM Type:get subordinates and fields in __init__
9 년 전
Roland Haroutiounian
912ddc5184
[Fieldgroups] Implémentation de la récupération de la liste des fields d'un fieldgroup à partir de self.components
9 년 전
ArnAud
79336030c7
EM: store in each component a reference to the list of the other
9 년 전
ArnAud
6f2d895462
EM: Model: store all components in one dict
9 년 전
ArnAud
71a1e852dc
EM: a canonical EM in json
9 년 전
ArnAud
adec82093b
delete SQL requirements
9 년 전
ArnAud
a9422795c7
EM: model: create a dict for each component
9 년 전
ArnAud
5e799d0aa7
EM: todos
9 년 전
ArnAud
e85e19c4b1
ME: basic ME for tests
9 년 전
ArnAud
55b030800f
Em: draft for fieldgroup
9 년 전
Roland Haroutiounian
89d45ab799
[EmType] pep8 + pylint
9 년 전
Roland Haroutiounian
d50a89ec36
[Fieldgroups] pep8
9 년 전
Roland Haroutiounian
867ad023be
[ClassTypes et Fields] Mise en commentaire des imports obsolètes et conformité pep8/pylint
9 년 전
Roland Haroutiounian
d169a9dd2e
[Backend Json] Modification du nom du fichier pour éviter les conflits avec le module json de python
9 년 전
Roland Haroutiounian
456403ba1b
[Model] mise en conformité pep8 et pylint
9 년 전
Roland Haroutiounian
ca65d11a5a
pep8 sur classes.py
9 년 전
Roland Haroutiounian
6c6fcea755
[EmClass] Modification de l'appel dans le delete (on appelle celui du parent)
9 년 전
Roland Haroutiounian
f3e05e760d
[EmClass] Correction sur le nom de la classe dans l'appel vers super.create()
9 년 전
Roland Haroutiounian
f2572808d2
Modification du create dans EmClass pour appeler le create de EmComponent
9 년 전
ArnAud
c73251795c
EM: first draft for a Model Class
9 년 전
ArnAud
1d2c069fb8
EmComponent: get rid of database functions
9 년 전
Roland Haroutiounian
a1509dcc68
Désactivation du code SQL dans types.py
9 년 전
Roland Haroutiounian
116795af12
Passage en commentaire du code obsolète
9 년 전
Roland Haroutiounian
4f63f1c6d8
Suppression d'imports obsolètes dans EmClass
9 년 전
Roland Haroutiounian
1918b18779
Nettoyage de EmClass
- Suppression des méthodes SQL
9 년 전
Roland Haroutiounian
87d4ee3090
Nettoyage de EmFieldGroup
- Suppression des imports obsolètes
- Suppression de la méthode create
9 년 전
Roland Haroutiounian
a7bd17853f
Nettoyage de EmField
- Suppression du create / delete et des autres méthodes associées
- Suppression des imports qui sont devenus obsolètes
9 년 전
Roland Haroutiounian
79c168587e
[pep8] Correction sur les lignes vides entre les classes et les méthodes
9 년 전
ArnAud
68da99216c
EmType: bad method name
9 년 전
Yann Weber
889abc8547
Put the database configuration asinstance attribute of EmComponent
9 년 전
ArnAud
8289fa70dd
EmTypes: pylint -d C0301,C0111
9 년 전
ArnAud
bd8bc7e814
EmFields: unecessary comment
9 년 전
ArnAud
09e74f3ec1
EmField: unused import + whitespace
9 년 전
ArnAud
b403aef65b
EmFieldgroups: unecessary comment
9 년 전
ArnAud
3a281f4261
EmFieldgroups: unused import
9 년 전
ArnAud
89d9cb62cf
EmClass: delete unused variable
9 년 전
ArnAud
3c13e658a3
EmClass: delete unused import
9 년 전