Skip to content

Commit 0f00ae8

Browse files
committed
1 parent 3fb193d commit 0f00ae8

File tree

10 files changed

+17
-13
lines changed

10 files changed

+17
-13
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22

3-
## [2.8.0] - 2025-03-25
3+
## [2.8.1] - 2025-04-07
4+
5+
- Fix missing property.
6+
7+
## [2.8.0] - 2025-04-07
48

59
- Updated URLR API version to 1.7
610
- Updated to OpenAPI Generator 7.12.0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# urlr@2.8.0
1+
# urlr@2.8.1
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.7
8-
- Package version: 2.8.0
8+
- Package version: 2.8.1
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

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

docs/CreateLinkRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
1111
**domain** | **str** | Domain | [optional]
1212
**code** | **str** | Custom short code | [optional]
1313
**label** | **str** | Label | [optional]
14-
**** | **List[str]** | Tags | [optional]
14+
**tags** | **List[str]** | Tags | [optional]
1515
**password** | **str** | Password | [optional]
1616
**qrcode** | [**CreateLinkRequestQrcode**](CreateLinkRequestQrcode.md) | | [optional]
1717
**utm** | [**GetLink200ResponseUtm**](GetLink200ResponseUtm.md) | | [optional]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "urlr"
3-
version = "2.8.0"
3+
version = "2.8.1"
44
description = "Python client for URLR"
55
authors = ["URLR <contact@urlr.me>"]
66
license = "MIT"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# prerequisite: setuptools
2323
# http://pypi.python.org/pypi/setuptools
2424
NAME = "urlr"
25-
VERSION = "2.8.0"
25+
VERSION = "2.8.1"
2626
PYTHON_REQUIRES = ">= 3.9"
2727
REQUIRES = [
2828
"urllib3 >= 2.1.0, < 3.0.0",

test/test_create_link_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def make_instance(self, include_optional) -> CreateLinkRequest:
4242
domain = 'mybrand.com',
4343
code = 'xxxxx',
4444
label = '',
45-
= [
45+
tags = [
4646
''
4747
],
4848
password = '',

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.8.0"
18+
__version__ = "2.8.1"
1919

2020
# import apis into sdk package
2121
from urlr.api.access_tokens_api import AccessTokensApi

urlr/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def __init__(
9191
self.default_headers[header_name] = header_value
9292
self.cookie = cookie
9393
# Set default User-Agent.
94-
self.user_agent = 'OpenAPI-Generator/2.8.0/python'
94+
self.user_agent = 'OpenAPI-Generator/2.8.1/python'
9595
self.client_side_validation = configuration.client_side_validation
9696

9797
def __enter__(self):

urlr/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ def to_debug_report(self) -> str:
512512
"OS: {env}\n"\
513513
"Python Version: {pyversion}\n"\
514514
"Version of the API: 1.7\n"\
515-
"SDK Package Version: 2.8.0".\
515+
"SDK Package Version: 2.8.1".\
516516
format(env=sys.platform, pyversion=sys.version)
517517

518518
def get_host_settings(self) -> List[HostSetting]:

urlr/models/create_link_request.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class CreateLinkRequest(BaseModel):
3838
domain: Optional[StrictStr] = Field(default=None, description="Domain")
3939
code: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="Custom short code")
4040
label: Optional[StrictStr] = Field(default=None, description="Label")
41-
: Optional[Annotated[List[StrictStr], Field(max_length=3)]] = Field(default=None, description="Tags")
41+
tags: Optional[Annotated[List[StrictStr], Field(max_length=3)]] = Field(default=None, description="Tags")
4242
password: Optional[StrictStr] = Field(default=None, description="Password")
4343
qrcode: Optional[CreateLinkRequestQrcode] = None
4444
utm: Optional[GetLink200ResponseUtm] = None
@@ -47,7 +47,7 @@ class CreateLinkRequest(BaseModel):
4747
expired_at: Optional[datetime] = Field(default=None, description="Scheduled expiration date")
4848
expired_url: Optional[StrictStr] = Field(default=None, description="Expiration URL")
4949
delete_after_expiration: Optional[StrictBool] = Field(default=False, description="Whether or not to remove the link after the expiry date")
50-
__properties: ClassVar[List[str]] = ["url", "team_id", "folder_id", "domain", "code", "label", "", "password", "qrcode", "utm", "metatag", "delete_at", "expired_at", "expired_url", "delete_after_expiration"]
50+
__properties: ClassVar[List[str]] = ["url", "team_id", "folder_id", "domain", "code", "label", "tags", "password", "qrcode", "utm", "metatag", "delete_at", "expired_at", "expired_url", "delete_after_expiration"]
5151

5252
@field_validator('code')
5353
def code_validate_regular_expression(cls, value):
@@ -125,7 +125,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
125125
"domain": obj.get("domain"),
126126
"code": obj.get("code"),
127127
"label": obj.get("label"),
128-
"": obj.get(""),
128+
"tags": obj.get("tags"),
129129
"password": obj.get("password"),
130130
"qrcode": CreateLinkRequestQrcode.from_dict(obj["qrcode"]) if obj.get("qrcode") is not None else None,
131131
"utm": GetLink200ResponseUtm.from_dict(obj["utm"]) if obj.get("utm") is not None else None,

0 commit comments

Comments
 (0)