mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-03 23:51:48 +00:00
remove unneeded init
This commit is contained in:
parent
0ad7f8dac3
commit
3fda1ef3fe
7 changed files with 0 additions and 21 deletions
|
|
@ -360,9 +360,6 @@ class AnsibleStorageBox(AnsibleHCloud):
|
|||
|
||||
storage_box: BoundStorageBox | None = None
|
||||
|
||||
def __init__(self, module: AnsibleModule):
|
||||
super().__init__(module)
|
||||
|
||||
def _prepare_result(self):
|
||||
if self.storage_box is not None:
|
||||
return _storage_box.prepare_result(self.storage_box)
|
||||
|
|
|
|||
|
|
@ -196,9 +196,6 @@ class AnsibleStorageBox(AnsibleHCloud):
|
|||
|
||||
storage_box: list[BoundStorageBox] | None = None
|
||||
|
||||
def __init__(self, module: AnsibleModule):
|
||||
super().__init__(module)
|
||||
|
||||
def _prepare_result(self):
|
||||
result = []
|
||||
for o in self.storage_box or []:
|
||||
|
|
|
|||
|
|
@ -153,9 +153,6 @@ class AnsibleStorageBoxSnapshot(AnsibleHCloud):
|
|||
storage_box: BoundStorageBox | None = None
|
||||
storage_box_snapshot: BoundStorageBoxSnapshot | None = None
|
||||
|
||||
def __init__(self, module: AnsibleModule):
|
||||
super().__init__(module)
|
||||
|
||||
def _prepare_result(self):
|
||||
if self.storage_box_snapshot is None:
|
||||
return {}
|
||||
|
|
|
|||
|
|
@ -147,9 +147,6 @@ class AnsibleStorageBoxSnapshotInfo(AnsibleHCloud):
|
|||
storage_box: BoundStorageBox | None = None
|
||||
storage_box_snapshots: list[BoundStorageBoxSnapshot] | None = None
|
||||
|
||||
def __init__(self, module: AnsibleModule):
|
||||
super().__init__(module)
|
||||
|
||||
def _prepare_result(self):
|
||||
result = []
|
||||
|
||||
|
|
|
|||
|
|
@ -237,9 +237,6 @@ class AnsibleStorageBoxSubaccount(AnsibleHCloud):
|
|||
storage_box: BoundStorageBox | None = None
|
||||
storage_box_subaccount: BoundStorageBoxSubaccount | None = None
|
||||
|
||||
def __init__(self, module: AnsibleModule):
|
||||
super().__init__(module)
|
||||
|
||||
def _prepare_result(self):
|
||||
if self.storage_box_subaccount is None:
|
||||
return {}
|
||||
|
|
|
|||
|
|
@ -171,9 +171,6 @@ class AnsibleStorageBoxSubaccountInfo(AnsibleHCloud):
|
|||
storage_box: BoundStorageBox | None = None
|
||||
storage_box_subaccounts: list[BoundStorageBoxSubaccount] | None = None
|
||||
|
||||
def __init__(self, module: AnsibleModule):
|
||||
super().__init__(module)
|
||||
|
||||
def _prepare_result(self):
|
||||
result = []
|
||||
|
||||
|
|
|
|||
|
|
@ -118,9 +118,6 @@ class AnsibleStorageBoxTypeInfo(AnsibleHCloud):
|
|||
|
||||
storage_box_types: list[BoundStorageBoxType] | None = None
|
||||
|
||||
def __init__(self, module: AnsibleModule):
|
||||
super().__init__(module)
|
||||
|
||||
def _prepare_result(self):
|
||||
result = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue