<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create(self, alias=None, cache=None, **kwargs):
 """ Create a new cache. Either alias or cache params are required. You can use kwargs to pass extra parameters to configure the cache. .. deprecated:: 0.11.0 Only creating a cache passing an alias is supported. If you want to create a cache passing explicit cache and kwargs use ``aiocache.Cache``. :param alias: str alias to pull configuration from :param cache: str or class cache class to use for creating the new cache (when no alias is used) :return: New cache instance """

        if alias:
            config = self.get_alias_config(alias)
        elif cache:
            warnings.warn(
                "Creating a cache with an explicit config is deprecated, use 'aiocache.Cache'",
                DeprecationWarning,
            )
            config = {"cache": cache}
        else:
            raise TypeError("create call needs to receive an alias or a cache")
        cache = _create_cache(**{**config, **kwargs})
        return cache