File tree Expand file tree Collapse file tree 2 files changed +19
-16
lines changed
Expand file tree Collapse file tree 2 files changed +19
-16
lines changed Original file line number Diff line number Diff line change 11# API documentation
22
3- ::: pum.config
4- ::: pum.schema_migrations
5- ::: pum.upgrader
3+ ::: pum.config.migration_parameter_definition.MigrationParameterDefintion
4+ ::: pum.config.PumConfig
5+ ::: pum.schema_migrations.SchemaMigrations
6+ ::: pum.upgrader.Upgrader
Original file line number Diff line number Diff line change @@ -31,9 +31,11 @@ def __repr__(self):
3131
3232
3333class Upgrader :
34- """This class is used to upgrade an existing database using sql delta files.
34+ """
35+ This class is used to upgrade an existing database using sql delta files.
3536
36- Stores the info about the upgrade in a table on the database."""
37+ Stores the info about the upgrade in a table on the database.
38+ """
3739
3840 def __init__ (
3941 self ,
@@ -50,17 +52,17 @@ def __init__(
5052 The table is created in the schema defined in the config file if it does not exist.
5153
5254 Args:
53- pg_service: str
54- The name of the postgres service (defined in pg_service.conf)
55- related to the db
56- config: PumConfig
57- The configuration object
58- parameters: dict
59- The parameters to pass to the SQL files.
60- dir: str | Path
61- The directory where the module is located.
62- max_version: str
63- Maximum (including) version to run the deltas up to.
55+ pg_service: str
56+ The name of the postgres service (defined in pg_service.conf)
57+ related to the db
58+ config: PumConfig
59+ The configuration object
60+ parameters: dict
61+ The parameters to pass to the SQL files.
62+ dir: str | Path
63+ The directory where the module is located.
64+ max_version: str
65+ Maximum (including) version to run the deltas up to.
6466 """
6567
6668 self .pg_service = pg_service
You can’t perform that action at this time.
0 commit comments