Attention

This is the documentation for HARP Proxy, actually published as an early preview. Both the software and documentation are a work in progress, and although we already use it on various production servers, they may contain inaccuracies, typographical errors, huge mistakes and empty pages. We work hard to eradicate all mistakes and implement stuff, but it is a long and tedious process. We appreciate your patience and understanding. Of course, any help will be greatly appreciated.

harp_apps.sqlalchemy_storage.utils.migrations

create_alembic_config(url)[source]

Create our alembic configuration object, to run alembic commands.

Parameters:

url (str | URL)

create_harp_config_with_sqlalchemy_storage_from_command_line_options(kwargs)[source]

Create a Harp configuration object using common server command line options (–set…) with the sqlalchemy storage application installed so that the storage is properly configured.

async do_migrate(engine, *, migrator, reset=False)[source]
async do_reset(engine)[source]