def GetVersionNamespace(version):
 ns = nsMap[version]
 if (not ns):
  ns = serviceNsMap[version]
 versionId = versionIdMap[version]
 if (not versionId):
  namespace = ns
 else:
  namespace = ('%s/%s' % (ns, versionId))
 return namespace

def GetVersionNamespace ( version ) : ns = nsMap [ version ] if ( not ns ) : ns = serviceNsMap [ version ] versionId = versionIdMap [ version ] if ( not versionId ) : namespace = ns else : namespace = ( '%s/%s' % ( ns , versionId ) ) return namespace
get version namespace from version .