fix
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import dictdiffer
|
||||
from arnparse import arnparse
|
||||
from aws_lambda_powertools.shared.json_encoder import Encoder
|
||||
|
||||
|
||||
def table_from_arn(arn: str) -> str:
|
||||
@@ -17,3 +18,10 @@ def diff(first: dict, second: dict) -> list[str]:
|
||||
changed.append(path)
|
||||
|
||||
return changed
|
||||
|
||||
|
||||
class JSONEncoder(Encoder):
|
||||
def default(self, obj):
|
||||
if isinstance(obj, set):
|
||||
return list(obj)
|
||||
return super(__class__, self).default(obj)
|
||||
|
||||
Reference in New Issue
Block a user