# ...
class EComSDK:
    def __init__(self, config: Config):
        self.api_url = config.api_url
        self.api_key = config.api_key

    # ...
```

The `EComSDK` class now accepts a `Config` model in the constructor, ensuring that the SDK user provides the correct data types when instantiating the class.

Let's update the `test_sdk.py` file to test the new `Config` model:

```python filename="tests/test_sdk.py"