| Line 6... |
Line 6... |
| 6 |
from shop2020.config.client.ConfigClient import ConfigClient
|
6 |
from shop2020.config.client.ConfigClient import ConfigClient
|
| 7 |
from shop2020.thriftpy.model.v1.catalog import InventoryService
|
7 |
from shop2020.thriftpy.model.v1.catalog import InventoryService
|
| 8 |
from thrift.transport import TSocket, TTransport
|
8 |
from thrift.transport import TSocket, TTransport
|
| 9 |
from thrift.protocol.TBinaryProtocol import TBinaryProtocolFactory
|
9 |
from thrift.protocol.TBinaryProtocol import TBinaryProtocolFactory
|
| 10 |
from thrift.server import TServer
|
10 |
from thrift.server import TServer
|
| 11 |
from shop2020.model.v1.catalog.impl.InventoryServiceHandler import InventoryServiceHandler
|
- |
|
| 12 |
from shop2020.helpers.impl.HelperServiceHandler import HelperServiceHandler
|
11 |
from shop2020.helpers.impl.HelperServiceHandler import HelperServiceHandler
|
| 13 |
from shop2020.thriftpy.utils import HelperService
|
12 |
from shop2020.thriftpy.utils import HelperService
|
| 14 |
|
13 |
|
| 15 |
|
14 |
|
| 16 |
host_name = 'localhost'
|
15 |
host_name = 'localhost'
|