code: def create_client_with_auto_poll(api_key, poll_interval_seconds=60, max_init_wait_time_seconds=5,
                                   on_configuration_changed_callback=None, config_cache_class=None,
                                   base_url=None):
      
  
      if api_key is None:
          raise ConfigCatClientException('API Key is required.')
  
      if poll_interval_seconds < 1:
          poll_interval_seconds = 1
  
      if max_init_wait_time_seconds < 0:
          max_init_wait_time_seconds = 0
  
      return ConfigCatClient(api_key, poll_interval_seconds, max_init_wait_time_seconds,
                             on_configuration_changed_callback, 0, config_cache_class, base_url)
docs: Create an instance of ConfigCatClient and setup Auto Poll mode with custom options
  
      :param api_key: ConfigCat ApiKey to access your configuration.
      :param poll_interval_seconds: The client's poll interval in seconds. Default: 60 seconds.
      :param on_configuration_changed_callback: You can subscribe to configuration changes with this callback
      :param max_init_wait_time_seconds: maximum waiting time for first configuration fetch in polling mode.
      :param config_cache_class: If you want to use custom caching instead of the client's default InMemoryConfigCache,
      You can provide an implementation of ConfigCache.
      :param base_url: You can set a base_url if you want to use a proxy server between your application and ConfigCat