You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2021/06/02 03:05:56 UTC
[GitHub] [beam] chamikaramj commented on pull request #14460: [BEAM-12119] [BEAM-12122] Add integer and string `_id` keys support to Python IO MongoDB
chamikaramj commented on pull request #14460:
URL: https://github.com/apache/beam/pull/14460#issuecomment-852678937
Lint error seems to be related.
+++ /home/jenkins/jenkins-slave/workspace/beam_PreCommit_PythonLint_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/io/mongodbio_test.py:after 2021-06-01 06:57:54.262234
23:57:57 @@ -18,14 +18,16 @@
23:57:57
23:57:57 import datetime
23:57:57 import logging
23:57:57 +import math
23:57:57 import random
23:57:57 import unittest
23:57:57 -from typing import Union, Optional
23:57:57 +from typing import Optional
23:57:57 +from typing import Union
23:57:57 from unittest import TestCase
23:57:57
23:57:57 -import math
23:57:57 import mock
23:57:57 -from bson import objectid, ObjectId
23:57:57 +from bson import ObjectId
23:57:57 +from bson import objectid
23:57:57 from parameterized import parameterized_class
23:57:57 from pymongo import ASCENDING
23:57:57 from pymongo import ReplaceOne
23:57:57 ERROR: /home/jenkins/jenkins-slave/workspace/beam_PreCommit_PythonLint_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/io/mongodbio.py Imports are incorrectly sorted.
23:57:57 --- /home/jenkins/jenkins-slave/workspace/beam_PreCommit_PythonLint_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/io/mongodbio.py:before 2021-06-01 06:56:03.323051
23:57:57 +++ /home/jenkins/jenkins-slave/workspace/beam_PreCommit_PythonLint_Commit/src/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/io/mongodbio.py:after 2021-06-01 06:57:54.329077
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org