Skip to content

Commit

Permalink
update wren_ibis
Browse files Browse the repository at this point in the history
  • Loading branch information
cyyeh committed Jul 15, 2024
1 parent 8753022 commit b2633fc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions wren-ai-service/src/providers/engine/wren.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ async def dry_run_sql(
"source": os.getenv("WREN_IBIS_SOURCE"),
"manifest": os.getenv("WREN_IBIS_MANIFEST"),
"connection_info": orjson.loads(
os.getenv("WREN_IBIS_CONNECTION_INFO", "{}")
),
base64.b64decode(os.getenv("WREN_IBIS_CONNECTION_INFO")).decode()
)
if os.getenv("WREN_IBIS_CONNECTION_INFO")
else {},
},
) -> Tuple[bool, Optional[Dict[str, Any]]]:
async with session.post(
Expand Down

0 comments on commit b2633fc

Please sign in to comment.