File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed
Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ Command-line options
101101 Long flag Short flag Default Description
102102 ==================== ============= ================ ==================================================================================================== === === === === === ===
103103 ``--yes `` ``-y `` ``False `` Specifies yes to all questions. You will NOT be asked for confirmation before partition deletion.
104- ``--using `` ``-u `` ``'default' `` Name of the database connection to use.
104+ ``--using `` ``-u `` ``'default' `` Optional name of the database connection to use.
105105 ``--skip-create `` ``False `` Whether to skip creating partitions.
106106 ``--skip-delete `` ``False `` Whether to skip deleting partitions.
107107
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ def postgres_lock_table(
4545 using it's ``search_path``.
4646
4747 using:
48- Name of the database alias to use.
48+ Optional name of the database connection to use.
4949 """
5050
5151 connection = connections [using ]
@@ -89,7 +89,7 @@ def postgres_lock_model(
8989 this unless you're doing something special.
9090
9191 using:
92- Name of the database alias to use.
92+ Optional name of the database connection to use.
9393 """
9494
9595 postgres_lock_table (
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def add_arguments(self, parser):
3737 parser .add_argument (
3838 "--using" ,
3939 "-u" ,
40- help = "Name of the database connection to use." ,
40+ help = "Optional name of the database connection to use." ,
4141 default = "default" ,
4242 )
4343
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def plan(
3939 for deletion, regardless of the configuration.
4040
4141 using:
42- Name of the database connection to use.
42+ Optional name of the database connection to use.
4343
4444 Returns:
4545 A plan describing what partitions would be created
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def apply(self, using: Optional[str]) -> None:
2828
2929 Arguments:
3030 using:
31- Name of the database connection to use.
31+ Optional name of the database connection to use.
3232 """
3333
3434 connection = connections [using or "default" ]
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ def bulk_insert(
131131 just dicts.
132132
133133 using:
134- Name of the database connection to use for
134+ Optional name of the database connection to use for
135135 this query.
136136
137137 Returns:
You can’t perform that action at this time.
0 commit comments