Skip to content

Commit 488b0f1

Browse files
committed
update dev and main packages
updated private client not to use outdated method
1 parent 95ce8e9 commit 488b0f1

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ repos:
1212
- id: requirements-txt-fixer
1313

1414
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: v0.11.8
15+
rev: v0.11.11
1616
hooks:
1717
- id: ruff
1818
args: [--fix, --exit-non-zero-on-fix]
1919
- id: ruff-format
2020

2121
- repo: https://github.com/RobertCraigie/pyright-python
22-
rev: v1.1.400
22+
rev: v1.1.401
2323
hooks:
2424
- id: pyright

aiowhitebit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
"""
66

77
# Version information
8-
__version__ = "0.2.1"
8+
__version__ = "0.2.2"

aiowhitebit/clients/private/v4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ async def create_base_orders(
184184
"""
185185
request_path = path
186186
full_url = self.request_url(request_path)
187-
data = data_model.dict(exclude_none=True)
187+
data = data_model.model_dump(exclude_none=True)
188188
data.update({"request": request_path, "nonce": self.gen_nonce()})
189189
data_json = json.dumps(data, separators=(",", ":")) # use separators param for deleting spaces
190190
self.gen_request_payload(data_json)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "aiowhitebit"
7-
version = "0.2.1" # Bumping patch version for bug fixes
7+
version = "0.2.2"
88
description = "Async Python client for WhiteBit API"
99
readme = "README.md"
1010
authors = [

requirements-dev.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
# Build tools
44
build==1.2.2
55
pre-commit==4.2.0
6-
pyright
6+
pyright==1.1.401
77

88
# Testing
99
pytest==8.3.5
10-
pytest-asyncio==0.26.0
10+
pytest-asyncio==1.0.0
1111
pytest-cov==6.1.1
1212

1313
# Code Quality
14-
ruff
14+
ruff==0.11.11
1515
twine==6.1.0

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
aiodns==3.2.0
2-
aiohttp==3.11.18
3-
multidict==6.3.2
1+
aiodns==3.4.0
2+
aiohttp==3.12.0
3+
multidict==6.4.4
44
pydantic>=2.0.0,<3.0.0
55
uvloop==0.21.0
66
websocket-client==1.8.0

0 commit comments

Comments
 (0)