Skip to content

Commit

Permalink
Undo local pre-commit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahStapp authored Jul 13, 2023
1 parent 3c42e78 commit a2ff011
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions bindings/python/pymongoarrow/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@
from pymongo.common import MAX_WRITE_BATCH_SIZE
from pymongoarrow.context import PyMongoArrowContext
from pymongoarrow.errors import ArrowWriteError
from pymongoarrow.lib import process_bson_stream
from pymongoarrow.result import ArrowWriteResult
from pymongoarrow.schema import Schema
from pymongoarrow.types import _validate_schema, get_numpy_type

from pymongoarrow.lib import process_bson_stream

__all__ = [
"aggregate_arrow_all",
"find_arrow_all",
Expand Down
3 changes: 1 addition & 2 deletions bindings/python/pymongoarrow/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
# limitations under the License.
from bson.codec_options import DEFAULT_CODEC_OPTIONS
from pyarrow import Table, timestamp
from pymongoarrow.types import _BsonArrowTypes, _get_internal_typemap

from pymongoarrow.lib import (
BinaryBuilder,
BoolBuilder,
Expand All @@ -29,6 +27,7 @@
ObjectIdBuilder,
StringBuilder,
)
from pymongoarrow.types import _BsonArrowTypes, _get_internal_typemap

_TYPE_TO_BUILDER_CLS = {
_BsonArrowTypes.int32: Int32Builder,
Expand Down
3 changes: 1 addition & 2 deletions bindings/python/test/test_bson.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@
import pyarrow as pa
from bson import Decimal128, Int64, InvalidBSON, encode
from pymongoarrow.context import PyMongoArrowContext
from pymongoarrow.lib import process_bson_stream
from pymongoarrow.schema import Schema
from pymongoarrow.types import ObjectId, ObjectIdType, int64, string

from pymongoarrow.lib import process_bson_stream


class TestBsonToArrowConversionBase(TestCase):
def setUp(self):
Expand Down
3 changes: 1 addition & 2 deletions bindings/python/test/test_builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

from bson import Binary, Code, Decimal128, ObjectId
from pyarrow import Array, bool_, field, int32, int64, list_, struct, timestamp
from pymongoarrow.types import ObjectIdType

from pymongoarrow.lib import (
BinaryBuilder,
BoolBuilder,
Expand All @@ -33,6 +31,7 @@
ObjectIdBuilder,
StringBuilder,
)
from pymongoarrow.types import ObjectIdType


class IntBuildersTestMixin:
Expand Down

0 comments on commit a2ff011

Please sign in to comment.