Skip to content

Commit 2a991b9

Browse files
committed
fix format
Signed-off-by: christian.lutnik <[email protected]>
1 parent 494fb74 commit 2a991b9

File tree

1 file changed

+1
-4
lines changed
  • providers/openfeature-provider-flagd/src/openfeature/contrib/provider/flagd/resolvers

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ def _merge_metadata(
2525
typing.Mapping[str, typing.Union[float, int, str, bool]]
2626
],
2727
) -> typing.Mapping[str, typing.Union[float, int, str, bool]]:
28-
if flag_set_metadata is None:
29-
metadata = {}
30-
else:
31-
metadata = dict(flag_set_metadata)
28+
metadata = {} if flag_set_metadata is None else dict(flag_set_metadata)
3229

3330
if flag_metadata is not None:
3431
for key, value in flag_metadata.items():

0 commit comments

Comments
 (0)