twin client sdk
Project description
twin client python-sdk
install
pip3 install TwinClient
demo
config = TwinClientConfig(
owner = "dtos",
tenantId=tenantId,
dtmsregistry=dtmsregistry,
dtmstwindef=dtmstwindef,
dtmstwin=dtmstwin
)
twin_client = TwinClient(config)
# 查询 subtype
query = {
"subType.type": "people_drug"
}
# "-created" 按created降序
# "created" 按created升序
res = twin_client.twin.where(**query).offset(0).limit(10).sort("-created").select()
print(res)
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
TwinClient-0.1.2.tar.gz
(16.1 kB
view hashes)