async def METHOD_NAME(self, init):
    self.config = validate(init)
    if self.config.resource.id == "":
        self.client = RedisClient()
    else:
        resource = await resource_db.load(self.config.resource.id)
        credentials = resource.credentials.get_credentials(self, output=RedisCredentials)
        uri = RedisConfig.get_redis_uri(
            credentials.url,
            credentials.user,
            credentials.password,
            credentials.protocol,
            credentials.database
        )
        self.client = redis.from_url(uri)