Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinblack committed Jan 16, 2024
1 parent 70c15fb commit 15be190
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tests/unit/test_arcaflow_plugin_opensearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

import unittest
import opensearch_plugin
from opensearch_schema import Operation, BulkUploadObject, BulkUploadOperationMeta
from opensearch_schema import (
# Operation,
BulkUploadObject,
BulkUploadOperationMeta,
)
from arcaflow_plugin_sdk import plugin


Expand All @@ -23,7 +27,8 @@ def test_serialization():
BulkUploadObject(
operation={
# Operation.INDEX: BulkUploadOperationMeta(
# Temporarily changing the key to a string to work around a problem
# Temporarily changing the key to a string in order to work
# around a workflow validation failure for the enum as a key
"index": BulkUploadOperationMeta(
_index="myotherindex",
_id="abc123",
Expand All @@ -37,7 +42,8 @@ def test_serialization():
BulkUploadObject(
operation={
# Operation.CREATE: BulkUploadOperationMeta(),
# Temporarily changing the key to a string to work around a problem
# Temporarily changing the key to a string in order to work
# around a workflow validation failure for the enum as a key
"create": BulkUploadOperationMeta(),
},
data={
Expand Down

0 comments on commit 15be190

Please sign in to comment.