nominal-api 0.911.1__py3-none-any.whl → 0.912.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of nominal-api might be problematic. Click here for more details.
- nominal_api/__init__.py +1 -1
- nominal_api/_impl.py +2 -451
- nominal_api/ingest_api/__init__.py +0 -12
- {nominal_api-0.911.1.dist-info → nominal_api-0.912.0.dist-info}/METADATA +1 -1
- {nominal_api-0.911.1.dist-info → nominal_api-0.912.0.dist-info}/RECORD +7 -7
- {nominal_api-0.911.1.dist-info → nominal_api-0.912.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.911.1.dist-info → nominal_api-0.912.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -9186,85 +9186,6 @@ ingest_api_DeprecatedNewDataSourceVisitor.__qualname__ = "DeprecatedNewDataSourc
|
|
|
9186
9186
|
ingest_api_DeprecatedNewDataSourceVisitor.__module__ = "nominal_api.ingest_api"
|
|
9187
9187
|
|
|
9188
9188
|
|
|
9189
|
-
class ingest_api_DeprecatedTimestampMetadata(ConjureBeanType):
|
|
9190
|
-
|
|
9191
|
-
@builtins.classmethod
|
|
9192
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
9193
|
-
return {
|
|
9194
|
-
'series_name': ConjureFieldDefinition('seriesName', str),
|
|
9195
|
-
'is_absolute': ConjureFieldDefinition('isAbsolute', bool)
|
|
9196
|
-
}
|
|
9197
|
-
|
|
9198
|
-
__slots__: List[str] = ['_series_name', '_is_absolute']
|
|
9199
|
-
|
|
9200
|
-
def __init__(self, is_absolute: bool, series_name: str) -> None:
|
|
9201
|
-
self._series_name = series_name
|
|
9202
|
-
self._is_absolute = is_absolute
|
|
9203
|
-
|
|
9204
|
-
@builtins.property
|
|
9205
|
-
def series_name(self) -> str:
|
|
9206
|
-
return self._series_name
|
|
9207
|
-
|
|
9208
|
-
@builtins.property
|
|
9209
|
-
def is_absolute(self) -> bool:
|
|
9210
|
-
return self._is_absolute
|
|
9211
|
-
|
|
9212
|
-
|
|
9213
|
-
ingest_api_DeprecatedTimestampMetadata.__name__ = "DeprecatedTimestampMetadata"
|
|
9214
|
-
ingest_api_DeprecatedTimestampMetadata.__qualname__ = "DeprecatedTimestampMetadata"
|
|
9215
|
-
ingest_api_DeprecatedTimestampMetadata.__module__ = "nominal_api.ingest_api"
|
|
9216
|
-
|
|
9217
|
-
|
|
9218
|
-
class ingest_api_DeprecatedTriggerIngest(ConjureBeanType):
|
|
9219
|
-
|
|
9220
|
-
@builtins.classmethod
|
|
9221
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
9222
|
-
return {
|
|
9223
|
-
'source': ConjureFieldDefinition('source', ingest_api_IngestSource),
|
|
9224
|
-
'properties': ConjureFieldDefinition('properties', Dict[str, str]),
|
|
9225
|
-
'dataset_name': ConjureFieldDefinition('datasetName', OptionalTypeWrapper[str]),
|
|
9226
|
-
'timestamp_metadata': ConjureFieldDefinition('timestampMetadata', OptionalTypeWrapper[ingest_api_DeprecatedTimestampMetadata]),
|
|
9227
|
-
'workspace': ConjureFieldDefinition('workspace', OptionalTypeWrapper[api_rids_WorkspaceRid])
|
|
9228
|
-
}
|
|
9229
|
-
|
|
9230
|
-
__slots__: List[str] = ['_source', '_properties', '_dataset_name', '_timestamp_metadata', '_workspace']
|
|
9231
|
-
|
|
9232
|
-
def __init__(self, properties: Dict[str, str], source: "ingest_api_IngestSource", dataset_name: Optional[str] = None, timestamp_metadata: Optional["ingest_api_DeprecatedTimestampMetadata"] = None, workspace: Optional[str] = None) -> None:
|
|
9233
|
-
self._source = source
|
|
9234
|
-
self._properties = properties
|
|
9235
|
-
self._dataset_name = dataset_name
|
|
9236
|
-
self._timestamp_metadata = timestamp_metadata
|
|
9237
|
-
self._workspace = workspace
|
|
9238
|
-
|
|
9239
|
-
@builtins.property
|
|
9240
|
-
def source(self) -> "ingest_api_IngestSource":
|
|
9241
|
-
return self._source
|
|
9242
|
-
|
|
9243
|
-
@builtins.property
|
|
9244
|
-
def properties(self) -> Dict[str, str]:
|
|
9245
|
-
return self._properties
|
|
9246
|
-
|
|
9247
|
-
@builtins.property
|
|
9248
|
-
def dataset_name(self) -> Optional[str]:
|
|
9249
|
-
return self._dataset_name
|
|
9250
|
-
|
|
9251
|
-
@builtins.property
|
|
9252
|
-
def timestamp_metadata(self) -> Optional["ingest_api_DeprecatedTimestampMetadata"]:
|
|
9253
|
-
return self._timestamp_metadata
|
|
9254
|
-
|
|
9255
|
-
@builtins.property
|
|
9256
|
-
def workspace(self) -> Optional[str]:
|
|
9257
|
-
"""The workspace in which to create the dataset. If not provided, the dataset will be created in the default workspace for
|
|
9258
|
-
the user's organization, if the default workspace for the organization is configured.
|
|
9259
|
-
"""
|
|
9260
|
-
return self._workspace
|
|
9261
|
-
|
|
9262
|
-
|
|
9263
|
-
ingest_api_DeprecatedTriggerIngest.__name__ = "DeprecatedTriggerIngest"
|
|
9264
|
-
ingest_api_DeprecatedTriggerIngest.__qualname__ = "DeprecatedTriggerIngest"
|
|
9265
|
-
ingest_api_DeprecatedTriggerIngest.__module__ = "nominal_api.ingest_api"
|
|
9266
|
-
|
|
9267
|
-
|
|
9268
9189
|
class ingest_api_DockerImageSource(ConjureBeanType):
|
|
9269
9190
|
"""Docker container image source definition.
|
|
9270
9191
|
"""
|
|
@@ -9960,93 +9881,42 @@ ingest_api_IngestJob.__module__ = "nominal_api.ingest_api"
|
|
|
9960
9881
|
|
|
9961
9882
|
|
|
9962
9883
|
class ingest_api_IngestJobRequest(ConjureUnionType):
|
|
9963
|
-
_ingest_mcap: Optional["ingest_api_IngestMcapRequest"] = None
|
|
9964
|
-
_trigger_file_ingest: Optional["ingest_api_TriggerFileIngest"] = None
|
|
9965
9884
|
_ingest_request: Optional["ingest_api_IngestRequest"] = None
|
|
9966
|
-
_trigger_ingest: Optional["ingest_api_TriggerIngest"] = None
|
|
9967
9885
|
|
|
9968
9886
|
@builtins.classmethod
|
|
9969
9887
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
9970
9888
|
return {
|
|
9971
|
-
'
|
|
9972
|
-
'trigger_file_ingest': ConjureFieldDefinition('triggerFileIngest', ingest_api_TriggerFileIngest),
|
|
9973
|
-
'ingest_request': ConjureFieldDefinition('ingestRequest', ingest_api_IngestRequest),
|
|
9974
|
-
'trigger_ingest': ConjureFieldDefinition('triggerIngest', ingest_api_TriggerIngest)
|
|
9889
|
+
'ingest_request': ConjureFieldDefinition('ingestRequest', ingest_api_IngestRequest)
|
|
9975
9890
|
}
|
|
9976
9891
|
|
|
9977
9892
|
def __init__(
|
|
9978
9893
|
self,
|
|
9979
|
-
ingest_mcap: Optional["ingest_api_IngestMcapRequest"] = None,
|
|
9980
|
-
trigger_file_ingest: Optional["ingest_api_TriggerFileIngest"] = None,
|
|
9981
9894
|
ingest_request: Optional["ingest_api_IngestRequest"] = None,
|
|
9982
|
-
trigger_ingest: Optional["ingest_api_TriggerIngest"] = None,
|
|
9983
9895
|
type_of_union: Optional[str] = None
|
|
9984
9896
|
) -> None:
|
|
9985
9897
|
if type_of_union is None:
|
|
9986
|
-
if (
|
|
9898
|
+
if (ingest_request is not None) != 1:
|
|
9987
9899
|
raise ValueError('a union must contain a single member')
|
|
9988
9900
|
|
|
9989
|
-
if ingest_mcap is not None:
|
|
9990
|
-
self._ingest_mcap = ingest_mcap
|
|
9991
|
-
self._type = 'ingestMcap'
|
|
9992
|
-
if trigger_file_ingest is not None:
|
|
9993
|
-
self._trigger_file_ingest = trigger_file_ingest
|
|
9994
|
-
self._type = 'triggerFileIngest'
|
|
9995
9901
|
if ingest_request is not None:
|
|
9996
9902
|
self._ingest_request = ingest_request
|
|
9997
9903
|
self._type = 'ingestRequest'
|
|
9998
|
-
if trigger_ingest is not None:
|
|
9999
|
-
self._trigger_ingest = trigger_ingest
|
|
10000
|
-
self._type = 'triggerIngest'
|
|
10001
9904
|
|
|
10002
|
-
elif type_of_union == 'ingestMcap':
|
|
10003
|
-
if ingest_mcap is None:
|
|
10004
|
-
raise ValueError('a union value must not be None')
|
|
10005
|
-
self._ingest_mcap = ingest_mcap
|
|
10006
|
-
self._type = 'ingestMcap'
|
|
10007
|
-
elif type_of_union == 'triggerFileIngest':
|
|
10008
|
-
if trigger_file_ingest is None:
|
|
10009
|
-
raise ValueError('a union value must not be None')
|
|
10010
|
-
self._trigger_file_ingest = trigger_file_ingest
|
|
10011
|
-
self._type = 'triggerFileIngest'
|
|
10012
9905
|
elif type_of_union == 'ingestRequest':
|
|
10013
9906
|
if ingest_request is None:
|
|
10014
9907
|
raise ValueError('a union value must not be None')
|
|
10015
9908
|
self._ingest_request = ingest_request
|
|
10016
9909
|
self._type = 'ingestRequest'
|
|
10017
|
-
elif type_of_union == 'triggerIngest':
|
|
10018
|
-
if trigger_ingest is None:
|
|
10019
|
-
raise ValueError('a union value must not be None')
|
|
10020
|
-
self._trigger_ingest = trigger_ingest
|
|
10021
|
-
self._type = 'triggerIngest'
|
|
10022
|
-
|
|
10023
|
-
@builtins.property
|
|
10024
|
-
def ingest_mcap(self) -> Optional["ingest_api_IngestMcapRequest"]:
|
|
10025
|
-
return self._ingest_mcap
|
|
10026
|
-
|
|
10027
|
-
@builtins.property
|
|
10028
|
-
def trigger_file_ingest(self) -> Optional["ingest_api_TriggerFileIngest"]:
|
|
10029
|
-
return self._trigger_file_ingest
|
|
10030
9910
|
|
|
10031
9911
|
@builtins.property
|
|
10032
9912
|
def ingest_request(self) -> Optional["ingest_api_IngestRequest"]:
|
|
10033
9913
|
return self._ingest_request
|
|
10034
9914
|
|
|
10035
|
-
@builtins.property
|
|
10036
|
-
def trigger_ingest(self) -> Optional["ingest_api_TriggerIngest"]:
|
|
10037
|
-
return self._trigger_ingest
|
|
10038
|
-
|
|
10039
9915
|
def accept(self, visitor) -> Any:
|
|
10040
9916
|
if not isinstance(visitor, ingest_api_IngestJobRequestVisitor):
|
|
10041
9917
|
raise ValueError('{} is not an instance of ingest_api_IngestJobRequestVisitor'.format(visitor.__class__.__name__))
|
|
10042
|
-
if self._type == 'ingestMcap' and self.ingest_mcap is not None:
|
|
10043
|
-
return visitor._ingest_mcap(self.ingest_mcap)
|
|
10044
|
-
if self._type == 'triggerFileIngest' and self.trigger_file_ingest is not None:
|
|
10045
|
-
return visitor._trigger_file_ingest(self.trigger_file_ingest)
|
|
10046
9918
|
if self._type == 'ingestRequest' and self.ingest_request is not None:
|
|
10047
9919
|
return visitor._ingest_request(self.ingest_request)
|
|
10048
|
-
if self._type == 'triggerIngest' and self.trigger_ingest is not None:
|
|
10049
|
-
return visitor._trigger_ingest(self.trigger_ingest)
|
|
10050
9920
|
|
|
10051
9921
|
|
|
10052
9922
|
ingest_api_IngestJobRequest.__name__ = "IngestJobRequest"
|
|
@@ -10056,22 +9926,10 @@ ingest_api_IngestJobRequest.__module__ = "nominal_api.ingest_api"
|
|
|
10056
9926
|
|
|
10057
9927
|
class ingest_api_IngestJobRequestVisitor:
|
|
10058
9928
|
|
|
10059
|
-
@abstractmethod
|
|
10060
|
-
def _ingest_mcap(self, ingest_mcap: "ingest_api_IngestMcapRequest") -> Any:
|
|
10061
|
-
pass
|
|
10062
|
-
|
|
10063
|
-
@abstractmethod
|
|
10064
|
-
def _trigger_file_ingest(self, trigger_file_ingest: "ingest_api_TriggerFileIngest") -> Any:
|
|
10065
|
-
pass
|
|
10066
|
-
|
|
10067
9929
|
@abstractmethod
|
|
10068
9930
|
def _ingest_request(self, ingest_request: "ingest_api_IngestRequest") -> Any:
|
|
10069
9931
|
pass
|
|
10070
9932
|
|
|
10071
|
-
@abstractmethod
|
|
10072
|
-
def _trigger_ingest(self, trigger_ingest: "ingest_api_TriggerIngest") -> Any:
|
|
10073
|
-
pass
|
|
10074
|
-
|
|
10075
9933
|
|
|
10076
9934
|
ingest_api_IngestJobRequestVisitor.__name__ = "IngestJobRequestVisitor"
|
|
10077
9935
|
ingest_api_IngestJobRequestVisitor.__qualname__ = "IngestJobRequestVisitor"
|
|
@@ -10776,102 +10634,6 @@ Returns the same response format as the /ingest endpoint.
|
|
|
10776
10634
|
_decoder = ConjureDecoder()
|
|
10777
10635
|
return _decoder.decode(_response.json(), ingest_api_IngestResponse, self._return_none_for_unknown_union_types)
|
|
10778
10636
|
|
|
10779
|
-
def deprecated_trigger_ingest(self, auth_header: str, trigger_ingest: "ingest_api_DeprecatedTriggerIngest") -> "ingest_api_TriggeredIngest":
|
|
10780
|
-
_conjure_encoder = ConjureEncoder()
|
|
10781
|
-
|
|
10782
|
-
_headers: Dict[str, Any] = {
|
|
10783
|
-
'Accept': 'application/json',
|
|
10784
|
-
'Content-Type': 'application/json',
|
|
10785
|
-
'Authorization': auth_header,
|
|
10786
|
-
}
|
|
10787
|
-
|
|
10788
|
-
_params: Dict[str, Any] = {
|
|
10789
|
-
}
|
|
10790
|
-
|
|
10791
|
-
_path_params: Dict[str, str] = {
|
|
10792
|
-
}
|
|
10793
|
-
|
|
10794
|
-
_json: Any = _conjure_encoder.default(trigger_ingest)
|
|
10795
|
-
|
|
10796
|
-
_path = '/ingest/v1/trigger-ingest'
|
|
10797
|
-
_path = _path.format(**_path_params)
|
|
10798
|
-
|
|
10799
|
-
_response: Response = self._request(
|
|
10800
|
-
'POST',
|
|
10801
|
-
self._uri + _path,
|
|
10802
|
-
params=_params,
|
|
10803
|
-
headers=_headers,
|
|
10804
|
-
json=_json)
|
|
10805
|
-
|
|
10806
|
-
_decoder = ConjureDecoder()
|
|
10807
|
-
return _decoder.decode(_response.json(), ingest_api_TriggeredIngest, self._return_none_for_unknown_union_types)
|
|
10808
|
-
|
|
10809
|
-
def trigger_ingest(self, auth_header: str, trigger_ingest: "ingest_api_TriggerIngest") -> "ingest_api_TriggeredIngest":
|
|
10810
|
-
"""Triggers an ingest job for the given data source.
|
|
10811
|
-
The ingest job will be processed asynchronously.
|
|
10812
|
-
"""
|
|
10813
|
-
_conjure_encoder = ConjureEncoder()
|
|
10814
|
-
|
|
10815
|
-
_headers: Dict[str, Any] = {
|
|
10816
|
-
'Accept': 'application/json',
|
|
10817
|
-
'Content-Type': 'application/json',
|
|
10818
|
-
'Authorization': auth_header,
|
|
10819
|
-
}
|
|
10820
|
-
|
|
10821
|
-
_params: Dict[str, Any] = {
|
|
10822
|
-
}
|
|
10823
|
-
|
|
10824
|
-
_path_params: Dict[str, str] = {
|
|
10825
|
-
}
|
|
10826
|
-
|
|
10827
|
-
_json: Any = _conjure_encoder.default(trigger_ingest)
|
|
10828
|
-
|
|
10829
|
-
_path = '/ingest/v1/trigger-ingest-v2'
|
|
10830
|
-
_path = _path.format(**_path_params)
|
|
10831
|
-
|
|
10832
|
-
_response: Response = self._request(
|
|
10833
|
-
'POST',
|
|
10834
|
-
self._uri + _path,
|
|
10835
|
-
params=_params,
|
|
10836
|
-
headers=_headers,
|
|
10837
|
-
json=_json)
|
|
10838
|
-
|
|
10839
|
-
_decoder = ConjureDecoder()
|
|
10840
|
-
return _decoder.decode(_response.json(), ingest_api_TriggeredIngest, self._return_none_for_unknown_union_types)
|
|
10841
|
-
|
|
10842
|
-
def trigger_file_ingest(self, auth_header: str, trigger_ingest: "ingest_api_TriggerFileIngest") -> "ingest_api_TriggeredIngest":
|
|
10843
|
-
"""Triggers an ingest job of a new file, allowing either creating a new dataset or uploading to an
|
|
10844
|
-
existing one.
|
|
10845
|
-
"""
|
|
10846
|
-
_conjure_encoder = ConjureEncoder()
|
|
10847
|
-
|
|
10848
|
-
_headers: Dict[str, Any] = {
|
|
10849
|
-
'Accept': 'application/json',
|
|
10850
|
-
'Content-Type': 'application/json',
|
|
10851
|
-
'Authorization': auth_header,
|
|
10852
|
-
}
|
|
10853
|
-
|
|
10854
|
-
_params: Dict[str, Any] = {
|
|
10855
|
-
}
|
|
10856
|
-
|
|
10857
|
-
_path_params: Dict[str, str] = {
|
|
10858
|
-
}
|
|
10859
|
-
|
|
10860
|
-
_json: Any = _conjure_encoder.default(trigger_ingest)
|
|
10861
|
-
|
|
10862
|
-
_path = '/ingest/v1/trigger-file-ingest'
|
|
10863
|
-
_path = _path.format(**_path_params)
|
|
10864
|
-
|
|
10865
|
-
_response: Response = self._request(
|
|
10866
|
-
'POST',
|
|
10867
|
-
self._uri + _path,
|
|
10868
|
-
params=_params,
|
|
10869
|
-
headers=_headers,
|
|
10870
|
-
json=_json)
|
|
10871
|
-
|
|
10872
|
-
_decoder = ConjureDecoder()
|
|
10873
|
-
return _decoder.decode(_response.json(), ingest_api_TriggeredIngest, self._return_none_for_unknown_union_types)
|
|
10874
|
-
|
|
10875
10637
|
def ingest_run(self, auth_header: str, request: "ingest_api_IngestRunRequest") -> "ingest_api_IngestRunResponse":
|
|
10876
10638
|
"""Creates a run and ingests data sources to be added to the run.
|
|
10877
10639
|
"""
|
|
@@ -10936,38 +10698,6 @@ existing one.
|
|
|
10936
10698
|
_decoder = ConjureDecoder()
|
|
10937
10699
|
return _decoder.decode(_response.json(), ingest_api_IngestVideoResponse, self._return_none_for_unknown_union_types)
|
|
10938
10700
|
|
|
10939
|
-
def ingest_mcap(self, auth_header: str, ingest_video: "ingest_api_IngestMcapRequest") -> "ingest_api_IngestMcapResponse":
|
|
10940
|
-
"""Ingests data from mcap files in the S3 Nominal upload bucket.
|
|
10941
|
-
"""
|
|
10942
|
-
_conjure_encoder = ConjureEncoder()
|
|
10943
|
-
|
|
10944
|
-
_headers: Dict[str, Any] = {
|
|
10945
|
-
'Accept': 'application/json',
|
|
10946
|
-
'Content-Type': 'application/json',
|
|
10947
|
-
'Authorization': auth_header,
|
|
10948
|
-
}
|
|
10949
|
-
|
|
10950
|
-
_params: Dict[str, Any] = {
|
|
10951
|
-
}
|
|
10952
|
-
|
|
10953
|
-
_path_params: Dict[str, str] = {
|
|
10954
|
-
}
|
|
10955
|
-
|
|
10956
|
-
_json: Any = _conjure_encoder.default(ingest_video)
|
|
10957
|
-
|
|
10958
|
-
_path = '/ingest/v1/ingest-mcap'
|
|
10959
|
-
_path = _path.format(**_path_params)
|
|
10960
|
-
|
|
10961
|
-
_response: Response = self._request(
|
|
10962
|
-
'POST',
|
|
10963
|
-
self._uri + _path,
|
|
10964
|
-
params=_params,
|
|
10965
|
-
headers=_headers,
|
|
10966
|
-
json=_json)
|
|
10967
|
-
|
|
10968
|
-
_decoder = ConjureDecoder()
|
|
10969
|
-
return _decoder.decode(_response.json(), ingest_api_IngestMcapResponse, self._return_none_for_unknown_union_types)
|
|
10970
|
-
|
|
10971
10701
|
def reingest_from_datasets(self, auth_header: str, request: "ingest_api_ReingestDatasetsRequest") -> "ingest_api_ReingestDatasetsResponse":
|
|
10972
10702
|
"""Re-ingests data from provided source datasets into either an existing target dataset, or a new one.
|
|
10973
10703
|
Only supported for CSV and Parquet dataset files.
|
|
@@ -12971,35 +12701,6 @@ ingest_api_SignPartResponse.__qualname__ = "SignPartResponse"
|
|
|
12971
12701
|
ingest_api_SignPartResponse.__module__ = "nominal_api.ingest_api"
|
|
12972
12702
|
|
|
12973
12703
|
|
|
12974
|
-
class ingest_api_SkipRowsConfig(ConjureBeanType):
|
|
12975
|
-
|
|
12976
|
-
@builtins.classmethod
|
|
12977
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
12978
|
-
return {
|
|
12979
|
-
'header_row_index': ConjureFieldDefinition('headerRowIndex', int),
|
|
12980
|
-
'data_start_row_index': ConjureFieldDefinition('dataStartRowIndex', int)
|
|
12981
|
-
}
|
|
12982
|
-
|
|
12983
|
-
__slots__: List[str] = ['_header_row_index', '_data_start_row_index']
|
|
12984
|
-
|
|
12985
|
-
def __init__(self, data_start_row_index: int, header_row_index: int) -> None:
|
|
12986
|
-
self._header_row_index = header_row_index
|
|
12987
|
-
self._data_start_row_index = data_start_row_index
|
|
12988
|
-
|
|
12989
|
-
@builtins.property
|
|
12990
|
-
def header_row_index(self) -> int:
|
|
12991
|
-
return self._header_row_index
|
|
12992
|
-
|
|
12993
|
-
@builtins.property
|
|
12994
|
-
def data_start_row_index(self) -> int:
|
|
12995
|
-
return self._data_start_row_index
|
|
12996
|
-
|
|
12997
|
-
|
|
12998
|
-
ingest_api_SkipRowsConfig.__name__ = "SkipRowsConfig"
|
|
12999
|
-
ingest_api_SkipRowsConfig.__qualname__ = "SkipRowsConfig"
|
|
13000
|
-
ingest_api_SkipRowsConfig.__module__ = "nominal_api.ingest_api"
|
|
13001
|
-
|
|
13002
|
-
|
|
13003
12704
|
class ingest_api_TagDetails(ConjureBeanType):
|
|
13004
12705
|
|
|
13005
12706
|
@builtins.classmethod
|
|
@@ -13218,156 +12919,6 @@ ingest_api_TimestampTypeVisitor.__qualname__ = "TimestampTypeVisitor"
|
|
|
13218
12919
|
ingest_api_TimestampTypeVisitor.__module__ = "nominal_api.ingest_api"
|
|
13219
12920
|
|
|
13220
12921
|
|
|
13221
|
-
class ingest_api_TriggerFileIngest(ConjureBeanType):
|
|
13222
|
-
|
|
13223
|
-
@builtins.classmethod
|
|
13224
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
13225
|
-
return {
|
|
13226
|
-
'source': ConjureFieldDefinition('source', ingest_api_IngestSource),
|
|
13227
|
-
'source_metadata': ConjureFieldDefinition('sourceMetadata', ingest_api_IngestSourceMetadata),
|
|
13228
|
-
'destination': ConjureFieldDefinition('destination', ingest_api_IngestDestination)
|
|
13229
|
-
}
|
|
13230
|
-
|
|
13231
|
-
__slots__: List[str] = ['_source', '_source_metadata', '_destination']
|
|
13232
|
-
|
|
13233
|
-
def __init__(self, destination: "ingest_api_IngestDestination", source: "ingest_api_IngestSource", source_metadata: "ingest_api_IngestSourceMetadata") -> None:
|
|
13234
|
-
self._source = source
|
|
13235
|
-
self._source_metadata = source_metadata
|
|
13236
|
-
self._destination = destination
|
|
13237
|
-
|
|
13238
|
-
@builtins.property
|
|
13239
|
-
def source(self) -> "ingest_api_IngestSource":
|
|
13240
|
-
"""Source data for the ingest. Supported file types include:
|
|
13241
|
-
* CSV (*.csv)
|
|
13242
|
-
* Compressed CSV (*.csv.gz)
|
|
13243
|
-
* Parquet (*.parquet)
|
|
13244
|
-
* Parquet archives (*.parquet.tar, *.parquet.tar.gz, *.parquet.zip).
|
|
13245
|
-
Note that timestamp column must have the same name and format across files.
|
|
13246
|
-
Non parquet files will be ignored.
|
|
13247
|
-
Each file can contribute to the overall schema, but conflicting types will fail the ingest.
|
|
13248
|
-
Conflicting values (same timestamp, column) across files will be de-conflicted based on archive file ordering (first point taken)
|
|
13249
|
-
"""
|
|
13250
|
-
return self._source
|
|
13251
|
-
|
|
13252
|
-
@builtins.property
|
|
13253
|
-
def source_metadata(self) -> "ingest_api_IngestSourceMetadata":
|
|
13254
|
-
return self._source_metadata
|
|
13255
|
-
|
|
13256
|
-
@builtins.property
|
|
13257
|
-
def destination(self) -> "ingest_api_IngestDestination":
|
|
13258
|
-
return self._destination
|
|
13259
|
-
|
|
13260
|
-
|
|
13261
|
-
ingest_api_TriggerFileIngest.__name__ = "TriggerFileIngest"
|
|
13262
|
-
ingest_api_TriggerFileIngest.__qualname__ = "TriggerFileIngest"
|
|
13263
|
-
ingest_api_TriggerFileIngest.__module__ = "nominal_api.ingest_api"
|
|
13264
|
-
|
|
13265
|
-
|
|
13266
|
-
class ingest_api_TriggerIngest(ConjureBeanType):
|
|
13267
|
-
|
|
13268
|
-
@builtins.classmethod
|
|
13269
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
13270
|
-
return {
|
|
13271
|
-
'source': ConjureFieldDefinition('source', ingest_api_IngestSource),
|
|
13272
|
-
'properties': ConjureFieldDefinition('properties', Dict[api_PropertyName, api_PropertyValue]),
|
|
13273
|
-
'labels': ConjureFieldDefinition('labels', List[api_Label]),
|
|
13274
|
-
'dataset_name': ConjureFieldDefinition('datasetName', OptionalTypeWrapper[str]),
|
|
13275
|
-
'dataset_description': ConjureFieldDefinition('datasetDescription', OptionalTypeWrapper[str]),
|
|
13276
|
-
'timestamp_metadata': ConjureFieldDefinition('timestampMetadata', OptionalTypeWrapper[ingest_api_TimestampMetadata]),
|
|
13277
|
-
'channel_config': ConjureFieldDefinition('channelConfig', OptionalTypeWrapper[ingest_api_ChannelConfig]),
|
|
13278
|
-
'workspace': ConjureFieldDefinition('workspace', OptionalTypeWrapper[api_rids_WorkspaceRid])
|
|
13279
|
-
}
|
|
13280
|
-
|
|
13281
|
-
__slots__: List[str] = ['_source', '_properties', '_labels', '_dataset_name', '_dataset_description', '_timestamp_metadata', '_channel_config', '_workspace']
|
|
13282
|
-
|
|
13283
|
-
def __init__(self, labels: List[str], properties: Dict[str, str], source: "ingest_api_IngestSource", channel_config: Optional["ingest_api_ChannelConfig"] = None, dataset_description: Optional[str] = None, dataset_name: Optional[str] = None, timestamp_metadata: Optional["ingest_api_TimestampMetadata"] = None, workspace: Optional[str] = None) -> None:
|
|
13284
|
-
self._source = source
|
|
13285
|
-
self._properties = properties
|
|
13286
|
-
self._labels = labels
|
|
13287
|
-
self._dataset_name = dataset_name
|
|
13288
|
-
self._dataset_description = dataset_description
|
|
13289
|
-
self._timestamp_metadata = timestamp_metadata
|
|
13290
|
-
self._channel_config = channel_config
|
|
13291
|
-
self._workspace = workspace
|
|
13292
|
-
|
|
13293
|
-
@builtins.property
|
|
13294
|
-
def source(self) -> "ingest_api_IngestSource":
|
|
13295
|
-
return self._source
|
|
13296
|
-
|
|
13297
|
-
@builtins.property
|
|
13298
|
-
def properties(self) -> Dict[str, str]:
|
|
13299
|
-
return self._properties
|
|
13300
|
-
|
|
13301
|
-
@builtins.property
|
|
13302
|
-
def labels(self) -> List[str]:
|
|
13303
|
-
return self._labels
|
|
13304
|
-
|
|
13305
|
-
@builtins.property
|
|
13306
|
-
def dataset_name(self) -> Optional[str]:
|
|
13307
|
-
return self._dataset_name
|
|
13308
|
-
|
|
13309
|
-
@builtins.property
|
|
13310
|
-
def dataset_description(self) -> Optional[str]:
|
|
13311
|
-
return self._dataset_description
|
|
13312
|
-
|
|
13313
|
-
@builtins.property
|
|
13314
|
-
def timestamp_metadata(self) -> Optional["ingest_api_TimestampMetadata"]:
|
|
13315
|
-
return self._timestamp_metadata
|
|
13316
|
-
|
|
13317
|
-
@builtins.property
|
|
13318
|
-
def channel_config(self) -> Optional["ingest_api_ChannelConfig"]:
|
|
13319
|
-
"""If absent, will default to a channel config that constructs a prefix tree with `.` as the delimiter.
|
|
13320
|
-
"""
|
|
13321
|
-
return self._channel_config
|
|
13322
|
-
|
|
13323
|
-
@builtins.property
|
|
13324
|
-
def workspace(self) -> Optional[str]:
|
|
13325
|
-
"""The workspace in which to create the dataset. If not provided, the dataset will be created in the default workspace for
|
|
13326
|
-
the user's organization, if the default workspace for the organization is configured.
|
|
13327
|
-
"""
|
|
13328
|
-
return self._workspace
|
|
13329
|
-
|
|
13330
|
-
|
|
13331
|
-
ingest_api_TriggerIngest.__name__ = "TriggerIngest"
|
|
13332
|
-
ingest_api_TriggerIngest.__qualname__ = "TriggerIngest"
|
|
13333
|
-
ingest_api_TriggerIngest.__module__ = "nominal_api.ingest_api"
|
|
13334
|
-
|
|
13335
|
-
|
|
13336
|
-
class ingest_api_TriggeredIngest(ConjureBeanType):
|
|
13337
|
-
|
|
13338
|
-
@builtins.classmethod
|
|
13339
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
13340
|
-
return {
|
|
13341
|
-
'dataset_rid': ConjureFieldDefinition('datasetRid', str),
|
|
13342
|
-
'dataset_file_id': ConjureFieldDefinition('datasetFileId', OptionalTypeWrapper[str]),
|
|
13343
|
-
'async_handle': ConjureFieldDefinition('asyncHandle', OptionalTypeWrapper[ingest_api_AsyncHandle])
|
|
13344
|
-
}
|
|
13345
|
-
|
|
13346
|
-
__slots__: List[str] = ['_dataset_rid', '_dataset_file_id', '_async_handle']
|
|
13347
|
-
|
|
13348
|
-
def __init__(self, dataset_rid: str, async_handle: Optional["ingest_api_AsyncHandle"] = None, dataset_file_id: Optional[str] = None) -> None:
|
|
13349
|
-
self._dataset_rid = dataset_rid
|
|
13350
|
-
self._dataset_file_id = dataset_file_id
|
|
13351
|
-
self._async_handle = async_handle
|
|
13352
|
-
|
|
13353
|
-
@builtins.property
|
|
13354
|
-
def dataset_rid(self) -> str:
|
|
13355
|
-
return self._dataset_rid
|
|
13356
|
-
|
|
13357
|
-
@builtins.property
|
|
13358
|
-
def dataset_file_id(self) -> Optional[str]:
|
|
13359
|
-
return self._dataset_file_id
|
|
13360
|
-
|
|
13361
|
-
@builtins.property
|
|
13362
|
-
def async_handle(self) -> Optional["ingest_api_AsyncHandle"]:
|
|
13363
|
-
return self._async_handle
|
|
13364
|
-
|
|
13365
|
-
|
|
13366
|
-
ingest_api_TriggeredIngest.__name__ = "TriggeredIngest"
|
|
13367
|
-
ingest_api_TriggeredIngest.__qualname__ = "TriggeredIngest"
|
|
13368
|
-
ingest_api_TriggeredIngest.__module__ = "nominal_api.ingest_api"
|
|
13369
|
-
|
|
13370
|
-
|
|
13371
12922
|
class ingest_api_UpdateContainerizedExtractorRequest(ConjureBeanType):
|
|
13372
12923
|
|
|
13373
12924
|
@builtins.classmethod
|
|
@@ -23,8 +23,6 @@ from .._impl import (
|
|
|
23
23
|
ingest_api_DeprecatedNewCsv as DeprecatedNewCsv,
|
|
24
24
|
ingest_api_DeprecatedNewDataSource as DeprecatedNewDataSource,
|
|
25
25
|
ingest_api_DeprecatedNewDataSourceVisitor as DeprecatedNewDataSourceVisitor,
|
|
26
|
-
ingest_api_DeprecatedTimestampMetadata as DeprecatedTimestampMetadata,
|
|
27
|
-
ingest_api_DeprecatedTriggerIngest as DeprecatedTriggerIngest,
|
|
28
26
|
ingest_api_DockerImageSource as DockerImageSource,
|
|
29
27
|
ingest_api_EnvironmentVariable as EnvironmentVariable,
|
|
30
28
|
ingest_api_EpochTimestamp as EpochTimestamp,
|
|
@@ -112,7 +110,6 @@ from .._impl import (
|
|
|
112
110
|
ingest_api_SearchContainerizedExtractorsQueryVisitor as SearchContainerizedExtractorsQueryVisitor,
|
|
113
111
|
ingest_api_SearchContainerizedExtractorsRequest as SearchContainerizedExtractorsRequest,
|
|
114
112
|
ingest_api_SignPartResponse as SignPartResponse,
|
|
115
|
-
ingest_api_SkipRowsConfig as SkipRowsConfig,
|
|
116
113
|
ingest_api_TagDetails as TagDetails,
|
|
117
114
|
ingest_api_TimeOffsetSpec as TimeOffsetSpec,
|
|
118
115
|
ingest_api_TimeOffsetSpecVisitor as TimeOffsetSpecVisitor,
|
|
@@ -120,9 +117,6 @@ from .._impl import (
|
|
|
120
117
|
ingest_api_TimestampMetadata as TimestampMetadata,
|
|
121
118
|
ingest_api_TimestampType as TimestampType,
|
|
122
119
|
ingest_api_TimestampTypeVisitor as TimestampTypeVisitor,
|
|
123
|
-
ingest_api_TriggerFileIngest as TriggerFileIngest,
|
|
124
|
-
ingest_api_TriggerIngest as TriggerIngest,
|
|
125
|
-
ingest_api_TriggeredIngest as TriggeredIngest,
|
|
126
120
|
ingest_api_UpdateContainerizedExtractorRequest as UpdateContainerizedExtractorRequest,
|
|
127
121
|
ingest_api_UserAndPasswordAuthentication as UserAndPasswordAuthentication,
|
|
128
122
|
ingest_api_UtcTimestamp as UtcTimestamp,
|
|
@@ -157,8 +151,6 @@ __all__ = [
|
|
|
157
151
|
'DeprecatedNewCsv',
|
|
158
152
|
'DeprecatedNewDataSource',
|
|
159
153
|
'DeprecatedNewDataSourceVisitor',
|
|
160
|
-
'DeprecatedTimestampMetadata',
|
|
161
|
-
'DeprecatedTriggerIngest',
|
|
162
154
|
'DockerImageSource',
|
|
163
155
|
'EnvironmentVariable',
|
|
164
156
|
'EpochTimestamp',
|
|
@@ -245,7 +237,6 @@ __all__ = [
|
|
|
245
237
|
'SearchContainerizedExtractorsQueryVisitor',
|
|
246
238
|
'SearchContainerizedExtractorsRequest',
|
|
247
239
|
'SignPartResponse',
|
|
248
|
-
'SkipRowsConfig',
|
|
249
240
|
'TagDetails',
|
|
250
241
|
'TimeOffsetSpec',
|
|
251
242
|
'TimeOffsetSpecVisitor',
|
|
@@ -253,9 +244,6 @@ __all__ = [
|
|
|
253
244
|
'TimestampMetadata',
|
|
254
245
|
'TimestampType',
|
|
255
246
|
'TimestampTypeVisitor',
|
|
256
|
-
'TriggerFileIngest',
|
|
257
|
-
'TriggerIngest',
|
|
258
|
-
'TriggeredIngest',
|
|
259
247
|
'UpdateContainerizedExtractorRequest',
|
|
260
248
|
'UserAndPasswordAuthentication',
|
|
261
249
|
'UtcTimestamp',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=Gmx24yuyt_OXnFUeIvINR1YY95LWCUpytW7J1YEATVA,2088
|
|
2
|
+
nominal_api/_impl.py,sha256=LE7jMSxy2MNGj_-_gZOPRchXwQwUUhmX14ZUPS7thbI,3784011
|
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
|
4
4
|
nominal_api/api/__init__.py,sha256=GqRLE9wwPPQgALVHFJViG8E4JJ2t3yfHedeXRLu1L70,2226
|
|
5
5
|
nominal_api/api_ids/__init__.py,sha256=sxqN5dMk6bOx0SKOd0ANG3_kmx1VtdSVotzEGn_q6sE,114
|
|
@@ -15,7 +15,7 @@ nominal_api/datasource_logset/__init__.py,sha256=SGt5PmLgYpLfhcoESk69aVufuZugg8d
|
|
|
15
15
|
nominal_api/datasource_logset_api/__init__.py,sha256=QydoWxNXCVgIV8HWnZAKA77N5G6mTSqSzGkj36tPe4U,1376
|
|
16
16
|
nominal_api/datasource_pagination_api/__init__.py,sha256=WeENj6yqi2XfInU8YgjFwqwiR8L0jDHCBZfucJ0ahyY,283
|
|
17
17
|
nominal_api/event/__init__.py,sha256=kXgNJmtAyPqinPrDRt-fMG7SD2DhRdyufzwKUpdhVrU,3028
|
|
18
|
-
nominal_api/ingest_api/__init__.py,sha256=
|
|
18
|
+
nominal_api/ingest_api/__init__.py,sha256=06oFmfiJf5ma8wvNZpq9T6LWMoUCuJWuL5FOCgbZftw,10954
|
|
19
19
|
nominal_api/ingest_workflow_api/__init__.py,sha256=pNfJTaKs2pcnt2p5uRJAOmLia5nx8TiFLk8sSAlSI2I,3055
|
|
20
20
|
nominal_api/module/__init__.py,sha256=0WDeegesyYu_XyFvPJZz8ZdXdTJRJxivU0KEhq8J6ww,4631
|
|
21
21
|
nominal_api/module_internal/__init__.py,sha256=8bVJ_pfUQ2ZONdAVEJW6hLNABpf6JvEHGgvrS9XHK98,1128
|
|
@@ -78,7 +78,7 @@ nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrR
|
|
|
78
78
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=USBxFmNnVFdnhTPLvWi3UgsvBZ4Iz4ycNgBTi10F-zI,1603
|
|
79
79
|
nominal_api/upload_api/__init__.py,sha256=7-XXuZUqKPV4AMWvxNpZPZ5vBun4x-AomXj3Vol_BN4,123
|
|
80
80
|
nominal_api/usercreation_api/__init__.py,sha256=Q6M70SlKFVfIxZqRohD4XYmBz5t2DP1DB0a0Q6glqGA,171
|
|
81
|
-
nominal_api-0.
|
|
82
|
-
nominal_api-0.
|
|
83
|
-
nominal_api-0.
|
|
84
|
-
nominal_api-0.
|
|
81
|
+
nominal_api-0.912.0.dist-info/METADATA,sha256=Vl7zyktDg2aTHaQyUrw1aa8_xJRYERZlHYnoLJK9Iw8,199
|
|
82
|
+
nominal_api-0.912.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
83
|
+
nominal_api-0.912.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
84
|
+
nominal_api-0.912.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|