Source code for q2_sdk.core.install_steps.required_form
from typing import Unpack
from q2_sdk.core.install_steps.base import (
InstallStep,
InstallStepAttribute,
InstallStepArguments,
)
[docs]
class RequiredForm(InstallStep):
"""
Allows for multiple forms (ShortNames) to be installed pointing to
the same extension
"""
def __init__(self, short_name, **kwargs: Unpack[InstallStepArguments]):
super().__init__(**kwargs)
self.short_name = InstallStepAttribute(short_name)