Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
Pool creation uses explicit url with removed query params
  • Loading branch information
euri10 committed Jul 23, 2019
1 parent 54d8d33 commit c341a77
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion databases/backends/postgres.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import logging
import typing
from collections.abc import Mapping
from urllib.parse import urlparse

import asyncpg
from sqlalchemy.dialects.postgresql import pypostgresql
Expand Down
2 changes: 1 addition & 1 deletion tests/test_connection_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from databases import Database
from databases.backends.mysql import MySQLBackend
from databases.backends.postgres import PostgresBackend
from tests.test_databases import async_adapter, DATABASE_URLS
from tests.test_databases import DATABASE_URLS, async_adapter

POSTGRES_URLS = [url for url in DATABASE_URLS if urlparse(url).scheme == "postgresql"]

Expand Down

0 comments on commit c341a77

Please sign in to comment.