Skip to content

Commit 2734251

Browse files
committed
bump xapianpy for 3.11
1 parent d016577 commit 2734251

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

poetry.lock

+14-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ readme = "README.md"
88
[tool.poetry.dependencies]
99
python = ">=3.11, <4.0"
1010
pydantic = "^2.7"
11-
xapianpy = {version = "^1.4.22.post2305071405", optional = true}
1211
requests = "^2.31.0"
12+
xapianpy = {version = "1.4.22.post2406040406", optional = true}
1313

1414
[tool.poetry.extras]
1515
xapian = ["xapianpy"]

salinic/schema_manager.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@ def get_schema_manager_backend(engine, model):
3535

3636

3737
def get_schema_manager_backend_class(engine):
38-
module_full_path = f'salinic.backends.{engine.url.scheme}.schema_manager'
38+
full_path = f'salinic.backends.{engine.url.scheme.value}.schema_manager'
39+
module_full_path = full_path
3940
module = importlib.import_module(module_full_path)
4041

4142
return module.SchemaManager
4243

4344

4445
def get_rw_client_backend_class(engine):
45-
module_full_path = f'salinic.backends.{engine.url.scheme}.client'
46+
module_full_path = f'salinic.backends.{engine.url.scheme.value}.client'
4647
module = importlib.import_module(module_full_path)
4748

4849
return module.ClientRW

0 commit comments

Comments
 (0)