Skip to content

Commit 768d540

Browse files
committed
formatting
1 parent 1c689af commit 768d540

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

bin/lib/library_build_history.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
21
from typing import Any, Dict
32
from lib.amazon import dynamodb_client
43

4+
55
class LibraryBuildHistory:
6-
def __init__(
7-
self,
8-
logger):
6+
def __init__(self, logger):
97
self.logger = logger
108

119
def get_lib_key(self, buildparameters_obj: Dict[str, Any], commit_hash: str):
@@ -34,9 +32,5 @@ def success(self, buildparameters_obj: Dict[str, Any], commit_hash: str):
3432
def insert(self, lib_key: str, compiler_key: str, success: bool):
3533
dynamodb_client.put_item(
3634
TableName="library-build-history",
37-
Item={
38-
"library": {"S": lib_key},
39-
"compiler": {"S": compiler_key},
40-
"success": {"BOOL": success}
41-
},
35+
Item={"library": {"S": lib_key}, "compiler": {"S": compiler_key}, "success": {"BOOL": success}},
4236
)

0 commit comments

Comments
 (0)