We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MenuEntry
BuilderContext
MenuEntry.model_rebuild()
python 3.10
The text was updated successfully, but these errors were encountered:
to resolve:
class MenuEntry(BaseModel): code: str cli_name: Optional[str] = None user_view: str description: str is_hidden: Optional[Callable[["BuilderContext"], bool]] = None additional_info: Optional[Any] = None @property def generated_name(self) -> str: """ Property to generate parameter name. It checks if cli_name is present, otherwise, code is used. :return: string to use in CLI. """ if self.cli_name: return self.cli_name return self.code class BuilderContext(BaseModel): pass MenuEntry.model_rebuild() SKIP_ENTRY = MenuEntry( code="skip", user_view="skip", description="skip", )
Sorry, something went wrong.
This one seems a bad bug. It will be fixed during the next dependency update.
Successfully merging a pull request may close this issue.
python 3.10
The text was updated successfully, but these errors were encountered: