|
@@ -150,6 +150,9 @@ def python_to_golang_sync(func_name, other_set = {}):
|
|
|
|
|
|
|
|
time.sleep(0.01)
|
|
time.sleep(0.01)
|
|
|
|
|
|
|
|
|
|
+ if data == '':
|
|
|
|
|
+ data = '{}'
|
|
|
|
|
+
|
|
|
return data
|
|
return data
|
|
|
|
|
|
|
|
async def python_to_golang(func_name, other_set = {}):
|
|
async def python_to_golang(func_name, other_set = {}):
|
|
@@ -190,6 +193,9 @@ async def python_to_golang(func_name, other_set = {}):
|
|
|
|
|
|
|
|
await asyncio.sleep(0.01)
|
|
await asyncio.sleep(0.01)
|
|
|
|
|
|
|
|
|
|
+ if data == '':
|
|
|
|
|
+ data = '{}'
|
|
|
|
|
+
|
|
|
return data
|
|
return data
|
|
|
|
|
|
|
|
# Func-init
|
|
# Func-init
|