sqlalchemy-spanner 1.20.0__tar.gz → 1.20.1__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.
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/PKG-INFO +2 -2
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/README.rst +1 -1
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/google/cloud/sqlalchemy_spanner/version.py +1 -1
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/sqlalchemy_spanner.egg-info/PKG-INFO +2 -2
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/tests/test_suite_14.py +8 -8
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/LICENSE +0 -0
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/google/cloud/sqlalchemy_spanner/__init__.py +0 -0
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/google/cloud/sqlalchemy_spanner/_opentelemetry_tracing.py +0 -0
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/google/cloud/sqlalchemy_spanner/dml.py +0 -0
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/google/cloud/sqlalchemy_spanner/provision.py +0 -0
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/google/cloud/sqlalchemy_spanner/requirements.py +0 -0
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/google/cloud/sqlalchemy_spanner/sqlalchemy_spanner.py +0 -0
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/setup.cfg +0 -0
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/setup.py +0 -0
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/sqlalchemy_spanner.egg-info/SOURCES.txt +0 -0
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/sqlalchemy_spanner.egg-info/dependency_links.txt +0 -0
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/sqlalchemy_spanner.egg-info/entry_points.txt +0 -0
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/sqlalchemy_spanner.egg-info/not-zip-safe +0 -0
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/sqlalchemy_spanner.egg-info/requires.txt +0 -0
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/sqlalchemy_spanner.egg-info/top_level.txt +0 -0
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/tests/test_suite_13.py +0 -0
- {sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/tests/test_suite_20.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sqlalchemy-spanner
|
|
3
|
-
Version: 1.20.
|
|
3
|
+
Version: 1.20.1
|
|
4
4
|
Summary: SQLAlchemy dialect integrated into Cloud Spanner database
|
|
5
5
|
Home-page: https://github.com/cloudspannerecosystem/python-spanner-sqlalchemy
|
|
6
6
|
Author: Google LLC
|
|
@@ -40,7 +40,7 @@ Spanner dialect for SQLAlchemy
|
|
|
40
40
|
Spanner dialect for SQLAlchemy represents an interface API designed to
|
|
41
41
|
make it possible to control Cloud Spanner databases with SQLAlchemy API.
|
|
42
42
|
The dialect is built on top of `the Spanner DB
|
|
43
|
-
API <https://github.com/googleapis/python
|
|
43
|
+
API <https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-spanner/google/cloud/spanner_dbapi>`__,
|
|
44
44
|
which is designed in accordance with
|
|
45
45
|
`PEP-249 <https://www.python.org/dev/peps/pep-0249/>`__.
|
|
46
46
|
|
|
@@ -4,7 +4,7 @@ Spanner dialect for SQLAlchemy
|
|
|
4
4
|
Spanner dialect for SQLAlchemy represents an interface API designed to
|
|
5
5
|
make it possible to control Cloud Spanner databases with SQLAlchemy API.
|
|
6
6
|
The dialect is built on top of `the Spanner DB
|
|
7
|
-
API <https://github.com/googleapis/python
|
|
7
|
+
API <https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-spanner/google/cloud/spanner_dbapi>`__,
|
|
8
8
|
which is designed in accordance with
|
|
9
9
|
`PEP-249 <https://www.python.org/dev/peps/pep-0249/>`__.
|
|
10
10
|
|
{sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/sqlalchemy_spanner.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sqlalchemy-spanner
|
|
3
|
-
Version: 1.20.
|
|
3
|
+
Version: 1.20.1
|
|
4
4
|
Summary: SQLAlchemy dialect integrated into Cloud Spanner database
|
|
5
5
|
Home-page: https://github.com/cloudspannerecosystem/python-spanner-sqlalchemy
|
|
6
6
|
Author: Google LLC
|
|
@@ -40,7 +40,7 @@ Spanner dialect for SQLAlchemy
|
|
|
40
40
|
Spanner dialect for SQLAlchemy represents an interface API designed to
|
|
41
41
|
make it possible to control Cloud Spanner databases with SQLAlchemy API.
|
|
42
42
|
The dialect is built on top of `the Spanner DB
|
|
43
|
-
API <https://github.com/googleapis/python
|
|
43
|
+
API <https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-spanner/google/cloud/spanner_dbapi>`__,
|
|
44
44
|
which is designed in accordance with
|
|
45
45
|
`PEP-249 <https://www.python.org/dev/peps/pep-0249/>`__.
|
|
46
46
|
|
|
@@ -25,9 +25,7 @@ from unittest import mock
|
|
|
25
25
|
import pytest
|
|
26
26
|
import sqlalchemy
|
|
27
27
|
from google.api_core.datetime_helpers import DatetimeWithNanoseconds
|
|
28
|
-
from google.cloud import spanner_dbapi
|
|
29
28
|
from google.cloud.spanner_v1 import Client, RequestOptions
|
|
30
|
-
from google.cloud.sqlalchemy_spanner import version as sqlalchemy_spanner_version
|
|
31
29
|
from sqlalchemy import (
|
|
32
30
|
FLOAT,
|
|
33
31
|
Boolean,
|
|
@@ -206,6 +204,8 @@ from sqlalchemy.testing.suite.test_update_delete import (
|
|
|
206
204
|
)
|
|
207
205
|
from sqlalchemy.types import Integer, Numeric, Text
|
|
208
206
|
|
|
207
|
+
from google.cloud import spanner_dbapi
|
|
208
|
+
from google.cloud.sqlalchemy_spanner import version as sqlalchemy_spanner_version
|
|
209
209
|
from tests._helpers import get_db_url, get_project
|
|
210
210
|
|
|
211
211
|
config.test_schema = ""
|
|
@@ -1576,7 +1576,7 @@ class NumericTest(_NumericTest):
|
|
|
1576
1576
|
return run
|
|
1577
1577
|
|
|
1578
1578
|
@emits_warning(r".*does \*not\* support Decimal objects natively")
|
|
1579
|
-
def test_render_literal_numeric(self,
|
|
1579
|
+
def test_render_literal_numeric(self, literal_round_trip_spanner):
|
|
1580
1580
|
"""
|
|
1581
1581
|
SPANNER OVERRIDE:
|
|
1582
1582
|
|
|
@@ -1585,14 +1585,14 @@ class NumericTest(_NumericTest):
|
|
|
1585
1585
|
following insertions will fail with `Row [] already exists".
|
|
1586
1586
|
Overriding the test to avoid the same failure.
|
|
1587
1587
|
"""
|
|
1588
|
-
|
|
1588
|
+
literal_round_trip_spanner(
|
|
1589
1589
|
Numeric(precision=8, scale=4),
|
|
1590
1590
|
[decimal.Decimal("15.7563")],
|
|
1591
1591
|
[decimal.Decimal("15.7563")],
|
|
1592
1592
|
)
|
|
1593
1593
|
|
|
1594
1594
|
@emits_warning(r".*does \*not\* support Decimal objects natively")
|
|
1595
|
-
def test_render_literal_numeric_asfloat(self,
|
|
1595
|
+
def test_render_literal_numeric_asfloat(self, literal_round_trip_spanner):
|
|
1596
1596
|
"""
|
|
1597
1597
|
SPANNER OVERRIDE:
|
|
1598
1598
|
|
|
@@ -1601,13 +1601,13 @@ class NumericTest(_NumericTest):
|
|
|
1601
1601
|
following insertions will fail with `Row [] already exists".
|
|
1602
1602
|
Overriding the test to avoid the same failure.
|
|
1603
1603
|
"""
|
|
1604
|
-
|
|
1604
|
+
literal_round_trip_spanner(
|
|
1605
1605
|
Numeric(precision=8, scale=4, asdecimal=False),
|
|
1606
1606
|
[decimal.Decimal("15.7563")],
|
|
1607
1607
|
[15.7563],
|
|
1608
1608
|
)
|
|
1609
1609
|
|
|
1610
|
-
def test_render_literal_float(self,
|
|
1610
|
+
def test_render_literal_float(self, literal_round_trip_spanner):
|
|
1611
1611
|
"""
|
|
1612
1612
|
SPANNER OVERRIDE:
|
|
1613
1613
|
|
|
@@ -1616,7 +1616,7 @@ class NumericTest(_NumericTest):
|
|
|
1616
1616
|
following insertions will fail with `Row [] already exists".
|
|
1617
1617
|
Overriding the test to avoid the same failure.
|
|
1618
1618
|
"""
|
|
1619
|
-
|
|
1619
|
+
literal_round_trip_spanner(
|
|
1620
1620
|
Float(4),
|
|
1621
1621
|
[decimal.Decimal("15.7563")],
|
|
1622
1622
|
[15.7563],
|
|
File without changes
|
{sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/google/cloud/sqlalchemy_spanner/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/google/cloud/sqlalchemy_spanner/dml.py
RENAMED
|
File without changes
|
{sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/google/cloud/sqlalchemy_spanner/provision.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/sqlalchemy_spanner.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/sqlalchemy_spanner.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/sqlalchemy_spanner.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/sqlalchemy_spanner.egg-info/requires.txt
RENAMED
|
File without changes
|
{sqlalchemy_spanner-1.20.0 → sqlalchemy_spanner-1.20.1}/sqlalchemy_spanner.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|