diff options
| author | Ted Ross <tross@apache.org> | 2011-01-10 14:08:50 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2011-01-10 14:08:50 +0000 |
| commit | b7f5f402c2f1f92f84bf8cdfc5b15a87714fbcbf (patch) | |
| tree | ae8f38abdd7d299d252569b91510c44b445dafb4 /qpid/cpp/bindings/qmf2/python | |
| parent | b1cd22ae277d9a987d37e2538aded2f3521bc362 (diff) | |
| download | qpid-python-b7f5f402c2f1f92f84bf8cdfc5b15a87714fbcbf.tar.gz | |
Updated Python and Ruby wrappers to reflect API changes.
Updates to the agent examples.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057200 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/bindings/qmf2/python')
| -rw-r--r-- | qpid/cpp/bindings/qmf2/python/qmf2.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/qpid/cpp/bindings/qmf2/python/qmf2.py b/qpid/cpp/bindings/qmf2/python/qmf2.py index 285b47ebbe..28e40d59ca 100644 --- a/qpid/cpp/bindings/qmf2/python/qmf2.py +++ b/qpid/cpp/bindings/qmf2/python/qmf2.py @@ -385,10 +385,8 @@ class Data(object): self._impl = cqmf2.Data() elif arg.__class__ == cqmf2.Data: self._impl = arg - elif arg.__class__ == SchemaId: - self._impl = cqmf2.Data(arg._impl) elif arg.__class__ == Schema: - self._impl = cqmf2.Data(arg.getSchemaId()._impl) + self._impl = cqmf2.Data(arg._impl) else: raise Exception("Unsupported initializer for Data") self._schema = None @@ -444,6 +442,7 @@ class Data(object): ## validate that we have the right number of arguments supplied, and marshall them ## into a map for transmission. ## + arglist = [] methods = self._schema.getMethods() for m in methods: if m.getName() == name: @@ -683,6 +682,11 @@ class SchemaProperty(object): """ return self._impl.getName() + def getType(self): + """ + """ + return self._impl.getType() + def getAccess(self): """ """ |
