vendor request of taiqiyun
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.10.tar.gz
(3.0 kB
view details)
File details
Details for the file tivendor-0.0.10.tar.gz.
File metadata
- Download URL: tivendor-0.0.10.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc189176c78e4aca8a3045b623c2915211c24f5f5203054a0d0499bab5613fc4
|
|
| MD5 |
32c6d20178910d26f0ea7f3b29aaf8d6
|
|
| BLAKE2b-256 |
b75b188e0a14518c20c43fd59bf8120f926558d00a1fea01ec19d8c2854ef78d
|