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
File details
Details for the file sc_cc_ng_sdk_python-0.3.5.tar.gz
.
File metadata
- Download URL: sc_cc_ng_sdk_python-0.3.5.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.18 Darwin/23.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3bc1ca0d6ae1a73f98988c15554bae3dc331faf469d908012c6d2828d02f2b2 |
|
MD5 | daccd2298ae40e4a5d7ea2682c52e87d |
|
BLAKE2b-256 | 7b90668d18b1c9ef70a364ef2d2922ac34b6e8c82c512f5c852b86fe3430da20 |
File details
Details for the file sc_cc_ng_sdk_python-0.3.5-py3-none-any.whl
.
File metadata
- Download URL: sc_cc_ng_sdk_python-0.3.5-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.9.18 Darwin/23.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 928d163cb2fdbdf5031b26cd3ef9a64b29557815eb8c1aa3388b1e4b52be6047 |
|
MD5 | 93196704c04b188174e438cadf049f6f |
|
BLAKE2b-256 | 572f2d7ed1a1d86cdb1f95a43bf364dc62b576fb8be19f4627d101f276ca2465 |