Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
zeep / xsd / const.py
Size: Mime:
from lxml import etree

from zeep import ns


def xsi_ns(localname):
    return etree.QName(ns.XSI, localname)


def xsd_ns(localname):
    return etree.QName(ns.XSD, localname)


class _StaticIdentity(object):
    def __init__(self, val):
        self.__value__ = val

    def __repr__(self):
        return self.__value__


NotSet = _StaticIdentity("NotSet")
SkipValue = _StaticIdentity("SkipValue")
Nil = _StaticIdentity("Nil")


AUTO_IMPORT_NAMESPACES = ["http://schemas.xmlsoap.org/soap/encoding/"]