Skip to main content

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)

Source distribution for sc-cc-ng-sdk-python 0.3.5
File Size Uploaded
sc_cc_ng_sdk_python-0.3.5.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sc-cc-ng-sdk-python 0.3.5
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.3.5 This release

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page