A fixture that knows how to load DataSet objects into sqlalchemy objects.
- style
- A Style object to translate names with
- session_context
- An instance of sqlalchemy.ext.sessioncontext.SessionContext. A session
will be created from session_context.current
- session
- A session from sqlalchemy.create_session(). This will override the
session_context.current approach.
- connection
- A specific connectable/engine object (must be connected). This is only
necessary if you are working with an unbound session and you want to
use the TableMedium for data storage.
- dataclass
- SuperSet to represent loaded data with
- env
- A dict or module that contains either mapped classes or Table objects,
or both. This will be search when style translates DataSet names into
storage media.
- medium
- A custom StorageMediumAdapter to instantiate when storing a DataSet.
By default, a medium adapter will be negotiated based on the type of
sqlalchemy object so you should only set this if you know what you
doing.