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 | 02f19f9718c7837463bfef8a01d589e0d9c4bb11 (patch) | |
| tree | c7a004482e5d1b1685eec2ee7cf438d78f97285c /cpp/bindings/qmf2/python/qmf2.py | |
| parent | 120ea440ef9d048d3bb31e6118027f5c9e890fca (diff) | |
| download | qpid-python-02f19f9718c7837463bfef8a01d589e0d9c4bb11.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/qpid@1057200 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qmf2/python/qmf2.py')
| -rw-r--r-- | cpp/bindings/qmf2/python/qmf2.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cpp/bindings/qmf2/python/qmf2.py b/cpp/bindings/qmf2/python/qmf2.py index 285b47ebbe..28e40d59ca 100644 --- a/cpp/bindings/qmf2/python/qmf2.py +++ b/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): """ """ |
