summaryrefslogtreecommitdiffstats
path: root/cobbler/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler/api.py')
-rw-r--r--cobbler/api.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/cobbler/api.py b/cobbler/api.py
index 955c41d..2a51c1a 100644
--- a/cobbler/api.py
+++ b/cobbler/api.py
@@ -226,8 +226,11 @@ class BootAPI:
"""
return self._config.deserialize()
- ## FIXME: would be nice to have functions to just deserialize
- ## certain collections for efficiency in WUI calls.
+ def deserialize_raw(self,collection_name):
+ """
+ Get the collection back just as raw data.
+ """
+ return self._config.deserialize_raw(collection_name)
if __name__ == "__main__":
api = BootAPI()