Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Jun 13, 2023
1 parent 243b57f commit 0206f4f
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion rerun_py/rerun_sdk/rerun2/components/class_id_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class ClassIdArrayExt:
@staticmethod
def _from_similar(data: Any | None, *, mono: type, mono_aliases: Type, many: type, many_aliases: Type, arrow: type):
def _from_similar(data: Any | None, *, mono: type, mono_aliases: type, many: type, many_aliases: type, arrow: type):
if isinstance(data, Sequence) and (len(data) > 0 and isinstance(data[0], mono)):
array = np.asarray([class_id.id for class_id in data], np.uint16)
else:
Expand Down
2 changes: 1 addition & 1 deletion rerun_py/rerun_sdk/rerun2/components/color_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class ColorArrayExt:
@staticmethod
def _from_similar(data: Any | None, *, mono: type, mono_aliases: Type, many: type, many_aliases: Type, arrow: type):
def _from_similar(data: Any | None, *, mono: type, mono_aliases: type, many: type, many_aliases: type, arrow: type):
"""
Normalize flexible colors arrays.
Expand Down
2 changes: 1 addition & 1 deletion rerun_py/rerun_sdk/rerun2/components/draw_order_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class DrawOrderArrayExt:
@staticmethod
def _from_similar(data: Any | None, *, mono: type, mono_aliases: Type, many: type, many_aliases: Type, arrow: type):
def _from_similar(data: Any | None, *, mono: type, mono_aliases: type, many: type, many_aliases: type, arrow: type):
if isinstance(data, Sequence) and (len(data) > 0 and isinstance(data[0], mono)):
array = np.asarray([draw_order.value for draw_order in data], np.float32)
else:
Expand Down
2 changes: 1 addition & 1 deletion rerun_py/rerun_sdk/rerun2/components/instance_key_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class InstanceKeyArrayExt:
@staticmethod
def _from_similar(data: Any | None, *, mono: type, mono_aliases: Type, many: type, many_aliases: Type, arrow: type):
def _from_similar(data: Any | None, *, mono: type, mono_aliases: type, many: type, many_aliases: type, arrow: type):
if isinstance(data, Sequence) and (len(data) > 0 and isinstance(data[0], mono)):
array = np.asarray([datum.value for datum in data], np.uint64)
else:
Expand Down
2 changes: 1 addition & 1 deletion rerun_py/rerun_sdk/rerun2/components/keypoint_id_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class KeypointIdArrayExt:
@staticmethod
def _from_similar(data: Any | None, *, mono: type, mono_aliases: Type, many: type, many_aliases: Type, arrow: type):
def _from_similar(data: Any | None, *, mono: type, mono_aliases: type, many: type, many_aliases: type, arrow: type):
if isinstance(data, Sequence) and (len(data) > 0 and isinstance(data[0], mono)):
array = np.asarray([class_id.id for class_id in data], np.uint16)
else:
Expand Down
2 changes: 1 addition & 1 deletion rerun_py/rerun_sdk/rerun2/components/label_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class LabelArrayExt:
@staticmethod
def _from_similar(data: Any | None, *, mono: type, mono_aliases: Type, many: type, many_aliases: Type, arrow: type):
def _from_similar(data: Any | None, *, mono: type, mono_aliases: type, many: type, many_aliases: type, arrow: type):
if isinstance(data, Sequence):
array = [str(datum) for datum in data]
else:
Expand Down
2 changes: 1 addition & 1 deletion rerun_py/rerun_sdk/rerun2/components/point2d_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class Point2DArrayExt:
@staticmethod
def _from_similar(data: Any | None, *, mono: type, mono_aliases: Type, many: type, many_aliases: Type, arrow: type):
def _from_similar(data: Any | None, *, mono: type, mono_aliases: type, many: type, many_aliases: type, arrow: type):
if isinstance(data, Sequence) and (len(data) > 0 and isinstance(data[0], mono)):
arrays = [np.asarray(datum) for datum in data]
else:
Expand Down
2 changes: 1 addition & 1 deletion rerun_py/rerun_sdk/rerun2/components/radius_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class RadiusArrayExt:
@staticmethod
def _from_similar(data: Any | None, *, mono: type, mono_aliases: Type, many: type, many_aliases: Type, arrow: type):
def _from_similar(data: Any | None, *, mono: type, mono_aliases: type, many: type, many_aliases: type, arrow: type):
if isinstance(data, Sequence) and (len(data) > 0 and isinstance(data[0], mono)):
array = np.asarray([radius.value for radius in data], np.float32)
else:
Expand Down
2 changes: 1 addition & 1 deletion rerun_py/rerun_sdk/rerun2/datatypes/vec2d_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class Vec2DArrayExt:
@staticmethod
def _from_similar(data: Any | None, *, mono: type, mono_aliases: Type, many: type, many_aliases: Type, arrow: type):
def _from_similar(data: Any | None, *, mono: type, mono_aliases: type, many: type, many_aliases: type, arrow: type):
if isinstance(data, Sequence) and (len(data) > 0 and isinstance(data[0], mono)):
arrays = [np.asarray(datum) for datum in data]
else:
Expand Down

0 comments on commit 0206f4f

Please sign in to comment.