Skip to content

Commit

Permalink
fix: allow importing from_table_to_db
Browse files Browse the repository at this point in the history
  • Loading branch information
pacman82 committed Apr 3, 2023
1 parent 743dddf commit 57e15c0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/arrow_odbc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .error import Error
from .reader import BatchReader, read_arrow_batches_from_odbc
from .writer import BatchWriter, insert_into_table
from .writer import BatchWriter, insert_into_table, from_table_to_db

__all__ = [
"BatchReader",
Expand Down
8 changes: 6 additions & 2 deletions tests/test_arrow_odbc.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@

from pytest import raises

from arrow_odbc import read_arrow_batches_from_odbc, Error
from arrow_odbc.writer import insert_into_table, from_table_to_db
from arrow_odbc import (
insert_into_table,
from_table_to_db,
read_arrow_batches_from_odbc,
Error,
)

MSSQL = "Driver={ODBC Driver 17 for SQL Server};Server=localhost;UID=SA;PWD=My@Test@Password1;"

Expand Down

0 comments on commit 57e15c0

Please sign in to comment.