git://git.onelab.eu
/
unfold.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eefb371
)
Rest TODO: manage local:object
author
Loic Baron
<loic.baron@lip6.fr>
Fri, 28 Feb 2014 18:52:01 +0000
(19:52 +0100)
committer
Loic Baron
<loic.baron@lip6.fr>
Fri, 28 Feb 2014 18:52:01 +0000
(19:52 +0100)
rest/__init__.py
patch
|
blob
|
history
diff --git
a/rest/__init__.py
b/rest/__init__.py
index
f871966
..
761e8dc
100644
(file)
--- a/
rest/__init__.py
+++ b/
rest/__init__.py
@@
-32,6
+32,8
@@
def dispatch(request, object_type, object_name):
object_properties = None
object_filters = {}
+ # XXX TODO: What about the local: objects?
+ # Example: local:user (Manifold) is different from user (SFA GW)
switch = {
'platform' : platform,
'slice' : slice,