This is an automated email from the ASF dual-hosted git repository.
nixon pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 6336faf ATLAS-4318 : Remove unnecessary imports from python script
(#134)
6336faf is described below
commit 6336faf3368b553c257c76e89552939b4fa5cb1a
Author: Benedict Jin <[email protected]>
AuthorDate: Fri Jun 4 13:41:30 2021 +0800
ATLAS-4318 : Remove unnecessary imports from python script (#134)
(cherry picked from commit f96a6530c09a83e4f0d6613e558c4e2e5d5f236a)
---
atlas-examples/sample-app/src/main/python/entity_example.py | 2 +-
distro/src/bin/atlas_admin.py | 2 +-
distro/src/bin/atlas_update_simple_auth_json.py | 2 +-
distro/src/bin/quick_start.py | 2 +-
distro/src/bin/quick_start_v1.py | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/atlas-examples/sample-app/src/main/python/entity_example.py
b/atlas-examples/sample-app/src/main/python/entity_example.py
index b08b675..cb2d98d 100644
--- a/atlas-examples/sample-app/src/main/python/entity_example.py
+++ b/atlas-examples/sample-app/src/main/python/entity_example.py
@@ -21,7 +21,7 @@ import json
import logging
from apache_atlas.model.enums import EntityOperation
-from apache_atlas.model.instance import AtlasEntityWithExtInfo,
EntityMutations, AtlasRelatedObjectId
+from apache_atlas.model.instance import AtlasEntityWithExtInfo,
AtlasRelatedObjectId
from apache_atlas.utils import type_coerce
diff --git a/distro/src/bin/atlas_admin.py b/distro/src/bin/atlas_admin.py
index da9a2fb..795a571 100644
--- a/distro/src/bin/atlas_admin.py
+++ b/distro/src/bin/atlas_admin.py
@@ -15,7 +15,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-import os
+
import sys
import atlas_config as mc
diff --git a/distro/src/bin/atlas_update_simple_auth_json.py
b/distro/src/bin/atlas_update_simple_auth_json.py
index 6ad5a49..11c249d 100755
--- a/distro/src/bin/atlas_update_simple_auth_json.py
+++ b/distro/src/bin/atlas_update_simple_auth_json.py
@@ -15,7 +15,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-import os
+
import sys
import atlas_config as mc
diff --git a/distro/src/bin/quick_start.py b/distro/src/bin/quick_start.py
index c375122..78517f8 100755
--- a/distro/src/bin/quick_start.py
+++ b/distro/src/bin/quick_start.py
@@ -15,7 +15,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-import os
+
import sys
import atlas_config as mc
diff --git a/distro/src/bin/quick_start_v1.py b/distro/src/bin/quick_start_v1.py
index 0dca7d7..1c5775a 100755
--- a/distro/src/bin/quick_start_v1.py
+++ b/distro/src/bin/quick_start_v1.py
@@ -15,7 +15,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-import os
+
import sys
import atlas_config as mc