forked from catherinedevlin/ipython-sql
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ploomber:master' into running-sql-using-sparkconnect-sh…
…ould-not-print-full-stack-trace
- Loading branch information
Showing
13 changed files
with
102 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from sql.magic import load_ipython_extension | ||
|
||
|
||
__version__ = "0.10.11dev" | ||
__version__ = "0.10.13dev" | ||
|
||
|
||
__all__ = ["load_ipython_extension"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -170,6 +170,10 @@ def test_parse_connect_shovel_over_newlines(): | |
"DB_CONFIG_2", | ||
"mysql://thefin:[email protected]/dolfin", | ||
), | ||
( | ||
"DB_CONFIG_3", | ||
"sqlite://thefin:[email protected]/dolfin?color=grey&sound=squeek", | ||
), | ||
], | ||
) | ||
def test_connection_from_dsn_section(section, expected): | ||
|
@@ -192,6 +196,10 @@ def test_connection_from_dsn_section(section, expected): | |
), | ||
("DB_CONFIG_1", ""), | ||
("not-a-url", ""), | ||
( | ||
"[DB_CONFIG_3]", | ||
"sqlite://thefin:[email protected]/dolfin?color=grey&sound=squeek", | ||
), | ||
], | ||
ids=[ | ||
"empty", | ||
|
@@ -200,6 +208,7 @@ def test_connection_from_dsn_section(section, expected): | |
"section", | ||
"not-a-section", | ||
"not-a-url", | ||
"section-with-query", | ||
], | ||
) | ||
def test_connection_string(input_, expected): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters