Skip to content

Commit

Permalink
rerun codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Jun 28, 2023
1 parent 87c96ee commit 8976c19
Show file tree
Hide file tree
Showing 11 changed files with 50 additions and 22 deletions.
2 changes: 1 addition & 1 deletion crates/re_types/source_hash.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This is a sha256 hash for all direct and indirect dependencies of this crate's build script.
# It can be safely removed at anytime to force the build script to run again.
# Check out build.rs to see how it's computed.
4c8e264941947f834347ad51392f8d950b1402244fda5d67fb5b9fbd87ac9665
575d96a807abbf1aafb35f62a4c9c18870c9c976723faed6b778e787c38f0e10
7 changes: 4 additions & 3 deletions rerun_py/rerun_sdk/rerun/_rerun2/archetypes/points2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

from __future__ import annotations

__all__ = ["Points2D"]


from dataclasses import dataclass

__all__ = ["Points2D"]

from .. import components

## --- Points2D --- ##


@dataclass
class Points2D:
Expand Down
7 changes: 5 additions & 2 deletions rerun_py/rerun_sdk/rerun/_rerun2/components/class_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@

from __future__ import annotations

__all__ = ["ClassId", "ClassIdArray", "ClassIdArrayLike", "ClassIdLike", "ClassIdType"]

from dataclasses import dataclass
from typing import Any, Sequence, Union

import numpy as np
import numpy.typing as npt
import pyarrow as pa

__all__ = ["ClassId", "ClassIdArray", "ClassIdArrayLike", "ClassIdLike", "ClassIdType"]


## --- ClassId --- ##


@dataclass
class ClassId:
Expand Down
7 changes: 5 additions & 2 deletions rerun_py/rerun_sdk/rerun/_rerun2/components/color.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@

from __future__ import annotations

__all__ = ["Color", "ColorArray", "ColorArrayLike", "ColorLike", "ColorType"]

from dataclasses import dataclass
from typing import Any, Sequence, Union

import numpy as np
import numpy.typing as npt
import pyarrow as pa

__all__ = ["Color", "ColorArray", "ColorArrayLike", "ColorLike", "ColorType"]


## --- Color --- ##


@dataclass
class Color:
Expand Down
7 changes: 5 additions & 2 deletions rerun_py/rerun_sdk/rerun/_rerun2/components/draw_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@

from __future__ import annotations

__all__ = ["DrawOrder", "DrawOrderArray", "DrawOrderArrayLike", "DrawOrderLike", "DrawOrderType"]

from dataclasses import dataclass
from typing import Any, Sequence, Union

import numpy as np
import numpy.typing as npt
import pyarrow as pa

__all__ = ["DrawOrder", "DrawOrderArray", "DrawOrderArrayLike", "DrawOrderLike", "DrawOrderType"]


## --- DrawOrder --- ##


@dataclass
class DrawOrder:
Expand Down
7 changes: 5 additions & 2 deletions rerun_py/rerun_sdk/rerun/_rerun2/components/instance_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@

from __future__ import annotations

__all__ = ["InstanceKey", "InstanceKeyArray", "InstanceKeyArrayLike", "InstanceKeyLike", "InstanceKeyType"]

from dataclasses import dataclass
from typing import Any, Sequence, Union

import numpy as np
import numpy.typing as npt
import pyarrow as pa

__all__ = ["InstanceKey", "InstanceKeyArray", "InstanceKeyArrayLike", "InstanceKeyLike", "InstanceKeyType"]


## --- InstanceKey --- ##


@dataclass
class InstanceKey:
Expand Down
7 changes: 5 additions & 2 deletions rerun_py/rerun_sdk/rerun/_rerun2/components/keypoint_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@

from __future__ import annotations

__all__ = ["KeypointId", "KeypointIdArray", "KeypointIdArrayLike", "KeypointIdLike", "KeypointIdType"]

from dataclasses import dataclass
from typing import Any, Sequence, Union

import numpy as np
import numpy.typing as npt
import pyarrow as pa

__all__ = ["KeypointId", "KeypointIdArray", "KeypointIdArrayLike", "KeypointIdLike", "KeypointIdType"]


## --- KeypointId --- ##


@dataclass
class KeypointId:
Expand Down
7 changes: 5 additions & 2 deletions rerun_py/rerun_sdk/rerun/_rerun2/components/label.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@

from __future__ import annotations

__all__ = ["Label", "LabelArray", "LabelArrayLike", "LabelLike", "LabelType"]

from dataclasses import dataclass
from typing import Any, Sequence, Union

import pyarrow as pa

__all__ = ["Label", "LabelArray", "LabelArrayLike", "LabelLike", "LabelType"]


## --- Label --- ##


@dataclass
class Label:
Expand Down
7 changes: 5 additions & 2 deletions rerun_py/rerun_sdk/rerun/_rerun2/components/point2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@

from __future__ import annotations

__all__ = ["Point2D", "Point2DArray", "Point2DArrayLike", "Point2DLike", "Point2DType"]

from dataclasses import dataclass
from typing import Any, Sequence, Tuple, Union

import numpy as np
import numpy.typing as npt
import pyarrow as pa

__all__ = ["Point2D", "Point2DArray", "Point2DArrayLike", "Point2DLike", "Point2DType"]


## --- Point2D --- ##


@dataclass
class Point2D:
Expand Down
7 changes: 5 additions & 2 deletions rerun_py/rerun_sdk/rerun/_rerun2/components/radius.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@

from __future__ import annotations

__all__ = ["Radius", "RadiusArray", "RadiusArrayLike", "RadiusLike", "RadiusType"]

from dataclasses import dataclass
from typing import Any, Sequence, Union

import numpy as np
import numpy.typing as npt
import pyarrow as pa

__all__ = ["Radius", "RadiusArray", "RadiusArrayLike", "RadiusLike", "RadiusType"]


## --- Radius --- ##


@dataclass
class Radius:
Expand Down
7 changes: 5 additions & 2 deletions rerun_py/rerun_sdk/rerun/_rerun2/datatypes/vec2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@

from __future__ import annotations

__all__ = ["Vec2D", "Vec2DArray", "Vec2DArrayLike", "Vec2DLike", "Vec2DType"]

from dataclasses import dataclass
from typing import Any, Sequence, Union

import numpy as np
import numpy.typing as npt
import pyarrow as pa

__all__ = ["Vec2D", "Vec2DArray", "Vec2DArrayLike", "Vec2DLike", "Vec2DType"]


## --- Vec2D --- ##


@dataclass
class Vec2D:
Expand Down

0 comments on commit 8976c19

Please sign in to comment.