Metadata-Version: 2.1
Name: sc-cc-ng-sdk-python
Version: 0.3.2
Summary: 
Author: Rikard Olsson
Author-email: rikard@thryselius.se
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: aiohttp (>=3.8.6,<4.0.0)
Requires-Dist: requests (>=2.31.0,<3.0.0)
Requires-Dist: sc-cc-ng-models-python (>=0.1.12,<0.2.0)
Description-Content-Type: text/markdown

# Example
```python
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)
```
