blissdata: Simplify the Beacon Files API
This PR simplify the BeaconFiles
API
-
get_config_file
was renamed intoget_file
. -
get_config_db_tree
was renamed intoget_tree
-
get_file
now always returnbytes
(no need twice the method).
Rational
BeaconFiles
is a file provider, there is no need to call the method to get file content get_config_file
, nor have different API for binary/text files.
read_config
handle that stuff, even better, the yaml parser already handle binary files. No need to decode it in between.
Edited by Valentin Valls