Skip to content

Commit e704827

Browse files
committed
1 parent 641c963 commit e704827

47 files changed

Lines changed: 206 additions & 146 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.20.0
1+
7.21.0

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## [2.14.0] - 2026-03-31
4+
- Updated to OpenAPI Generator 7.21.0
5+
36
## [2.13.0] - 2026-02-17
47
- Updated to OpenAPI Generator 7.20.0
58

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# urlr@2.13.0
1+
# urlr@2.14.0
22

33
![PyPI - Version](https://img.shields.io/pypi/v/urlr) ![PyPI - Downloads](https://img.shields.io/pypi/dm/urlr) ![PyPI - License](https://img.shields.io/pypi/l/urlr)
44

55
This SDK is automatically generated with the [OpenAPI Generator](https://openapi-generator.tech) project.
66

77
- API version: 1.12
8-
- Package version: 2.13.0
8+
- Package version: 2.14.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

1111
For more information, please visit [https://urlr.me/en](https://urlr.me/en)

docs/QRCodesApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Method | HTTP request | Description
88

99

1010
# **create_qr_code**
11-
> bytearray create_qr_code(create_qr_code_request=create_qr_code_request)
11+
> bytes create_qr_code(create_qr_code_request=create_qr_code_request)
1212
1313
Create a QR Code
1414

@@ -64,7 +64,7 @@ Name | Type | Description | Notes
6464

6565
### Return type
6666

67-
**bytearray**
67+
**bytes**
6868

6969
### Authorization
7070

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "urlr"
3-
version = "2.13.0"
3+
version = "2.14.0"
44
description = "Python client for URLR"
55
authors = [
66
{name = "URLR",email = "contact@urlr.me"},
@@ -13,7 +13,7 @@ requires-python = ">=3.9"
1313
dependencies = [
1414
"urllib3 (>=2.1.0,<3.0.0)",
1515
"python-dateutil (>=2.8.2)",
16-
"pydantic (>=2)",
16+
"pydantic (>=2.11)",
1717
"typing-extensions (>=4.7.1)",
1818
]
1919

@@ -92,4 +92,4 @@ disallow_untyped_calls = true
9292
disallow_incomplete_defs = true
9393
disallow_untyped_defs = true
9494
no_implicit_reexport = true
95-
warn_return_any = true
95+
warn_return_any = true

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
urllib3 >= 2.1.0, < 3.0.0
22
python_dateutil >= 2.8.2
3-
pydantic >= 2
3+
pydantic >= 2.11
44
typing-extensions >= 4.7.1

setup.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# coding: utf-8
2-
31
"""
42
URLR API Reference
53
@@ -22,12 +20,12 @@
2220
# prerequisite: setuptools
2321
# http://pypi.python.org/pypi/setuptools
2422
NAME = "urlr"
25-
VERSION = "2.13.0"
23+
VERSION = "2.14.0"
2624
PYTHON_REQUIRES = ">= 3.9"
2725
REQUIRES = [
2826
"urllib3 >= 2.1.0, < 3.0.0",
2927
"python-dateutil >= 2.8.2",
30-
"pydantic >= 2",
28+
"pydantic >= 2.11",
3129
"typing-extensions >= 4.7.1",
3230
]
3331

@@ -48,4 +46,4 @@
4846
API powering the features of URLR.&lt;br&gt;&lt;br&gt;Note that in order to facilitate integration, we provide SDKs for various languages at https://github.com/URLR.&lt;br&gt;&lt;br&gt;Key API principles:&lt;br&gt; &lt;ul&gt;&lt;li&gt;All dates follow **ISO-8601** format&lt;/li&gt;&lt;li&gt;Most errors follow **RFC 9457** standard&lt;/li&gt;&lt;li&gt;All responses are delivered in English&lt;/li&gt;&lt;/ul&gt;
4947
""", # noqa: E501
5048
package_data={"urlr": ["py.typed"]},
51-
)
49+
)

urlr/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
""" # noqa: E501
1616

1717

18-
__version__ = "2.13.0"
18+
__version__ = "2.14.0"
1919

2020
# Define package exports
2121
__all__ = [

urlr/api/qr_codes_api.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def create_qr_code(
5555
_content_type: Optional[StrictStr] = None,
5656
_headers: Optional[Dict[StrictStr, Any]] = None,
5757
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
58-
) -> bytearray:
58+
) -> bytes:
5959
"""Create a QR Code
6060
6161
@@ -92,7 +92,7 @@ def create_qr_code(
9292
)
9393

9494
_response_types_map: Dict[str, Optional[str]] = {
95-
'201': "bytearray",
95+
'201': "bytes",
9696
'401': "GetLink401Response",
9797
'422': "GetLink422Response",
9898
'429': "CreateLink429Response",
@@ -125,7 +125,7 @@ def create_qr_code_with_http_info(
125125
_content_type: Optional[StrictStr] = None,
126126
_headers: Optional[Dict[StrictStr, Any]] = None,
127127
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
128-
) -> ApiResponse[bytearray]:
128+
) -> ApiResponse[bytes]:
129129
"""Create a QR Code
130130
131131
@@ -162,7 +162,7 @@ def create_qr_code_with_http_info(
162162
)
163163

164164
_response_types_map: Dict[str, Optional[str]] = {
165-
'201': "bytearray",
165+
'201': "bytes",
166166
'401': "GetLink401Response",
167167
'422': "GetLink422Response",
168168
'429': "CreateLink429Response",
@@ -232,7 +232,7 @@ def create_qr_code_without_preload_content(
232232
)
233233

234234
_response_types_map: Dict[str, Optional[str]] = {
235-
'201': "bytearray",
235+
'201': "bytes",
236236
'401': "GetLink401Response",
237237
'422': "GetLink422Response",
238238
'429': "CreateLink429Response",

urlr/api_client.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ class ApiClient:
6969
'date': datetime.date,
7070
'datetime': datetime.datetime,
7171
'decimal': decimal.Decimal,
72+
'UUID': uuid.UUID,
7273
'object': object,
7374
}
7475
_pool = None
@@ -91,7 +92,7 @@ def __init__(
9192
self.default_headers[header_name] = header_value
9293
self.cookie = cookie
9394
# Set default User-Agent.
94-
self.user_agent = 'OpenAPI-Generator/2.13.0/python'
95+
self.user_agent = 'OpenAPI-Generator/2.14.0/python'
9596
self.client_side_validation = configuration.client_side_validation
9697

9798
def __enter__(self):
@@ -306,7 +307,7 @@ def response_deserialize(
306307
response_text = None
307308
return_data = None
308309
try:
309-
if response_type == "bytearray":
310+
if response_type in ("bytearray", "bytes"):
310311
return_data = response_data.data
311312
elif response_type == "file":
312313
return_data = self.__deserialize_file(response_data)
@@ -468,6 +469,8 @@ def __deserialize(self, data, klass):
468469
return self.__deserialize_datetime(data)
469470
elif klass is decimal.Decimal:
470471
return decimal.Decimal(data)
472+
elif klass is uuid.UUID:
473+
return uuid.UUID(data)
471474
elif issubclass(klass, Enum):
472475
return self.__deserialize_enum(data, klass)
473476
else:

0 commit comments

Comments
 (0)