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)
Release files for sc-cc-ng-sdk-python 0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sc_cc_ng_sdk_python-0.3.5.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sc_cc_ng_sdk_python-0.3.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.7 kB
Release files / sc_cc_ng_sdk_python-0.3.5.tar.gz
| Download URL | sc_cc_ng_sdk_python-0.3.5.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d3bc1ca0d6ae1a73f98988c15554bae3dc331faf469d908012c6d2828d02f2b2
|
|
BLAKE2b-256 checksum How to use checksums |
7b90668d18b1c9ef70a364ef2d2922ac34b6e8c82c512f5c852b86fe3430da20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.18 Darwin/23.1.0
|
Release files / sc_cc_ng_sdk_python-0.3.5-py3-none-any.whl
| Download URL | sc_cc_ng_sdk_python-0.3.5-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
928d163cb2fdbdf5031b26cd3ef9a64b29557815eb8c1aa3388b1e4b52be6047
|
|
BLAKE2b-256 checksum How to use checksums |
572f2d7ed1a1d86cdb1f95a43bf364dc62b576fb8be19f4627d101f276ca2465
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.18 Darwin/23.1.0
|