Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/zeep/transports.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

try:
from packaging.version import Version

if httpx is None or Version(httpx.__version__) < Version("0.26.0"):
HTTPX_PROXY_KWARG_NAME = "proxies"
else:
Expand Down
16 changes: 8 additions & 8 deletions src/zeep/wsdl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
"""
zeep.wsdl
---------
zeep.wsdl
---------

The wsdl module is responsible for parsing the WSDL document. This includes
the bindings and messages.
The wsdl module is responsible for parsing the WSDL document. This includes
the bindings and messages.

The structure and naming of the modules and classses closely follows the
WSDL 1.1 specification.
The structure and naming of the modules and classses closely follows the
WSDL 1.1 specification.

The serialization and deserialization of the SOAP/HTTP messages is done
by the zeep.wsdl.messages modules.
The serialization and deserialization of the SOAP/HTTP messages is done
by the zeep.wsdl.messages modules.


"""
Expand Down
22 changes: 11 additions & 11 deletions src/zeep/wsdl/definitions.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
"""
zeep.wsdl.definitions
~~~~~~~~~~~~~~~~~~~~~
zeep.wsdl.definitions
~~~~~~~~~~~~~~~~~~~~~

A WSDL document exists out of a number of definitions. There are 6 major
definitions, these are:
A WSDL document exists out of a number of definitions. There are 6 major
definitions, these are:

- types
- message
- portType
- binding
- port
- service
- types
- message
- portType
- binding
- port
- service

This module defines the definitions which occur within a WSDL document,
This module defines the definitions which occur within a WSDL document,

"""

Expand Down
24 changes: 12 additions & 12 deletions src/zeep/wsdl/messages/__init__.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
"""
zeep.wsdl.messages
~~~~~~~~~~~~~~~~~~
zeep.wsdl.messages
~~~~~~~~~~~~~~~~~~

The messages are responsible for serializing and deserializing
The messages are responsible for serializing and deserializing

.. inheritance-diagram::
zeep.wsdl.messages.soap.DocumentMessage
zeep.wsdl.messages.soap.RpcMessage
zeep.wsdl.messages.http.UrlEncoded
zeep.wsdl.messages.http.UrlReplacement
zeep.wsdl.messages.mime.MimeContent
zeep.wsdl.messages.mime.MimeXML
zeep.wsdl.messages.mime.MimeMultipart
:parts: 1
.. inheritance-diagram::
zeep.wsdl.messages.soap.DocumentMessage
zeep.wsdl.messages.soap.RpcMessage
zeep.wsdl.messages.http.UrlEncoded
zeep.wsdl.messages.http.UrlReplacement
zeep.wsdl.messages.mime.MimeContent
zeep.wsdl.messages.mime.MimeXML
zeep.wsdl.messages.mime.MimeMultipart
:parts: 1

"""

Expand Down
4 changes: 2 additions & 2 deletions src/zeep/wsdl/messages/base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
zeep.wsdl.messages.base
~~~~~~~~~~~~~~~~~~~~~~~
zeep.wsdl.messages.base
~~~~~~~~~~~~~~~~~~~~~~~

"""

Expand Down
4 changes: 2 additions & 2 deletions src/zeep/wsdl/messages/http.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
zeep.wsdl.messages.http
~~~~~~~~~~~~~~~~~~~~~~~
zeep.wsdl.messages.http
~~~~~~~~~~~~~~~~~~~~~~~

"""

Expand Down
4 changes: 2 additions & 2 deletions src/zeep/wsdl/messages/mime.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
zeep.wsdl.messages.mime
~~~~~~~~~~~~~~~~~~~~~~~
zeep.wsdl.messages.mime
~~~~~~~~~~~~~~~~~~~~~~~

"""

Expand Down
4 changes: 2 additions & 2 deletions src/zeep/wsdl/messages/soap.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
zeep.wsdl.messages.soap
~~~~~~~~~~~~~~~~~~~~~~~
zeep.wsdl.messages.soap
~~~~~~~~~~~~~~~~~~~~~~~

"""

Expand Down
4 changes: 2 additions & 2 deletions src/zeep/wsdl/parse.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
zeep.wsdl.parse
~~~~~~~~~~~~~~~
zeep.wsdl.parse
~~~~~~~~~~~~~~~

"""

Expand Down
4 changes: 2 additions & 2 deletions src/zeep/wsdl/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
zeep.wsdl.utils
~~~~~~~~~~~~~~~
zeep.wsdl.utils
~~~~~~~~~~~~~~~

"""

Expand Down
4 changes: 2 additions & 2 deletions src/zeep/wsdl/wsdl.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
zeep.wsdl.wsdl
~~~~~~~~~~~~~~
zeep.wsdl.wsdl
~~~~~~~~~~~~~~

"""

Expand Down
4 changes: 2 additions & 2 deletions src/zeep/xsd/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
zeep.xsd
--------
zeep.xsd
--------

"""

Expand Down
4 changes: 2 additions & 2 deletions tests/test_xsd_builtins.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,11 +371,11 @@ def test_pythonvalue(self):
class TestHexBinary:
def test_xmlvalue(self):
instance = builtins.HexBinary()
assert instance.xmlvalue(b"\xFF") == b"\xFF"
assert instance.xmlvalue(b"\xff") == b"\xff"

def test_pythonvalue(self):
instance = builtins.HexBinary()
assert instance.pythonvalue(b"\xFF") == b"\xFF"
assert instance.pythonvalue(b"\xff") == b"\xff"


class TestBase64Binary:
Expand Down