Skip to content

Commit 500b6ce

Browse files
committed
more formatting
1 parent 8ce7648 commit 500b6ce

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

nodestream/project/storage.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
from dataclasses import dataclass, field
22
from typing import Any, Dict, Optional, Union
3+
34
from nodestream.file_io import LazyLoadedArgument
5+
46
from ..pipeline.object_storage import ObjectStore, Signer
57

68

@@ -38,7 +40,7 @@ def from_file_data(data):
3840

3941
@staticmethod
4042
def describe_yaml_schema():
41-
from schema import Optional, Schema, Or
43+
from schema import Optional, Or, Schema
4244

4345
return Schema(
4446
{"name": str, "type": str, Optional("hmac_key"): Or(LazyLoadedArgument, str, only_one=True), Optional(str): object}

tests/unit/project/test_storage.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
import base64
2+
from unittest.mock import Mock
23

34
import pytest
45
from hamcrest import assert_that, contains, equal_to, instance_of
56

7+
from nodestream.file_io import LazyLoadedArgument
68
from nodestream.pipeline.object_storage import (
79
DirectoryObjectStore,
810
NullObjectStore,
911
SignedObjectStore,
1012
)
1113
from nodestream.project.storage import StorageConfiguration, StoreConfiguration
12-
from unittest.mock import Mock
13-
from nodestream.file_io import LazyLoadedArgument
14+
1415

1516
@pytest.fixture
1617
def store_config_data():

0 commit comments

Comments
 (0)