Skip to content

Commit

Permalink
Add staticmethod tag
Browse files Browse the repository at this point in the history
  • Loading branch information
proy30 committed Feb 20, 2025
1 parent c6a1de0 commit a3ed771
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class LatticeConfigurationHelper:
Helper class to build the Lattice Configuration section of the dashboard
"""

@staticmethod
def expand_configuration() -> vuetify.VBtn:
"""
A button which expands/closes the lattice configuration.
Expand All @@ -23,6 +24,7 @@ def expand_configuration() -> vuetify.VBtn:
v_text=("expand_configuration ? 'mdi-close' : 'mdi-arrow-expand'",),
)

@staticmethod
def settings() -> vuetify.VBtn:
"""
A button which opens the lattice configuration settings.
Expand All @@ -35,6 +37,7 @@ def settings() -> vuetify.VBtn:
):
vuetify.VIcon("mdi-cog")

@staticmethod
def move_element_up() -> vuetify.VBtn:
"""
A button which allows the dashboard user to
Expand All @@ -50,6 +53,7 @@ def move_element_up() -> vuetify.VBtn:
"mdi-menu-up",
)

@staticmethod
def move_element_down() -> vuetify.VBtn:
"""
A button which allows the dashboard user to
Expand All @@ -65,6 +69,7 @@ def move_element_down() -> vuetify.VBtn:
"mdi-menu-down",
)

@staticmethod
def delete_element() -> vuetify.VBtn:
"""
A button which allows the dashboard user to
Expand Down

0 comments on commit a3ed771

Please sign in to comment.