Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "rslv"
version = "0.10.0"
version = "0.10.1"
description = "Provides an identifier resolver service in FastAPI."
authors = [{ name = "datadavev", email = "605409+datadavev@users.noreply.github.com" }]
requires-python = ">=3.9,<3.13"
Expand Down
11 changes: 6 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ certifi==2025.8.3
# via
# httpcore
# httpx
click==8.1.8
click==8.1.8 ; python_full_version < '3.10'
click==8.2.1 ; python_full_version >= '3.10'
colorama==0.4.6 ; sys_platform == 'win32'
# via click
exceptiongroup==1.3.0 ; python_full_version < '3.11'
# via anyio
fastapi==0.116.1
# via rslv
greenlet==3.2.3 ; platform_machine == 'AMD64' or platform_machine == 'WIN32' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'ppc64le' or platform_machine == 'win32' or platform_machine == 'x86_64'
greenlet==3.2.4 ; platform_machine == 'AMD64' or platform_machine == 'WIN32' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'ppc64le' or platform_machine == 'win32' or platform_machine == 'x86_64'
# via sqlalchemy
h11==0.16.0
# via httpcore
Expand All @@ -45,11 +46,11 @@ python-dotenv==1.1.1
# via pydantic-settings
sniffio==1.3.1
# via anyio
sqlalchemy==2.0.42
sqlalchemy==2.0.43
# via rslv
starlette==0.47.2
starlette==0.47.3
# via fastapi
typing-extensions==4.14.1
typing-extensions==4.15.0
# via
# anyio
# exceptiongroup
Expand Down
5 changes: 3 additions & 2 deletions rslv/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Set using poetry-bumpversion
__version__ = "0.9.6"
from importlib.metadata import version

__version__ = version("rslv")
24 changes: 24 additions & 0 deletions tests/test_get_request_identifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,30 @@
"has_service_url": False,
}
),
(
{
"url": "http://example.com/ark%3A/12345/foo",
"identifier": "ark%3A/12345/foo"
},
{
"original": "ark:/12345/foo",
"cleaned": "ark:/12345/foo",
"is_introspection": False,
"has_service_url": False,
}
),
(
{
"url": "http://example.com/ark%3A/22345/foo?info",
"identifier": "ark:/22345/foo?info"
},
{
"original": "ark:/22345/foo?info",
"cleaned": "ark:/22345/foo",
"is_introspection": True,
"has_service_url": False,
}
),
(
{
"url": "http://example.com/http://example.com/ark:/32345/foo",
Expand Down
Loading