0.12.4 fix wrong imports in .sqlalchemy.quart

This commit is contained in:
Yusur 2026-03-11 13:27:37 +01:00
parent 6b3e4d5403
commit 8b60c8d94a
3 changed files with 18 additions and 4 deletions

View file

@ -1,5 +1,9 @@
# Changelog
## 0.12.4
+ Fix wrong imports in `sqlalchemy.quart` submodule
## 0.12.3
+ Replace `resource_filename()` (from deprecated pkg_resources) with API from `importlib.resources`

View file

@ -38,7 +38,7 @@ from .http import WantsContentType
from .color import OKLabColor, chalk, WebColor, RGBColor, LinearRGBColor, XYZColor, OKLCHColor
from .mat import Matrix
__version__ = "0.12.3"
__version__ = "0.12.4"
__all__ = (
'ConfigOptions', 'ConfigParserConfigSource', 'ConfigSource', 'ConfigValue',

View file

@ -1,11 +1,21 @@
"""
SQLAlchemy-Quart bindings
---
Copyright (c) 2025 Sakuragasaki46.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
See LICENSE for the specific language governing permissions and
limitations under the License.
This software is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
"""
from select import select
from flask_sqlalchemy.pagination import Pagination
from sqlalchemy import Select, func
from sqlalchemy import Select, func, select
from sqlalchemy.ext.asyncio import AsyncSession
from sqlalchemy.orm import lazyload