Skip to content

Commit 361a568

Browse files
committed
Add license headers and remove unused import
1 parent fdaff60 commit 361a568

2 files changed

Lines changed: 28 additions & 1 deletion

File tree

aws_advanced_python_wrapper/sqlalchemy/mysql_orm_dialect.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License").
4+
# You may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
# aws_advanced_python_wrapper/sqlalchemy/sqlalchemy_mysqlconnector_dialect.py
2-
from psycopg import Connection
316
from sqlalchemy.dialects.mysql.mysqlconnector import MySQLDialect_mysqlconnector
417
import re
518

aws_advanced_python_wrapper/sqlalchemy/pg_orm_dialect.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License").
4+
# You may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
# aws_advanced_python_wrapper/sqlalchemy/sqlalchemy_psycopg_dialect.py
216
from psycopg import Connection
317
from sqlalchemy.dialects.postgresql.psycopg import PGDialect_psycopg

0 commit comments

Comments
 (0)