Skip to content

Commit

Permalink
[lib][chore] Rename internal properties with underscore (#2209)
Browse files Browse the repository at this point in the history
  • Loading branch information
aquamatthias authored Sep 24, 2024
1 parent 73edb94 commit 8e95941
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions fix_plugin_onprem/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
@define(eq=False, slots=False)
class OnpremLocation(BaseAccount):
kind: ClassVar[str] = "onprem_location"
kind_display: ClassVar[str] = "Onprem Location"
kind_description: ClassVar[str] = "An Onprem Location."
_kind_display: ClassVar[str] = "Onprem Location"
_kind_description: ClassVar[str] = "An Onprem Location."

def delete(self, graph: Graph) -> bool:
return False
Expand All @@ -22,8 +22,8 @@ def delete(self, graph: Graph) -> bool:
@define(eq=False, slots=False)
class OnpremRegion(BaseRegion):
kind: ClassVar[str] = "onprem_region"
kind_display: ClassVar[str] = "Onprem Region"
kind_description: ClassVar[str] = "An Onprem Region."
_kind_display: ClassVar[str] = "Onprem Region"
_kind_description: ClassVar[str] = "An Onprem Region."

def delete(self, graph: Graph) -> bool:
return False
Expand All @@ -48,8 +48,8 @@ def delete_tag(self, key) -> bool:
@define(eq=False, slots=False)
class OnpremInstance(OnpremResource, BaseInstance):
kind: ClassVar[str] = "onprem_instance"
kind_display: ClassVar[str] = "Onprem Instance"
kind_description: ClassVar[str] = "An Onprem Instance."
_kind_display: ClassVar[str] = "Onprem Instance"
_kind_description: ClassVar[str] = "An Onprem Instance."
network_device: Optional[str] = None
network_ip4: Optional[str] = None
network_ip6: Optional[str] = None
Expand All @@ -58,5 +58,5 @@ class OnpremInstance(OnpremResource, BaseInstance):
@define(eq=False, slots=False)
class OnpremNetwork(OnpremResource, BaseNetwork):
kind: ClassVar[str] = "onprem_network"
kind_display: ClassVar[str] = "Onprem Network"
kind_description: ClassVar[str] = "An Onprem Network."
_kind_display: ClassVar[str] = "Onprem Network"
_kind_description: ClassVar[str] = "An Onprem Network."

0 comments on commit 8e95941

Please sign in to comment.