File tree Expand file tree Collapse file tree
azureml_inference_server_http/server Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77def _patch_azureml_contrib_services ():
88 # override the azureml.contrib.services package with local one, meanwhile keep the other stuff under azureml.*
99 # untouched note this must be done prior to importing the package in app logic
10- import azureml . contrib . services . aml_request
10+
1111 import azureml_inference_server_http .api .aml_request
1212
13- # works for 'import azureml.contrib.services.aml_request'
14- sys .modules ["azureml.contrib.services" ].aml_request = sys .modules ["azureml_inference_server_http.api" ].aml_request
1513 # works for 'from azureml.contrib.services.aml_request import *'
1614 sys .modules ["azureml.contrib.services.aml_request" ] = sys .modules ["azureml_inference_server_http.api.aml_request" ]
1715
18- import azureml .contrib .services .aml_response
1916 import azureml_inference_server_http .api .aml_response
2017
21- # works for 'import azureml.contrib.services.aml_response'
22- sys .modules ["azureml.contrib.services" ].aml_response = sys .modules [
23- "azureml_inference_server_http.api"
24- ].aml_response
2518 # works for 'from azureml.contrib.services.aml_response import *'
2619 sys .modules ["azureml.contrib.services.aml_response" ] = sys .modules [
2720 "azureml_inference_server_http.api.aml_response"
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments