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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb383d96b45b4563e12b2895f8f7d6a8f9e4d0166a6cc85dc76c03a79740367c |
|
MD5 | 72633907f82bde55b1f31385f41c4a51 |
|
BLAKE2b-256 | ff00a76ae75dd4155cd74a821b260b7f2407b5624409f925c4b5870e47df758c |
Close
Hashes for sc_cc_ng_sdk_python-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cdd1eb08995d45a9b63d117ee58713fd4d5d969d243fdadef09cae0d69cd84d |
|
MD5 | 08c448ac674acff672885271dfa23f9b |
|
BLAKE2b-256 | d776b2ba5681974ef75b92c974067b83ec04ccfb42d53e9600e2dc8d117342a3 |