code: def make_alembic_config(temporary_dir, migrations_dir):
      
      config = Config()
      config.set_main_option("temporary_dir", temporary_dir)
      config.set_main_option("migrations_dir", migrations_dir)
      return config
docs: Alembic uses the `alembic.ini` file to configure where it looks for everything else.
  
      Not only is this file an unnecessary complication around a single-valued configuration,
      the single-value it chooses to use (the alembic configuration directory), hard-coding
      the decision that there will be such a directory makes Alembic setup overly verbose.
  
      Instead, generate a `Config` object with the values we care about.
  
      :returns: a usable instance of `Alembic.config.Config`