copy_database
NexusePlugin
Bases: Plugin
This plugin creates a copy of the MySQL database whose name is given by the data_context "name" parameter.
Source code in src/plugins/copy_database/nexus_e_plugin.py
get_default_parameters
classmethod
get_default_parameters() -> dict
run
Source code in src/plugins/copy_database/nexus_e_plugin.py
Parameters
dataclass
Parameters(
database_copies: list[dict[str, str]] = list(),
forced_copy_name: str = "",
user_initials: str = "",
)
database_copies
class-attribute
instance-attribute
List of copied and original databases names to append the new copy to.
forced_copy_name
class-attribute
instance-attribute
forced_copy_name: str = ''
Force the name given to the database copy.
user_initials
class-attribute
instance-attribute
user_initials: str = ''
User initials are saved in metadata (legacy behavior). Currently the only way we use to track databases authorship.