fix: windows not support thrift

This commit is contained in:
duanchao.bill
2022-05-04 14:23:09 +08:00
parent ba069e3d2d
commit 1de270f089
3 changed files with 45 additions and 14 deletions

View File

@@ -189,7 +189,9 @@ class RunThriftRequest(IStep):
return self
def setup_hook(self, hook: Text, assign_var_name: Text = None) -> "RunThriftRequest":
def setup_hook(
self, hook: Text, assign_var_name: Text = None
) -> "RunThriftRequest":
if assign_var_name:
self.__step.setup_hooks.append({assign_var_name: hook})
else: