mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-28 08:49:42 +02:00
Optimise requirements.txt and update pipecat imports
This commit is contained in:
parent
7501a3fb5a
commit
0345df6fbe
14 changed files with 536 additions and 152 deletions
|
|
@ -65,12 +65,15 @@ class MPSServiceKeyClient:
|
|||
data = response.json()
|
||||
# Transform the response to match our expected format
|
||||
return {
|
||||
"id": data.get("id"),
|
||||
"name": data.get("name") or name,
|
||||
"service_key": data.get("service_key"),
|
||||
"key_prefix": data.get("key_prefix") or (data.get("service_key", "")[:8]
|
||||
if data.get("service_key")
|
||||
else ""),
|
||||
"id": data.get("id"),
|
||||
"name": data.get("name") or name,
|
||||
"service_key": data.get("service_key"),
|
||||
"key_prefix": data.get("key_prefix")
|
||||
or (
|
||||
data.get("service_key", "")[:8]
|
||||
if data.get("service_key")
|
||||
else ""
|
||||
),
|
||||
"expires_at": data.get("expires_at"),
|
||||
"created_at": data.get("created_at"),
|
||||
"is_active": data.get("is_active", True),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue