Skip to content

Commit

Permalink
dependabot/pip/black 24.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dabeeeenster committed Mar 26, 2024
1 parent 637915a commit 6719baf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions flagsmith/utils/identities.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ def generate_identities_data(
) -> Identity:
return {
"identifier": identifier,
"traits": [{"trait_key": k, "trait_value": v} for k, v in traits.items()]
if traits
else [],
"traits": (
[{"trait_key": k, "trait_value": v} for k, v in traits.items()]
if traits
else []
),
}

0 comments on commit 6719baf

Please sign in to comment.