Roland Haroutiounian
8388f107b2
Update on the documentation of the leobject module
2017-03-23 16:18:28 +01:00
Roland Haroutiounian
acc50423c0
Documentation of the lodel.leapi.leobject module
2017-03-23 16:10:49 +01:00
prieto
cdd13d9b4b
Delete is_exist
2017-03-23 15:35:10 +01:00
Roland Haroutiounian
3899753023
Documentation on the lodel.leapi.datahandlers.datas module
2017-03-23 11:43:06 +01:00
prieto
b547f75c9f
Without is_exist
2017-03-16 16:13:00 +01:00
prieto
a8577a7f2f
List of DataHandlers
2017-02-20 15:14:34 +01:00
prieto
2174b23ec6
Autotools adaptation for new directories
2017-02-17 09:27:42 +01:00
prieto
a958d9cf1f
List of existting datahandlers
2017-02-17 09:27:42 +01:00
prieto
a0b46aa787
After autopep8
2017-02-17 09:27:42 +01:00
prieto
b6b0a60b4c
display_name and help_text are handled in __init__ of datahandler base class
2017-02-17 09:27:42 +01:00
Roland Haroutiounian
dc3a8f4e22
Code cleaning on references module
2017-02-17 09:27:42 +01:00
Roland Haroutiounian
b6093866cd
Changed datahandler exceptions from functions to classes
2017-02-17 09:27:42 +01:00
Roland Haroutiounian
c48c0119a2
code cleaning
2017-02-17 09:27:42 +01:00
Roland Haroutiounian
915817b6bd
Code cleaning on datahandlers/datas.py
2017-02-17 09:27:42 +01:00
Roland Haroutiounian
822ad1bea2
Code cleaning
2017-02-17 09:27:42 +01:00
Roland Haroutiounian
283fa4a3cc
Added an Exception management for the DatahandlerOption's check_value method
2017-02-17 09:27:42 +01:00
Roland Haroutiounian
be429fc018
Changed help_text and display_name from private to public in the datahandlers options
2017-02-17 09:27:42 +01:00
prieto
57b650c686
display_name and helpt_text are removed in datahandleroption
2017-02-17 09:27:42 +01:00
Roland Haroutiounian
ebe8338938
Changed the management of the option values in a datahandler
2017-02-17 09:27:42 +01:00
Roland Haroutiounian
18770976cf
Changed the importing of the UnallowedOption Exception
2017-02-17 09:27:42 +01:00
Roland Haroutiounian
0716e77a1a
Code cleaning
2017-02-17 09:27:42 +01:00
Roland Haroutiounian
dd1b1d0b13
Fix on the call to the parent's init in DataHandler and DataHandlerOption classes
2017-02-17 09:27:42 +01:00
Roland Haroutiounian
530ad1088f
Added inheritance of the datahandler base class and the datahandler option class to the MlNamedObject class
2017-02-17 09:27:42 +01:00
prieto
08ad11624d
Class Validator replaces SettingValidator
2017-02-17 09:27:42 +01:00
Roland Haroutiounian
3394543af8
Added a new exception raised when a not allowed option is passed to a datahandler
2017-02-17 09:27:41 +01:00
Roland Haroutiounian
763e4a880d
Added a check in the options' check method, to see if the option name indicated corresponds to an existing option
2017-02-17 09:27:41 +01:00
Roland Haroutiounian
6e6463cb8f
Added some changes to the DataHandler class to deal with the options and their values
2017-02-17 09:27:41 +01:00
Roland Haroutiounian
c2f62bce50
Added new properties and the check_options method to the DataHandler class
2017-02-17 09:27:41 +01:00
prieto
7a1416ee21
Class DhOptionvaidator
2017-02-17 09:27:41 +01:00
Roland Haroutiounian
b3437848bb
Added the DatahandlerOption class
2017-02-17 09:27:41 +01:00
Quentin Bonaventure
c4289764ec
Created and added varcharlist DH to lodelsites EM
2017-02-01 17:05:47 +01:00
prieto
4fb0c89ddb
Utilisation is_exist
2017-01-27 16:51:34 +01:00
prieto
54b1521d09
Adds LeQuery.is_exist function to test the existence of an LeObject instance
2017-01-26 16:04:41 +01:00
prieto
e9a0b7a924
Small correction
2017-01-20 16:41:33 +01:00
prieto
084b2dd5f0
Corrects an error
2017-01-20 15:19:35 +01:00
prieto
a66e5d2d30
Add a check that the given value points onto an allowed class
2017-01-19 17:06:58 +01:00
Roland Haroutiounian
adfe7b886a
Fixed some methods' documentation
2017-01-12 17:06:31 +01:00
Yann
383af4be53
Quick & dirty workaround for issue #188
...
We delete all results with the same UID...
2016-12-09 15:51:03 +01:00
Yann
67bfa2152f
Implements new methods for reference datahandlers
...
get_referenced method were implemented for SingleReference and MultipleReference class
They are able to return LeObject instances refereced by them
2016-12-09 15:41:44 +01:00
Yann
705c8f511c
Bugfix in lodel.leapi.query
...
Hook names were wrong
2016-12-08 17:17:04 +01:00
Yann
aa1ccd4a8d
Begin to fix back_reference update
2016-12-07 17:29:02 +01:00
Yann
62f92ff641
Bugfix in datahandlers/base_classes.py
...
Deleted old methods that are unused (one of them was triggerring an error will doing nothing)
2016-12-07 15:52:46 +01:00
Yann
32e2579350
Bugfix in Reference DataHandler instanciation
...
**kwargs was not given to super() constructor
2016-11-17 15:07:33 +01:00
Yann
a21e0be25f
Fixing multisite loading process & dyncode bootstrapping
...
- a "normal" import was left in lefactory_common
- the hook triggering datasources init in dyncode was not called
- dyncode was not exposed in the loader (making hook call useless : the hook has to be called once the dyncode has been "seen" (imported) by python)
2016-11-09 12:17:17 +01:00
Yann
8085efeb99
Replaced all lodel subthings import by LodelContext.expose_modules calls
...
Test passes
2016-11-02 16:24:22 +01:00
prieto
2d8a9811e6
Some adjustments and corresions
2016-10-06 09:03:07 +02:00
Yann
0b60a24582
Bugfixes on back reference handling for singleRef solves #154
2016-09-30 17:26:30 +02:00
Yann
2010fb29e8
empty method implementation for Reference objects
2016-09-30 14:15:27 +02:00
Yann
949320298d
Another bugfix on get_from_uid LeObject method
...
When not found return None and do not try to run len() on None
2016-09-30 14:14:00 +02:00
Yann
8a1aef8d68
Enhancement of LeObject get_from_uid method
...
Return an instance and not a list of len 1 anymore
2016-09-30 11:56:27 +02:00