Skip to content

Commit

Permalink
chore: run code formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
olavloite committed Dec 2, 2024
1 parent 5071e3d commit 6ddad5f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
18 changes: 14 additions & 4 deletions test/mockserver_tests/test_float32.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,25 @@
from google.cloud.spanner_admin_database_v1 import UpdateDatabaseDdlRequest
from sqlalchemy import create_engine, select, MetaData, Table, Column, Integer, String
from sqlalchemy.orm import Session
from sqlalchemy.testing import eq_, is_instance_of, is_not_none, is_none, \
is_false, is_true
from sqlalchemy.testing import (
eq_,
is_instance_of,
is_not_none,
is_none,
is_false,
is_true,
)
from google.cloud.spanner_v1 import (
FixedSizePool,
BatchCreateSessionsRequest,
ExecuteSqlRequest,
ResultSet,
PingingPool, ResultSetStats, BeginTransactionRequest,
ExecuteBatchDmlRequest, CommitRequest, TypeCode,
PingingPool,
ResultSetStats,
BeginTransactionRequest,
ExecuteBatchDmlRequest,
CommitRequest,
TypeCode,
)
from test.mockserver_tests.mock_server_test_base import (
MockServerTestBase,
Expand Down
7 changes: 5 additions & 2 deletions test/system/test_basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
String,
Index,
MetaData,
Boolean, BIGINT,
Boolean,
BIGINT,
)
from sqlalchemy.orm import Session, DeclarativeBase, Mapped, mapped_column
from sqlalchemy.types import REAL
Expand Down Expand Up @@ -103,6 +104,8 @@ class Number(Base):

engine = connection.engine
with Session(engine) as session:
number = Number(number=1, name="One", alternative_name="Uno", prime=False, ln=0.0)
number = Number(
number=1, name="One", alternative_name="Uno", prime=False, ln=0.0
)
session.add(number)
session.commit()

0 comments on commit 6ddad5f

Please sign in to comment.