Skip to content

Commit

Permalink
ConsoleRender: make render_factory static
Browse files Browse the repository at this point in the history
  • Loading branch information
guysalt committed Feb 17, 2023
1 parent d179147 commit 63af9ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/inquirer/render/console/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ def clear_bottombar(self):
with self.terminal.location(0, self.height - 2):
self.clear_eos()

def render_factory(self, question_type):
@staticmethod
def render_factory(question_type):
matrix = {
"text": Text,
"editor": Editor,
Expand Down

0 comments on commit 63af9ac

Please sign in to comment.