Skip to content

Commit 6af76a4

Browse files
committed
Make docstring format consistent
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 5f7aee9 commit 6af76a4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/frequenz/client/assets/types.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ class Location:
6262

6363
@staticmethod
6464
def from_protobuf(pb: PBLocation) -> "Location":
65-
"""
66-
Create a Location instance from a protobuf message.
65+
"""Create a Location instance from a protobuf message.
6766
6867
Args:
6968
pb: The protobuf Location message.
@@ -106,11 +105,11 @@ class Microgrid:
106105
"""Current operational status of the microgrid, represented as an integer."""
107106

108107
create_time: datetime
108+
"""Timestamp when the microgrid was created, in UTC."""
109109

110110
@staticmethod
111111
def from_protobuf(pb: PBMicrogrid) -> "Microgrid":
112-
"""
113-
Create a Microgrid instance from a protobuf message.
112+
"""Create a Microgrid instance from a protobuf message.
114113
115114
Args:
116115
pb: The protobuf Microgrid message.

0 commit comments

Comments
 (0)