File tree Expand file tree Collapse file tree 5 files changed +5
-11
lines changed
Expand file tree Collapse file tree 5 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 1- ::: pum.RoleCheckResult
1+ ::: pum.RoleInventory
Original file line number Diff line number Diff line change 99 logo : assets/images/pum.png
1010 favicon : assets/images/favicon.ico
1111 features :
12- # - navigation.tabs
13- # - navigation.tabs.sticky
14- # - navigation.expand
1512 - navigation.indexes
1613 - navigation.top
1714 - navigation.tracking
112109 - PermissionType : api/permission_type.md
113110 - PumConfig : api/pum_config.md
114111 - Role : api/role.md
115- - RoleCheckResult : api/role_check_result.md
112+ - RoleInventory : api/role_check_result.md
116113 - RoleManager : api/role_manager.md
117114 - RoleStatus : api/role_status.md
118115 - SchemaPermissionStatus : api/schema_permission_status.md
Original file line number Diff line number Diff line change @@ -59,8 +59,7 @@ def execute(
5959 This is not committing the transaction and will be handled afterwards.
6060
6161 Args:
62- connection: The database connection.
63- sql: The SQL statement to execute or a path to a SQL file..
62+ sql: The SQL statement to execute or a path to a SQL file.
6463 """
6564 parameters_literals = SqlContent .prepare_parameters (self ._parameters )
6665 SqlContent (sql ).execute (
@@ -88,9 +87,9 @@ def __init__(
8887 """Initialize a Hook instance.
8988
9089 Args:
91- type: The type of the hook (e.g., "pre", "post").
9290 file: The file path of the hook.
9391 code: The SQL code for the hook.
92+ base_path: The base path for resolving relative file paths.
9493
9594 """
9695 if file and code :
Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ def format_sql(
338338 return [format_sql (statement , parameters ) for statement in sql_code ]
339339
340340 @staticmethod
341- def prepare_parameters (parameters : dict | None ):
341+ def prepare_parameters (parameters : dict | None ) -> dict :
342342 """
343343 Prepares a dictionary of parameters for use in SQL queries by converting each value to a psycopg.sql.Literal.
344344
Original file line number Diff line number Diff line change @@ -35,8 +35,6 @@ def __init__(
3535 The table is created in the schema defined in the config file if it does not exist.
3636
3737 Args:
38- connection:
39- The database connection to use for the upgrade.
4038 config:
4139 The configuration object
4240 max_version:
You can’t perform that action at this time.
0 commit comments