Skip to content

Commit 542b5fa

Browse files
committed
sync stubs update
1 parent 8b65390 commit 542b5fa

2 files changed

Lines changed: 3 additions & 20 deletions

File tree

python/lib/sift_client/_tests/resources/test_data_imports.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from sift_client.resources.data_imports import _resolve_data_type_key
99
from sift_client.sift_types.channel import ChannelDataType
1010
from sift_client.sift_types.data_import import (
11-
Ch10ImportConfig,
1211
CsvDataColumn,
1312
CsvImportConfig,
1413
CsvTimeColumn,
@@ -131,21 +130,6 @@ def test_absolute_time_does_not_require_start_time(self):
131130
assert col.relative_start_time is None
132131

133132

134-
class TestCh10Config:
135-
def test_to_proto(self):
136-
config = Ch10ImportConfig(asset_name="my_asset", run_name="run1", scale_values=True)
137-
proto = config._to_proto()
138-
assert proto.asset_name == "my_asset"
139-
assert proto.run_name == "run1"
140-
assert proto.scale_values is True
141-
142-
def test_to_proto_defaults(self):
143-
config = Ch10ImportConfig(asset_name="my_asset")
144-
proto = config._to_proto()
145-
assert proto.run_name == ""
146-
assert proto.scale_values is False
147-
148-
149133
class TestTdmsConfig:
150134
def test_to_proto(self):
151135
config = TdmsImportConfig(

python/lib/sift_client/resources/sync_stubs/__init__.pyi

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -651,9 +651,8 @@ class DataImportAPI:
651651
provided.
652652
653653
Only CSV and Parquet files are currently supported for auto-detection.
654-
For other formats (TDMS, HDF5, CH10), create the config manually
655-
using ``TdmsImportConfig``, ``Hdf5ImportConfig``, or
656-
``Ch10ImportConfig``.
654+
For other formats (TDMS, HDF5), create the config manually
655+
using ``TdmsImportConfig`` or ``Hdf5ImportConfig``.
657656
658657
For CSV files, the server scans the first two rows for an optional
659658
JSON metadata row. Row 1 is checked first; row 2 is checked only
@@ -732,7 +731,7 @@ class DataImportAPI:
732731
733732
When ``config`` is omitted the file format is auto-detected via
734733
``detect_config`` (CSV and Parquet only). For other formats
735-
(TDMS, HDF5, CH10), ``config`` must be provided.
734+
(TDMS and HDF5), ``config`` must be provided.
736735
When ``asset`` is provided it overrides the config value;
737736
otherwise the config's ``asset_name`` is used.
738737
If neither ``run`` nor ``run_name`` is provided (and none is

0 commit comments

Comments
 (0)