Skip to content

Commit

Permalink
Merge branch 'dtroeder/2-format-correlation-id-as-hex-value' into 'ma…
Browse files Browse the repository at this point in the history
…ster'

Resolve "Format correlation ID as hex value"

Closes #2

See merge request univention/components/python-udm-rest-api-client!2
  • Loading branch information
dansan committed Sep 16, 2022
2 parents 55bdd4f + d7e8d87 commit be0a51c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
History
=======

1.0.9 (2022-09-15)
------------------

* Format the correlation ID as a hex value.

1.0.8 (2022-09-11)
------------------

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
python_requires=">=3.6",
scripts=["update_openapi_client"],
url="https://github.com/univention/python-udm-rest-api-client",
version="1.0.8",
version="1.0.9",
zip_safe=False,
)
2 changes: 1 addition & 1 deletion udm_rest_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
]
__author__ = """Daniel Troeder"""
__email__ = "troeder@univention.de"
__version__ = "1.0.8"
__version__ = "1.0.9"
2 changes: 1 addition & 1 deletion udm_rest_client/base_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def __init__(
self._client: openapi_client_udm.ApiClient = None
self._session: aiohttp.ClientSession = None
self._client_task_limiter = asyncio.Semaphore(max_client_tasks)
self.request_id = request_id or str(int(uuid.uuid4()))
self.request_id = request_id or uuid.uuid4().hex
self.request_id_header = request_id_header

def open(self) -> None:
Expand Down

0 comments on commit be0a51c

Please sign in to comment.