Skip to content

[TECH DEBT]: Reuse defaults of WorkspaceConfig in WorkspaceInstaller._prompt_for_new_installation #2698

Open
@JCZuurmond

Description

@JCZuurmond

Is there an existing issue for this?

  • I have searched the existing issues

Problem statement

The defaults for WorkspaceConfig are duplicated in WorkspaceInstaller._prompt_for_new_installation use the defaults in WorkspaceConfig instead

Proposed Solution

default_config = WorkspaceConfig(default_database)
...
prompts(<question>, default=default_config.<attribute>)  # Instead of hardcoding the default

Additional Context

No response

Metadata

Metadata

Assignees

Labels

tech debtchores and design flaws

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions