class_docstr: Loads adjustments based on corporate actions from a SQLite database.
  
  Expects data written in the format output by `SQLiteAdjustmentWriter`.
  
  Parameters
  ----------
  conn : str or sqlite3.Connection
      Connection from which to load data.
  
  See Also
  --------
  :class:`zipline.data.adjustments.SQLiteAdjustmentWriter`
class_docstr_tok: ["Loads","adjustments","based","on","corporate","actions","from","a","SQLite","database",".","Expects","data","written","in","the","format","output","by","`","SQLiteAdjustmentWriter","`",".","Parameters","--","--","--","--","--","conn",":","str","or","sqlite3.Connection","Connection","from","which","to","load","data",".","See","Also","--","--","--","--",":","class",":","`","zipline.data.adjustments.SQLiteAdjustmentWriter","`"]
docstr: Load collection of Adjustment objects from underlying adjustments db.
  
  Parameters
  ----------
  dates : pd.DatetimeIndex
      Dates for which adjustments are needed.
  assets : pd.Int64Index
      Assets for which adjustments are needed.
  should_include_splits : bool
      Whether split adjustments should be included.
  should_include_mergers : bool
      Whether merger adjustments should be included.
  should_include_dividends : bool
      Whether dividend adjustments should be included.
  adjustment_type : str
      Whether price adjustments, volume adjustments, or both, should be
      included in the output.
  
  Returns
  -------
  adjustments : dict[str -> dict[int -> Adjustment]]
      A dictionary containing price and/or volume adjustment mappings
      from index to adjustment objects to apply at that index.
docstr_tok: ["Load","collection","of","Adjustment","objects","from","underlying","adjustments","db",".","Parameters","--","--","--","--","--","dates",":","pd.DatetimeIndex","Dates","for","which","adjustments","are","needed",".","assets",":","pd.Int64Index","Assets","for","which","adjustments","are","needed",".","should_include_splits",":","bool","Whether","split","adjustments","should","be","included",".","should_include_mergers",":","bool","Whether","merger","adjustments","should","be","included",".","should_include_dividends",":","bool","Whether","dividend","adjustments","should","be","included",".","adjustment_type",":","str","Whether","price","adjustments",",","volume","adjustments",",","or","both",",","should","be","included","in","the","output",".","Returns","--","--","--","-","adjustments",":","dict","[","str","-",">","dict","[","int","-",">","Adjustment","]","]","A","dictionary","containing","price","and\/or","volume","adjustment","mappings","from","index","to","adjustment","objects","to","apply","at","that","index","."]
code: def load_adjustments(
      self,
      dates,
      assets,
      should_include_splits,
      should_include_mergers,
      should_include_dividends,
      adjustment_type,
  ):
      """
      Load collection of Adjustment objects from underlying adjustments db.
  
      Parameters
      ----------
      dates : pd.DatetimeIndex
          Dates for which adjustments are needed.
      assets : pd.Int64Index
          Assets for which adjustments are needed.
      should_include_splits : bool
          Whether split adjustments should be included.
      should_include_mergers : bool
          Whether merger adjustments should be included.
      should_include_dividends : bool
          Whether dividend adjustments should be included.
      adjustment_type : str
          Whether price adjustments, volume adjustments, or both, should be
          included in the output.
  
      Returns
      -------
      adjustments : dict[str -> dict[int -> Adjustment]]
          A dictionary containing price and/or volume adjustment mappings
          from index to adjustment objects to apply at that index.
      """
      return load_adjustments_from_sqlite(
          self.conn,
          dates,
          assets,
          should_include_splits,
          should_include_mergers,
          should_include_dividends,
          adjustment_type,
      )
  
imports: from collections import namedtuple
  from errno import ENOENT
  from os import remove
  from logbook import Logger
  import numpy
  from numpy import integer
  import pandas
  from pandas import Timestamp
  import six
  import sqlite3
  from zipline.utils.functional import keysorted
  from zipline.utils.input_validation import preprocess
  from zipline.utils.numpy_utils import datetime64ns_dtype, float64_dtype, int64_dtype, uint32_dtype, uint64_dtype
  from zipline.utils.pandas_utils import empty_dataframe
  from zipline.utils.sqlite_utils import group_into_chunks, coerce_string_to_conn
  from ._adjustments import load_adjustments_from_sqlite
label_desc: Use image node_id 5 for calling the SQLiteAdjustmentReader obj's underlying member method code with example usage: obj.load_adjustments(dates, assets, should_include_splits, should_include_mergers, should_include_dividends, adjustment_type) and returns: load_adjustments_from_sqlite