Skip to content

Commit c60ef1d

Browse files
Merge commit '5bd7d6ecb9fb1ad5fc3635169cebe2499405d8ac' into ruff-pylint
2 parents 20a73b4 + 5bd7d6e commit c60ef1d

133 files changed

Lines changed: 201 additions & 1428 deletions

File tree

Some content is hidden

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

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Run PyInstaller
2828
run: pyinstaller --name bl --onefile --copy-metadata binarylane-cli --collect-submodules binarylane src/binarylane/console/__main__.py
2929

30-
- uses: actions/upload-artifact@v3
30+
- uses: actions/upload-artifact@v4
3131
with:
3232
name: windows
3333
path: dist/*

.github/workflows/checks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ jobs:
5858
- name: Run ruff
5959
run: poetry run task ruff
6060

61+
- name: Run ruff
62+
run: poetry run task ruff
63+
6164
- name: Run pytest
6265
run: poetry run task test
6366
env:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## v0.17.0 (2025-02-12)
4+
5+
- update to API 0.28.0 (#47)
6+
37
## v0.16.0 (2023-04-21)
48

59
### Features

lib/binarylane/api/domains/delete_v2_domains_domain_name.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
def _get_kwargs(
15-
domain_name: str,
15+
domain_name: Union[int, str],
1616
*,
1717
client: Client,
1818
) -> Dict[str, Any]:
@@ -57,14 +57,14 @@ def _build_response(*, client: Client, response: httpx.Response) -> Response[Uni
5757

5858

5959
def sync_detailed(
60-
domain_name: str,
60+
domain_name: Union[int, str],
6161
*,
6262
client: Client,
6363
) -> Response[Union[Any, ProblemDetails]]:
6464
"""Delete an Existing Domain
6565
6666
Args:
67-
domain_name (str): The name of the domain to delete.
67+
domain_name (Union[int, str]): The name or domain ID of the domain to delete. Example: 5.
6868
6969
Raises:
7070
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -88,14 +88,14 @@ def sync_detailed(
8888

8989

9090
def sync(
91-
domain_name: str,
91+
domain_name: Union[int, str],
9292
*,
9393
client: Client,
9494
) -> Optional[Union[Any, ProblemDetails]]:
9595
"""Delete an Existing Domain
9696
9797
Args:
98-
domain_name (str): The name of the domain to delete.
98+
domain_name (Union[int, str]): The name or domain ID of the domain to delete. Example: 5.
9999
100100
Raises:
101101
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -112,14 +112,14 @@ def sync(
112112

113113

114114
async def asyncio_detailed(
115-
domain_name: str,
115+
domain_name: Union[int, str],
116116
*,
117117
client: Client,
118118
) -> Response[Union[Any, ProblemDetails]]:
119119
"""Delete an Existing Domain
120120
121121
Args:
122-
domain_name (str): The name of the domain to delete.
122+
domain_name (Union[int, str]): The name or domain ID of the domain to delete. Example: 5.
123123
124124
Raises:
125125
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -141,14 +141,14 @@ async def asyncio_detailed(
141141

142142

143143
async def asyncio(
144-
domain_name: str,
144+
domain_name: Union[int, str],
145145
*,
146146
client: Client,
147147
) -> Optional[Union[Any, ProblemDetails]]:
148148
"""Delete an Existing Domain
149149
150150
Args:
151-
domain_name (str): The name of the domain to delete.
151+
domain_name (Union[int, str]): The name or domain ID of the domain to delete. Example: 5.
152152
153153
Raises:
154154
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

lib/binarylane/api/domains/delete_v2_domains_domain_name_records_record_id.py

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
def _get_kwargs(
15-
domain_name: str,
15+
domain_name: Union[int, str],
1616
record_id: int,
1717
*,
1818
client: Client,
@@ -60,15 +60,16 @@ def _build_response(*, client: Client, response: httpx.Response) -> Response[Uni
6060

6161

6262
def sync_detailed(
63-
domain_name: str,
63+
domain_name: Union[int, str],
6464
record_id: int,
6565
*,
6666
client: Client,
6767
) -> Response[Union[Any, ProblemDetails]]:
6868
"""Delete an Existing Domain Record
6969
7070
Args:
71-
domain_name (str): The domain name for which the record should be deleted.
71+
domain_name (Union[int, str]): The domain name or domain ID for which the record should be
72+
deleted. Example: 5.
7273
record_id (int): The ID of the record to delete.
7374
7475
Raises:
@@ -94,15 +95,16 @@ def sync_detailed(
9495

9596

9697
def sync(
97-
domain_name: str,
98+
domain_name: Union[int, str],
9899
record_id: int,
99100
*,
100101
client: Client,
101102
) -> Optional[Union[Any, ProblemDetails]]:
102103
"""Delete an Existing Domain Record
103104
104105
Args:
105-
domain_name (str): The domain name for which the record should be deleted.
106+
domain_name (Union[int, str]): The domain name or domain ID for which the record should be
107+
deleted. Example: 5.
106108
record_id (int): The ID of the record to delete.
107109
108110
Raises:
@@ -121,15 +123,16 @@ def sync(
121123

122124

123125
async def asyncio_detailed(
124-
domain_name: str,
126+
domain_name: Union[int, str],
125127
record_id: int,
126128
*,
127129
client: Client,
128130
) -> Response[Union[Any, ProblemDetails]]:
129131
"""Delete an Existing Domain Record
130132
131133
Args:
132-
domain_name (str): The domain name for which the record should be deleted.
134+
domain_name (Union[int, str]): The domain name or domain ID for which the record should be
135+
deleted. Example: 5.
133136
record_id (int): The ID of the record to delete.
134137
135138
Raises:
@@ -153,15 +156,16 @@ async def asyncio_detailed(
153156

154157

155158
async def asyncio(
156-
domain_name: str,
159+
domain_name: Union[int, str],
157160
record_id: int,
158161
*,
159162
client: Client,
160163
) -> Optional[Union[Any, ProblemDetails]]:
161164
"""Delete an Existing Domain Record
162165
163166
Args:
164-
domain_name (str): The domain name for which the record should be deleted.
167+
domain_name (Union[int, str]): The domain name or domain ID for which the record should be
168+
deleted. Example: 5.
165169
record_id (int): The ID of the record to delete.
166170
167171
Raises:

lib/binarylane/api/domains/get_v2_domains_domain_name.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
def _get_kwargs(
16-
domain_name: str,
16+
domain_name: Union[int, str],
1717
*,
1818
client: Client,
1919
) -> Dict[str, Any]:
@@ -63,14 +63,14 @@ def _build_response(
6363

6464

6565
def sync_detailed(
66-
domain_name: str,
66+
domain_name: Union[int, str],
6767
*,
6868
client: Client,
6969
) -> Response[Union[Any, DomainResponse, ProblemDetails]]:
7070
"""Fetch an Existing Domain
7171
7272
Args:
73-
domain_name (str): The name of the domain to fetch.
73+
domain_name (Union[int, str]): The name or domain ID of the domain to fetch. Example: 5.
7474
7575
Raises:
7676
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -94,14 +94,14 @@ def sync_detailed(
9494

9595

9696
def sync(
97-
domain_name: str,
97+
domain_name: Union[int, str],
9898
*,
9999
client: Client,
100100
) -> Optional[Union[Any, DomainResponse, ProblemDetails]]:
101101
"""Fetch an Existing Domain
102102
103103
Args:
104-
domain_name (str): The name of the domain to fetch.
104+
domain_name (Union[int, str]): The name or domain ID of the domain to fetch. Example: 5.
105105
106106
Raises:
107107
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -118,14 +118,14 @@ def sync(
118118

119119

120120
async def asyncio_detailed(
121-
domain_name: str,
121+
domain_name: Union[int, str],
122122
*,
123123
client: Client,
124124
) -> Response[Union[Any, DomainResponse, ProblemDetails]]:
125125
"""Fetch an Existing Domain
126126
127127
Args:
128-
domain_name (str): The name of the domain to fetch.
128+
domain_name (Union[int, str]): The name or domain ID of the domain to fetch. Example: 5.
129129
130130
Raises:
131131
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -147,14 +147,14 @@ async def asyncio_detailed(
147147

148148

149149
async def asyncio(
150-
domain_name: str,
150+
domain_name: Union[int, str],
151151
*,
152152
client: Client,
153153
) -> Optional[Union[Any, DomainResponse, ProblemDetails]]:
154154
"""Fetch an Existing Domain
155155
156156
Args:
157-
domain_name (str): The name of the domain to fetch.
157+
domain_name (Union[int, str]): The name or domain ID of the domain to fetch. Example: 5.
158158
159159
Raises:
160160
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

lib/binarylane/api/domains/get_v2_domains_domain_name_records.py

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
def _get_kwargs(
17-
domain_name: str,
17+
domain_name: Union[int, str],
1818
*,
1919
client: Client,
2020
type: Union[Unset, None, DomainRecordType] = UNSET,
@@ -84,7 +84,7 @@ def _build_response(
8484

8585

8686
def sync_detailed(
87-
domain_name: str,
87+
domain_name: Union[int, str],
8888
*,
8989
client: Client,
9090
type: Union[Unset, None, DomainRecordType] = UNSET,
@@ -95,7 +95,8 @@ def sync_detailed(
9595
"""List All Domain Records for a Domain
9696
9797
Args:
98-
domain_name (str): The domain name for which records should be listed.
98+
domain_name (Union[int, str]): The domain name or domain ID for for which records should
99+
be listed. Example: 5.
99100
type (Union[Unset, None, DomainRecordType]):
100101
| Value | Description |
101102
| ----- | ----------- |
@@ -140,7 +141,7 @@ def sync_detailed(
140141

141142

142143
def sync(
143-
domain_name: str,
144+
domain_name: Union[int, str],
144145
*,
145146
client: Client,
146147
type: Union[Unset, None, DomainRecordType] = UNSET,
@@ -151,7 +152,8 @@ def sync(
151152
"""List All Domain Records for a Domain
152153
153154
Args:
154-
domain_name (str): The domain name for which records should be listed.
155+
domain_name (Union[int, str]): The domain name or domain ID for for which records should
156+
be listed. Example: 5.
155157
type (Union[Unset, None, DomainRecordType]):
156158
| Value | Description |
157159
| ----- | ----------- |
@@ -189,7 +191,7 @@ def sync(
189191

190192

191193
async def asyncio_detailed(
192-
domain_name: str,
194+
domain_name: Union[int, str],
193195
*,
194196
client: Client,
195197
type: Union[Unset, None, DomainRecordType] = UNSET,
@@ -200,7 +202,8 @@ async def asyncio_detailed(
200202
"""List All Domain Records for a Domain
201203
202204
Args:
203-
domain_name (str): The domain name for which records should be listed.
205+
domain_name (Union[int, str]): The domain name or domain ID for for which records should
206+
be listed. Example: 5.
204207
type (Union[Unset, None, DomainRecordType]):
205208
| Value | Description |
206209
| ----- | ----------- |
@@ -243,7 +246,7 @@ async def asyncio_detailed(
243246

244247

245248
async def asyncio(
246-
domain_name: str,
249+
domain_name: Union[int, str],
247250
*,
248251
client: Client,
249252
type: Union[Unset, None, DomainRecordType] = UNSET,
@@ -254,7 +257,8 @@ async def asyncio(
254257
"""List All Domain Records for a Domain
255258
256259
Args:
257-
domain_name (str): The domain name for which records should be listed.
260+
domain_name (Union[int, str]): The domain name or domain ID for for which records should
261+
be listed. Example: 5.
258262
type (Union[Unset, None, DomainRecordType]):
259263
| Value | Description |
260264
| ----- | ----------- |

0 commit comments

Comments
 (0)