From 556ee3b67d1287661fefbd6491974bc4647fcd4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Wed, 1 Jul 2015 10:43:35 +0200 Subject: [PATCH] add implementation & todo comment on how Schema objects get built --- suds/xsd/schema.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/suds/xsd/schema.py b/suds/xsd/schema.py index 2066a2f..ed042c7 100644 --- a/suds/xsd/schema.py +++ b/suds/xsd/schema.py @@ -227,6 +227,14 @@ class Schema(UnicodeMixin): options.doctor.examine(root) form = self.root.get("elementFormDefault") self.form_qualified = form == "qualified" + + # If we have a container, that container is going to take care of + # finishing our build for us in parallel with building all the other + # schemata in that container. That allows the different schema within + # the same container to freely reference each other. + #TODO: check whether this container content build parallelization is + # really necessary or if we can simply build our top-level WSDL + # contained schemata one by one as they are loaded if container is None: self.build() self.open_imports(options)