mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
style: ruff format customer_endpoints.py
This commit is contained in:
parent
463e9cd7ff
commit
c12b2e82f7
1 changed files with 1 additions and 4 deletions
|
|
@ -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 ##
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue