Skip to content

Commit ed1f91f

Browse files
committed
fix format
Signed-off-by: christian.lutnik <[email protected]>
1 parent 7bf74e1 commit ed1f91f

File tree

1 file changed

+7
-3
lines changed
  • providers/openfeature-provider-flagd/src/openfeature/contrib/provider/flagd/resolvers

1 file changed

+7
-3
lines changed

providers/openfeature-provider-flagd/src/openfeature/contrib/provider/flagd/resolvers/in_process.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,17 @@
1818

1919

2020
def _merge_metadata(
21-
flag_metadata: typing.Optional[typing.Mapping[str, typing.Union[float, int, str, bool]]],
22-
flag_set_metadata: typing.Optional[typing.Mapping[str, typing.Union[float, int, str, bool]]],
21+
flag_metadata: typing.Optional[
22+
typing.Mapping[str, typing.Union[float, int, str, bool]]
23+
],
24+
flag_set_metadata: typing.Optional[
25+
typing.Mapping[str, typing.Union[float, int, str, bool]]
26+
],
2327
) -> typing.Mapping[str, typing.Union[float, int, str, bool]]:
2428
metadata = {}
2529

2630
if flag_set_metadata is not None:
27-
metadata = { key: value for key, value in flag_set_metadata }
31+
metadata = dict(flag_set_metadata)
2832

2933
if flag_metadata is not None:
3034
for key, value in flag_metadata.items():

0 commit comments

Comments
 (0)