All Samples(0) | Call(0) | Derive(0) | Import(0)
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)
src/p/y/pysaml2-HEAD/tests/test_05_md.py pysaml2(Download)
for eelem in new_sp_sso_descriptor.extensions.extension_elements: print "EE",eelem.__dict__ dp = extension_element_to_element(eelem, idpdisc.ELEMENT_FROM_STRING, idpdisc.NAMESPACE) print "DP",dp.c_tag, dp.c_namespace,dp.__dict__
src/p/y/pysaml2-HEAD/tests/otest_61_makemeta.py pysaml2(Download)
print exts idpd = saml2.extension_element_to_element(exts[0], idpdisc.ELEMENT_FROM_STRING, namespace=idpdisc.NAMESPACE) print idpd
src/p/y/pysaml2-2.0.0/tests/test_05_md.py pysaml2(Download)
for eelem in new_sp_sso_descriptor.extensions.extension_elements: print "EE",eelem.__dict__ dp = extension_element_to_element(eelem, idpdisc.ELEMENT_FROM_STRING, idpdisc.NAMESPACE) print "DP",dp.c_tag, dp.c_namespace,dp.__dict__
src/p/y/pysaml2-2.0.0/tests/otest_61_makemeta.py pysaml2(Download)
print exts idpd = saml2.extension_element_to_element(exts[0], idpdisc.ELEMENT_FROM_STRING, namespace=idpdisc.NAMESPACE) print idpd