style: ruff format customer_endpoints.py

This commit is contained in:
cat0825 2026-08-04 12:18:23 +08:00
parent 463e9cd7ff
commit c12b2e82f7

View file

@ -553,10 +553,7 @@ async def update_end_user(
# get non default values for key
non_default_values = {}
for k, v in data_json.items():
if v is not None and (
(isinstance(v, bool) and k in data.fields_set())
or v not in ([], {}, 0)
):
if v is not None and ((isinstance(v, bool) and k in data.fields_set()) or v not in ([], {}, 0)):
non_default_values[k] = v
## Get end user table data ##