risclog.sqlalchemy 7.0__tar.gz → 7.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/CHANGES.rst +12 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/PKG-INFO +13 -1
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/setup.py +1 -1
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/db.py +2 -2
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/serializer.py +1 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog.sqlalchemy.egg-info/PKG-INFO +13 -1
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/COPYRIGHT.rst +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/HACKING.rst +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/LICENSE.txt +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/README.rst +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/doc/about.txt +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/doc/api.txt +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/doc/changes.txt +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/doc/conf.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/doc/index.txt +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/pyproject.toml +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/requirements.txt +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/setup.cfg +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/__init__.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/__init__.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/cache.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/fixtures.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/functions.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/interfaces.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/model.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/testing.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/testlayer.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/tests/__init__.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/tests/conftest.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/tests/fixtures/alembic/env.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/tests/fixtures/alembic/script.py.mako +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/tests/fixtures/alembic/versions/3f735078d5a8_foo.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/tests/test_cache.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/tests/test_db.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/tests/test_fixtures.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/tests/test_model.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/tests/test_serializer.py +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog.sqlalchemy.egg-info/SOURCES.txt +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog.sqlalchemy.egg-info/dependency_links.txt +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog.sqlalchemy.egg-info/namespace_packages.txt +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog.sqlalchemy.egg-info/not-zip-safe +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog.sqlalchemy.egg-info/requires.txt +0 -0
- {risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog.sqlalchemy.egg-info/top_level.txt +0 -0
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
Change log for risclog.sqlalchemy
|
|
3
3
|
=================================
|
|
4
4
|
|
|
5
|
+
7.2 (2024-04-19)
|
|
6
|
+
================
|
|
7
|
+
|
|
8
|
+
- Add json encoder for `datetime.time` objects.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
7.1 (2024-03-22)
|
|
12
|
+
================
|
|
13
|
+
|
|
14
|
+
- Fix `sqlalchemy` 1.3 compatibility in `Database.empty()`.
|
|
15
|
+
|
|
16
|
+
|
|
5
17
|
7.0 (2024-03-21)
|
|
6
18
|
================
|
|
7
19
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: risclog.sqlalchemy
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.2
|
|
4
4
|
Summary: Encapsulate sqlalchemy modelling infrastructure.
|
|
5
5
|
Home-page: https://github.com/gocept/risclog.sqlalchemy
|
|
6
6
|
Author: gocept <mail@gocept.com>
|
|
@@ -106,6 +106,18 @@ python, where ``sphinx-pypi-upload`` is installed::
|
|
|
106
106
|
Change log for risclog.sqlalchemy
|
|
107
107
|
=================================
|
|
108
108
|
|
|
109
|
+
7.2 (2024-04-19)
|
|
110
|
+
================
|
|
111
|
+
|
|
112
|
+
- Add json encoder for `datetime.time` objects.
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
7.1 (2024-03-22)
|
|
116
|
+
================
|
|
117
|
+
|
|
118
|
+
- Fix `sqlalchemy` 1.3 compatibility in `Database.empty()`.
|
|
119
|
+
|
|
120
|
+
|
|
109
121
|
7.0 (2024-03-21)
|
|
110
122
|
================
|
|
111
123
|
|
|
@@ -334,13 +334,13 @@ class Database:
|
|
|
334
334
|
if not table_names:
|
|
335
335
|
return
|
|
336
336
|
tables = ', '.join('"%s"' % x for x in table_names)
|
|
337
|
-
self.session.
|
|
337
|
+
self.session._bound_execute(
|
|
338
|
+
engine,
|
|
338
339
|
'TRUNCATE {} {} {}'.format(
|
|
339
340
|
tables,
|
|
340
341
|
'RESTART IDENTITY' if restart_sequences else '',
|
|
341
342
|
'CASCADE' if cascade else '',
|
|
342
343
|
),
|
|
343
|
-
bind_arguments={'bind': engine},
|
|
344
344
|
)
|
|
345
345
|
zope.sqlalchemy.mark_changed(self.session)
|
|
346
346
|
if commit:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: risclog.sqlalchemy
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.2
|
|
4
4
|
Summary: Encapsulate sqlalchemy modelling infrastructure.
|
|
5
5
|
Home-page: https://github.com/gocept/risclog.sqlalchemy
|
|
6
6
|
Author: gocept <mail@gocept.com>
|
|
@@ -106,6 +106,18 @@ python, where ``sphinx-pypi-upload`` is installed::
|
|
|
106
106
|
Change log for risclog.sqlalchemy
|
|
107
107
|
=================================
|
|
108
108
|
|
|
109
|
+
7.2 (2024-04-19)
|
|
110
|
+
================
|
|
111
|
+
|
|
112
|
+
- Add json encoder for `datetime.time` objects.
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
7.1 (2024-03-22)
|
|
116
|
+
================
|
|
117
|
+
|
|
118
|
+
- Fix `sqlalchemy` 1.3 compatibility in `Database.empty()`.
|
|
119
|
+
|
|
120
|
+
|
|
109
121
|
7.0 (2024-03-21)
|
|
110
122
|
================
|
|
111
123
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/tests/test_cache.py
RENAMED
|
File without changes
|
|
File without changes
|
{risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/tests/test_fixtures.py
RENAMED
|
File without changes
|
{risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/tests/test_model.py
RENAMED
|
File without changes
|
{risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog/sqlalchemy/tests/test_serializer.py
RENAMED
|
File without changes
|
{risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog.sqlalchemy.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog.sqlalchemy.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog.sqlalchemy.egg-info/requires.txt
RENAMED
|
File without changes
|
{risclog.sqlalchemy-7.0 → risclog.sqlalchemy-7.2}/src/risclog.sqlalchemy.egg-info/top_level.txt
RENAMED
|
File without changes
|