Skip to content

Commit 1f490d3

Browse files
authored
Merge pull request #118 from dapper91/dev
- aiohttp integration specification wrong path bug fixed.
2 parents f09e767 + 4bd7a02 commit 1f490d3

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
=========
33

4+
1.12.2 (2025-01-15)
5+
------------------
6+
7+
- aiohttp integration specification wrong path bug fixed.
8+
9+
410
1.12.1 (2024-12-20)
511
------------------
612

pjrpc/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
__description__ = 'Extensible JSON-RPC library'
33
__url__ = 'https://github.com/dapper91/pjrpc'
44

5-
__version__ = '1.12.1'
5+
__version__ = '1.12.2'
66

77
__author__ = 'Dmitry Pershin'
88
__email__ = '[email protected]'

pjrpc/server/integration/aiohttp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def add_subapp(self, prefix: str, subapp: 'Application') -> None:
8989
"""
9090

9191
prefix = prefix.rstrip('/')
92-
self._endpoints[prefix] = subapp.dispatcher
92+
self._endpoints[utils.join_path(prefix, subapp._path)] = subapp.dispatcher
9393
self._app.add_subapp(utils.join_path(self._path, prefix), subapp.app)
9494

9595
def add_endpoint(

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pjrpc"
3-
version = "1.12.1"
3+
version = "1.12.2"
44
description = "Extensible JSON-RPC library"
55
authors = ["Dmitry Pershin <[email protected]>"]
66
license = "Unlicense"
@@ -89,7 +89,7 @@ pytest-aiohttp = "^1.0.4"
8989
pytest-cov = "^4.1.0"
9090
pytest-mock = "^3.11.1"
9191
responses = "^0.23.3"
92-
respx = "^0.20.2"
92+
respx = "^0.22.0"
9393
mypy = "^1.7.1"
9494
pre-commit = "~3.2.0"
9595
types-jsonschema = "^4.23.0.20240813"

0 commit comments

Comments
 (0)