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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07a9cc744904b47540798caeb9c745990eca21c1508ad504ee0d465514d572f5 |
|
MD5 | 90a7682572ac6339f638f37973ab1643 |
|
BLAKE2b-256 | 490ceb859e90ec12a51f05a3eba04322e67d16df628f9bfd96fe7def4486d1aa |
Close
Hashes for sc_cc_ng_sdk_python-0.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef11531504c5eb87adc8eb9b42abd366d044bc70c308860a254e67133e7286d4 |
|
MD5 | 79881c96553a356c67dd78541d893e4c |
|
BLAKE2b-256 | c619bb7e9fdd78c61e6aca443821e00d1f65c81065b08f7561a5f6804740e39c |