Skip to content

Commit

Permalink
add extensions for fuzzy components and datatypes
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Jun 28, 2023
1 parent 955ecfb commit 46068dd
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 0 deletions.
71 changes: 71 additions & 0 deletions rerun_py/rerun_sdk/rerun/_rerun2/components/fuzzy_ext.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
from __future__ import annotations

__all__ = [
"AffixFuzzer1ArrayExt",
"AffixFuzzer2ArrayExt",
"AffixFuzzer3ArrayExt",
"AffixFuzzer4ArrayExt",
"AffixFuzzer5ArrayExt",
"AffixFuzzer6ArrayExt",
"AffixFuzzer7ArrayExt",
]

from typing import Any

import pyarrow as pa


class AffixFuzzer1ArrayExt:
@staticmethod
def _from_similar(
data: Any | None, *, mono: type, mono_aliases: Any, many: type, many_aliases: Any, arrow: type
) -> pa.Array:
raise NotImplementedError()


class AffixFuzzer2ArrayExt:
@staticmethod
def _from_similar(
data: Any | None, *, mono: type, mono_aliases: Any, many: type, many_aliases: Any, arrow: type
) -> pa.Array:
raise NotImplementedError()


class AffixFuzzer3ArrayExt:
@staticmethod
def _from_similar(
data: Any | None, *, mono: type, mono_aliases: Any, many: type, many_aliases: Any, arrow: type
) -> pa.Array:
raise NotImplementedError()


class AffixFuzzer4ArrayExt:
@staticmethod
def _from_similar(
data: Any | None, *, mono: type, mono_aliases: Any, many: type, many_aliases: Any, arrow: type
) -> pa.Array:
raise NotImplementedError()


class AffixFuzzer5ArrayExt:
@staticmethod
def _from_similar(
data: Any | None, *, mono: type, mono_aliases: Any, many: type, many_aliases: Any, arrow: type
) -> pa.Array:
raise NotImplementedError()


class AffixFuzzer6ArrayExt:
@staticmethod
def _from_similar(
data: Any | None, *, mono: type, mono_aliases: Any, many: type, many_aliases: Any, arrow: type
) -> pa.Array:
raise NotImplementedError()


class AffixFuzzer7ArrayExt:
@staticmethod
def _from_similar(
data: Any | None, *, mono: type, mono_aliases: Any, many: type, many_aliases: Any, arrow: type
) -> pa.Array:
raise NotImplementedError()
26 changes: 26 additions & 0 deletions rerun_py/rerun_sdk/rerun/_rerun2/datatypes/fuzzy_ext.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
from __future__ import annotations

__all__ = [
"AffixFuzzer1ArrayExt",
"AffixFuzzer2ArrayExt",
]

from typing import Any

import pyarrow as pa


class AffixFuzzer1ArrayExt:
@staticmethod
def _from_similar(
data: Any | None, *, mono: type, mono_aliases: Any, many: type, many_aliases: Any, arrow: type
) -> pa.Array:
raise NotImplementedError()


class AffixFuzzer2ArrayExt:
@staticmethod
def _from_similar(
data: Any | None, *, mono: type, mono_aliases: Any, many: type, many_aliases: Any, arrow: type
) -> pa.Array:
raise NotImplementedError()

0 comments on commit 46068dd

Please sign in to comment.