aboutsummaryrefslogtreecommitdiff
path: root/python/metadata_key.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/metadata_key.cc')
-rw-r--r--python/metadata_key.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/metadata_key.cc b/python/metadata_key.cc
index 60a33df82..757995547 100644
--- a/python/metadata_key.cc
+++ b/python/metadata_key.cc
@@ -106,6 +106,11 @@ class MetadataKeySptrToPythonVisitor
obj = bp::object(std::static_pointer_cast<const MetadataCollectionKey<Set<std::string> > >(_m_ptr));
}
+ void visit(const MetadataCollectionKey<Map<std::string, std::string> > & k)
+ {
+ obj = bp::object(std::static_pointer_cast<const MetadataCollectionKey<Map<std::string, std::string> > >(_m_ptr));
+ }
+
void visit(const MetadataCollectionKey<Sequence<std::string> > & k)
{
obj = bp::object(std::static_pointer_cast<const MetadataCollectionKey<Sequence<std::string> > >(_m_ptr));