Skip to content

Commit 178b6f3

Browse files
committed
rolled in more comments
1 parent 0281100 commit 178b6f3

12 files changed

+30
-12
lines changed

python/example_code/neptune/analytics/neptune_analytics_query_example.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
import boto3
25
from botocore.exceptions import ClientError, BotoCoreError
36
from botocore.config import Config

python/example_code/neptune/database/neptune_execute_gremlin_query.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
# snippet-start: [neptune.python.data.query.gremlin.profile.main]
55
import boto3
6-
import json
76
from botocore.config import Config
87
from botocore.exceptions import BotoCoreError, ClientError
98

python/example_code/neptune/tests/analytics_tests/test_create_graph.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import pytest
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
24
from unittest.mock import MagicMock
35
from botocore.exceptions import ClientError, BotoCoreError
46
from analytics.create_neptune_graph_example import execute_create_graph # Adjust import as needed

python/example_code/neptune/tests/analytics_tests/test_execute_gremlin_profile_query.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import pytest
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
24
from unittest.mock import MagicMock
35
from botocore.exceptions import ClientError
46
from analytics.neptune_analytics_query_example import run_open_cypher_query # Adjust import as needed

python/example_code/neptune/tests/database_tests/execute_gremlin_profile_query.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import pytest
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
24
from unittest.mock import MagicMock
35
from botocore.exceptions import ClientError, BotoCoreError
46
from database.neptune_execute_gremlin_query import execute_gremlin_profile_query

python/example_code/neptune/tests/database_tests/test_execute_gremlin_query.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import pytest
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
24
from unittest.mock import MagicMock
35
from botocore.exceptions import ClientError, BotoCoreError
46
from database.neptune_execute_gremlin_query import execute_gremlin_profile_query # adjust import as needed

python/example_code/neptune/tests/database_tests/test_neptune_execute_gremlin_explain_query.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
import io
2-
import pytest
35
from unittest.mock import MagicMock
46
from botocore.exceptions import ClientError, EndpointConnectionError, BotoCoreError
57

python/example_code/neptune/tests/database_tests/test_opencypher_explain_query.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import pytest
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
24
from unittest.mock import MagicMock
35
from botocore.exceptions import ClientError, BotoCoreError
46
from database.neptune_execute_open_cypher_query import execute_open_cypher_explain_query

python/example_code/neptune/tests/test_delete_db_cluster.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
import pytest
25
import boto3
36
from botocore.exceptions import ClientError

python/example_code/neptune/tests/test_describe_db_clusters.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
54
import unittest
65
from unittest.mock import MagicMock, patch
76
from botocore.exceptions import ClientError

0 commit comments

Comments
 (0)