Skip to content

Commit

Permalink
Remove unncessary client middleware since we're not using client on T…
Browse files Browse the repository at this point in the history
…abPy side
  • Loading branch information
antesaj committed Mar 30, 2023
1 parent 054c3eb commit ae4db6e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.

This file was deleted.

3 changes: 1 addition & 2 deletions tabpy/tabpy_server/handlers/evaluation_plane_handler.py
Expand Up @@ -10,9 +10,7 @@
import requests
from tornado import gen
from datetime import timedelta
from tabpy.tabpy_server.handlers.basic_auth_client_middleware_factory import BasicAuthClientMiddlewareFactory
from tabpy.tabpy_server.handlers.util import AuthErrorStates
from tabpy.tabpy_server.app.app_parameters import SettingsParameters

class RestrictedTabPy:
def __init__(self, protocol, port, logger, timeout, headers):
Expand Down Expand Up @@ -80,6 +78,7 @@ def _post_impl(self):
arguments_str = ""
if "dataPath" in body:
# arrow flight scenario
print("arrow flight scenario")
arrow_data = self.get_arrow_data(body["dataPath"])
if arrow_data is not None:
arguments = {"_arg1": arrow_data}
Expand Down

0 comments on commit ae4db6e

Please sign in to comment.