No project description provided
Project description
Example
from sc_cc_ng_sdk_python import SCNGClient
from sc_cc_ng_models_python import ContextFilter, ContextRelation, SubContextFilter, ContextType
sdk_call = SCNGClient(url="http://localhost:8001/graphql")
tokens_list=[
[
"en-GB",
"MY2022",
"CT256",
"EN06"
]
]
result = sdk_call(
token_list=tokens_list,
context_filter=ContextFilter(
relation=ContextRelation.ALL,
subContextFilters=[
SubContextFilter(
contexts=[
ContextType.MODEL,
],
relation=ContextRelation.ALL
)
]
)
)
print(result.data)
print(result.error)
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
Built Distribution
Close
Hashes for sc_cc_ng_sdk_python-0.3.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b0fabe06f7dff796fdc723797bf5acab7f42b5e71ad1ef5e8fab6e2ea6ddd0d |
|
MD5 | c6e9c3326762c1a7cff264a498ba9019 |
|
BLAKE2b-256 | 90d19c70db368ab9785d8aa3786581d86483e907c0008fd6db689b71855bf651 |
Close
Hashes for sc_cc_ng_sdk_python-0.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 951f90136d661e55e8021d78bca1d9d20e2b215e2bc32e7a56dc43ec723ed8e1 |
|
MD5 | 80e694ce49bcc9ce280e1ef9288fdb90 |
|
BLAKE2b-256 | 8b281df9fc8ebd9e4b3b69bcc81aa1b6f9c6032a32483311b10de27d4451ffd6 |