vendor request of taiqiyun [private]
Project description
tivendor
Usage
from tivendor import TiVendor
config = {
'TIADMIN_HOST': 'http://tiadmin.kong:8000',
'KAFKA_ENABLE': 'on',
'KAFKA_HOST': 'kafka-kafka.kafka:9092',
'KAFKA_TOPIC': 'supplier-request',
'DEFAULT_SERVICE_NAME': 'bqsblmatch',
'LOGGER_NAME': 'main',
}
vendor = TiVendor(config)
r = vendor.request('bqsblmatch-test', service_name='bqsblmatch', ti_request_headers={}, json={'name': 'Johnny',})
print(r.json())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tivendor-0.0.11.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for tivendor-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 663c83a317bcd7258217d0cf0f8a52fe75722d9e9fc7857c5d479857c7ae8b31 |
|
MD5 | 0bc3ebfc59e54abba1c7dc19aa9ac427 |
|
BLAKE2b-256 | 967d4970365aa3147dd467fc296fc3a0dff3e5260f37840031cf19aa1a6bad22 |