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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03a7de15de2190e12b2851479aaedc1ad1402adb4f83d93316b5182b962728ba |
|
MD5 | 3995f960d43219ba6f884c758dbd2c87 |
|
BLAKE2b-256 | 435f4cbed7cd865ec3edb508e5bff74cc358f3bb3d939f937e3b4cdfed884e59 |
Close
Hashes for sc_cc_ng_sdk_python-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 957f6a1a12dfdbc4f76ee9c64e3f59a88eb2d6f5e16ac0e401869d6205dd17bb |
|
MD5 | b8ed4bd14b327cc7ae5ff2d029f345b1 |
|
BLAKE2b-256 | d063d21e329d12e104494a48a92be306f25d945e16846b9b34dc12c64d47210d |