better tabs

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2022-02-27 21:36:28 -08:00
parent 9c18ba2350
commit 2d90bb61be
6 changed files with 66 additions and 57 deletions

View File

@ -19,16 +19,16 @@ class GPUDevice:
additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
def to_dict(self) -> Dict[str, Any]:
id = self.id
memory_bus_width = self.memory_bus_width
memory_clock_rate = self.memory_clock_rate
name = self.name
peak_memory_bandwidth = self.peak_memory_bandwidth
id = self.id
memory_bus_width = self.memory_bus_width
memory_clock_rate = self.memory_clock_rate
name = self.name
peak_memory_bandwidth = self.peak_memory_bandwidth
field_dict: Dict[str, Any] = {}
field_dict.update(self.additional_properties)
field_dict.update({})
if id is not UNSET:
field_dict: Dict[str, Any] = {}
field_dict.update(self.additional_properties)
field_dict.update({})
if id is not UNSET:
field_dict['id'] = id
if memory_bus_width is not UNSET:
field_dict['memory_bus_width'] = memory_bus_width