|
| 1 | +Subject: [PATCH] lint again |
| 2 | +--- |
| 3 | +Index: rerun_py/rerun_bindings/rerun_bindings.pyi |
| 4 | +IDEA additional info: |
| 5 | +Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP |
| 6 | +<+>UTF-8 |
| 7 | +=================================================================== |
| 8 | +diff --git a/rerun_py/rerun_bindings/rerun_bindings.pyi b/rerun_py/rerun_bindings/rerun_bindings.pyi |
| 9 | +--- a/rerun_py/rerun_bindings/rerun_bindings.pyi (revision 15ee2b91f40be3750ceb896dd5a6b77ce2c3fcdc) |
| 10 | ++++ b/rerun_py/rerun_bindings/rerun_bindings.pyi (date 1728313461830) |
| 11 | +@@ -4,42 +4,41 @@ |
| 12 | + |
| 13 | + from .types import AnyColumn, ComponentLike, ViewContentsLike |
| 14 | + |
| 15 | +-class ControlColumnDescriptor: |
| 16 | +- """A control-level column such as `RowId`.""" |
| 17 | +- |
| 18 | +-class ControlColumnSelector: |
| 19 | +- """A selector for a control column.""" |
| 20 | +- |
| 21 | +- @staticmethod |
| 22 | +- def row_id() -> ControlColumnSelector: ... |
| 23 | + |
| 24 | + class IndexColumnDescriptor: |
| 25 | + """A column containing the index values for when the component data was updated.""" |
| 26 | + |
| 27 | ++ |
| 28 | + class IndexColumnSelector: |
| 29 | + """A selector for an index column.""" |
| 30 | + |
| 31 | + def __init__(self, timeline: str): ... |
| 32 | + |
| 33 | ++ |
| 34 | + class ComponentColumnDescriptor: |
| 35 | + """A column containing the component data.""" |
| 36 | + |
| 37 | + def with_dictionary_encoding(self) -> ComponentColumnDescriptor: ... |
| 38 | + |
| 39 | ++ |
| 40 | + class ComponentColumnSelector: |
| 41 | + """A selector for a component column.""" |
| 42 | + |
| 43 | + def __new__(cls, entity_path: str, component_type: ComponentLike): ... |
| 44 | ++ |
| 45 | + def with_dictionary_encoding(self) -> ComponentColumnSelector: ... |
| 46 | + |
| 47 | ++ |
| 48 | + class Schema: |
| 49 | + """The schema representing all columns in a [`Recording`][].""" |
| 50 | + |
| 51 | +- def control_columns(self) -> list[ControlColumnDescriptor]: ... |
| 52 | + def index_columns(self) -> list[IndexColumnDescriptor]: ... |
| 53 | ++ |
| 54 | + def component_columns(self) -> list[ComponentColumnDescriptor]: ... |
| 55 | ++ |
| 56 | + def column_for(self, entity_path: str, component: ComponentLike) -> Optional[ComponentColumnDescriptor]: ... |
| 57 | + |
| 58 | ++ |
| 59 | + class RecordingView: |
| 60 | + """ |
| 61 | + A view of a recording restricted to a given index, containing a specific set of entities and components. |
| 62 | +@@ -68,18 +67,23 @@ |
| 63 | + |
| 64 | + def select(self, *args: AnyColumn, columns: Optional[Sequence[AnyColumn]] = None) -> pa.RecordBatchReader: ... |
| 65 | + |
| 66 | ++ |
| 67 | + class Recording: |
| 68 | + """A single recording.""" |
| 69 | + |
| 70 | + def schema(self) -> Schema: ... |
| 71 | ++ |
| 72 | + def view(self, index: str, contents: ViewContentsLike) -> RecordingView: ... |
| 73 | + |
| 74 | ++ |
| 75 | + class RRDArchive: |
| 76 | + """An archive loaded from an RRD, typically containing 1 or more recordings or blueprints.""" |
| 77 | + |
| 78 | + def num_recordings(self) -> int: ... |
| 79 | ++ |
| 80 | + def all_recordings(self) -> list[Recording]: ... |
| 81 | + |
| 82 | ++ |
| 83 | + def load_recording(filename: str) -> Recording: |
| 84 | + """ |
| 85 | + Load a single recording from an RRD. |
| 86 | +@@ -94,6 +98,7 @@ |
| 87 | + """ |
| 88 | + ... |
| 89 | + |
| 90 | ++ |
| 91 | + def load_archive(filename: str) -> RRDArchive: |
| 92 | + """ |
| 93 | + Load a rerun archive file from disk. |
| 94 | +Index: rerun_py/rerun_sdk/rerun/dataframe.py |
| 95 | +IDEA additional info: |
| 96 | +Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP |
| 97 | +<+>UTF-8 |
| 98 | +=================================================================== |
| 99 | +diff --git a/rerun_py/rerun_sdk/rerun/dataframe.py b/rerun_py/rerun_sdk/rerun/dataframe.py |
| 100 | +--- a/rerun_py/rerun_sdk/rerun/dataframe.py (revision 15ee2b91f40be3750ceb896dd5a6b77ce2c3fcdc) |
| 101 | ++++ b/rerun_py/rerun_sdk/rerun/dataframe.py (date 1728313401654) |
| 102 | +@@ -3,8 +3,6 @@ |
| 103 | + from rerun_bindings import ( |
| 104 | + ComponentColumnDescriptor as ComponentColumnDescriptor, |
| 105 | + ComponentColumnSelector as ComponentColumnSelector, |
| 106 | +- ControlColumnDescriptor as ControlColumnDescriptor, |
| 107 | +- ControlColumnSelector as ControlColumnSelector, |
| 108 | + Recording as Recording, |
| 109 | + RRDArchive as RRDArchive, |
| 110 | + Schema as Schema, |
| 111 | +Index: rerun_py/rerun_bindings/types.py |
| 112 | +IDEA additional info: |
| 113 | +Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP |
| 114 | +<+>UTF-8 |
| 115 | +=================================================================== |
| 116 | +diff --git a/rerun_py/rerun_bindings/types.py b/rerun_py/rerun_bindings/types.py |
| 117 | +--- a/rerun_py/rerun_bindings/types.py (revision 15ee2b91f40be3750ceb896dd5a6b77ce2c3fcdc) |
| 118 | ++++ b/rerun_py/rerun_bindings/types.py (date 1728313429694) |
| 119 | +@@ -8,20 +8,15 @@ |
| 120 | + from .rerun_bindings import ( |
| 121 | + ComponentColumnDescriptor as ComponentColumnDescriptor, |
| 122 | + ComponentColumnSelector as ComponentColumnSelector, |
| 123 | +- ControlColumnDescriptor as ControlColumnDescriptor, |
| 124 | +- ControlColumnSelector as ControlColumnSelector, |
| 125 | + TimeColumnDescriptor as TimeColumnDescriptor, |
| 126 | + TimeColumnSelector as TimeColumnSelector, |
| 127 | + ) |
| 128 | + |
| 129 | +- |
| 130 | + ComponentLike: TypeAlias = Union[str, type["ComponentMixin"]] |
| 131 | + |
| 132 | + AnyColumn: TypeAlias = Union[ |
| 133 | +- "ControlColumnDescriptor", |
| 134 | + "TimeColumnDescriptor", |
| 135 | + "ComponentColumnDescriptor", |
| 136 | +- "ControlColumnSelector", |
| 137 | + "TimeColumnSelector", |
| 138 | + "ComponentColumnSelector", |
| 139 | + ] |
0 commit comments