code: def choose_args(metadata, config):
      
      return dict(
          connect_args=choose_connect_args(metadata, config),
          echo=config.echo,
          max_overflow=config.max_overflow,
          pool_size=config.pool_size,
          pool_timeout=config.pool_timeout,
      )
docs: Choose database connection arguments.