nominal-api 0.750.0__py3-none-any.whl → 0.751.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 CHANGED
@@ -77,5 +77,5 @@ __all__ = [
77
77
 
78
78
  __conjure_generator_version__ = "4.17.0"
79
79
 
80
- __version__ = "0.750.0"
80
+ __version__ = "0.751.0"
81
81
 
nominal_api/_impl.py CHANGED
@@ -8084,20 +8084,14 @@ If this schema is not used, will result in a failed ingestion.
8084
8084
  def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
8085
8085
  return {
8086
8086
  'source': ConjureFieldDefinition('source', ingest_api_IngestSource),
8087
- 'target': ConjureFieldDefinition('target', ingest_api_DatasetIngestTarget),
8088
- 'time_unit': ConjureFieldDefinition('timeUnit', api_TimeUnit),
8089
- 'channel_prefix': ConjureFieldDefinition('channelPrefix', ingest_api_ChannelPrefix),
8090
- 'additional_file_tags': ConjureFieldDefinition('additionalFileTags', OptionalTypeWrapper[Dict[api_TagName, api_TagValue]])
8087
+ 'target': ConjureFieldDefinition('target', ingest_api_DatasetIngestTarget)
8091
8088
  }
8092
8089
 
8093
- __slots__: List[str] = ['_source', '_target', '_time_unit', '_channel_prefix', '_additional_file_tags']
8090
+ __slots__: List[str] = ['_source', '_target']
8094
8091
 
8095
- def __init__(self, source: "ingest_api_IngestSource", target: "ingest_api_DatasetIngestTarget", time_unit: "api_TimeUnit", additional_file_tags: Optional[Dict[str, str]] = None, channel_prefix: Optional[str] = None) -> None:
8092
+ def __init__(self, source: "ingest_api_IngestSource", target: "ingest_api_DatasetIngestTarget") -> None:
8096
8093
  self._source = source
8097
8094
  self._target = target
8098
- self._time_unit = time_unit
8099
- self._channel_prefix = channel_prefix
8100
- self._additional_file_tags = additional_file_tags
8101
8095
 
8102
8096
  @builtins.property
8103
8097
  def source(self) -> "ingest_api_IngestSource":
@@ -8107,20 +8101,6 @@ If this schema is not used, will result in a failed ingestion.
8107
8101
  def target(self) -> "ingest_api_DatasetIngestTarget":
8108
8102
  return self._target
8109
8103
 
8110
- @builtins.property
8111
- def time_unit(self) -> "api_TimeUnit":
8112
- return self._time_unit
8113
-
8114
- @builtins.property
8115
- def channel_prefix(self) -> Optional[str]:
8116
- return self._channel_prefix
8117
-
8118
- @builtins.property
8119
- def additional_file_tags(self) -> Optional[Dict[str, str]]:
8120
- """Specifies a tag set to apply to all data in the file.
8121
- """
8122
- return self._additional_file_tags
8123
-
8124
8104
 
8125
8105
  ingest_api_AvroStreamOpts.__name__ = "AvroStreamOpts"
8126
8106
  ingest_api_AvroStreamOpts.__qualname__ = "AvroStreamOpts"
@@ -9024,18 +9004,30 @@ class ingest_api_ExistingDatasetIngestDestination(ConjureBeanType):
9024
9004
  @builtins.classmethod
9025
9005
  def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
9026
9006
  return {
9027
- 'dataset_rid': ConjureFieldDefinition('datasetRid', str)
9007
+ 'dataset_rid': ConjureFieldDefinition('datasetRid', str),
9008
+ 'expand_run_bounds': ConjureFieldDefinition('expandRunBounds', OptionalTypeWrapper[List[scout_run_api_RunRid]])
9028
9009
  }
9029
9010
 
9030
- __slots__: List[str] = ['_dataset_rid']
9011
+ __slots__: List[str] = ['_dataset_rid', '_expand_run_bounds']
9031
9012
 
9032
- def __init__(self, dataset_rid: str) -> None:
9013
+ def __init__(self, dataset_rid: str, expand_run_bounds: Optional[List[str]] = None) -> None:
9033
9014
  self._dataset_rid = dataset_rid
9015
+ self._expand_run_bounds = expand_run_bounds
9034
9016
 
9035
9017
  @builtins.property
9036
9018
  def dataset_rid(self) -> str:
9037
9019
  return self._dataset_rid
9038
9020
 
9021
+ @builtins.property
9022
+ def expand_run_bounds(self) -> Optional[List[str]]:
9023
+ """The ingest will keep track of the range of timestamps in the ingested data and update the included
9024
+ run's time bounds.
9025
+ For runs with no end time (uninitialized), it will always set the start time to the file's start time
9026
+ and set the end time to the file's end time.
9027
+ For runs with existing end times, it will only expand the bounds (earliest start time, latest end time).
9028
+ """
9029
+ return self._expand_run_bounds
9030
+
9039
9031
 
9040
9032
  ingest_api_ExistingDatasetIngestDestination.__name__ = "ExistingDatasetIngestDestination"
9041
9033
  ingest_api_ExistingDatasetIngestDestination.__qualname__ = "ExistingDatasetIngestDestination"
@@ -10262,7 +10254,7 @@ class ingest_api_IngestRunResponse(ConjureBeanType):
10262
10254
  @builtins.classmethod
10263
10255
  def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
10264
10256
  return {
10265
- 'run_rid': ConjureFieldDefinition('runRid', ingest_api_RunRid)
10257
+ 'run_rid': ConjureFieldDefinition('runRid', scout_run_api_RunRid)
10266
10258
  }
10267
10259
 
10268
10260
  __slots__: List[str] = ['_run_rid']
@@ -86251,8 +86243,6 @@ scout_chartdefinition_api_AxisId = str
86251
86243
 
86252
86244
  scout_datasource_connection_api_SchemaName = str
86253
86245
 
86254
- ingest_api_RunRid = str
86255
-
86256
86246
  scout_api_HexColor = str
86257
86247
 
86258
86248
  scout_datasource_connection_api_SecretRid = str
@@ -102,7 +102,6 @@ from .._impl import (
102
102
  ingest_api_ReingestFilesMapping as ReingestFilesMapping,
103
103
  ingest_api_RelativeTimestamp as RelativeTimestamp,
104
104
  ingest_api_RerunIngestRequest as RerunIngestRequest,
105
- ingest_api_RunRid as RunRid,
106
105
  ingest_api_S3IngestSource as S3IngestSource,
107
106
  ingest_api_ScaleParameter as ScaleParameter,
108
107
  ingest_api_ScaleParameterVisitor as ScaleParameterVisitor,
@@ -233,7 +232,6 @@ __all__ = [
233
232
  'ReingestFilesMapping',
234
233
  'RelativeTimestamp',
235
234
  'RerunIngestRequest',
236
- 'RunRid',
237
235
  'S3IngestSource',
238
236
  'ScaleParameter',
239
237
  'ScaleParameterVisitor',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nominal-api
3
- Version: 0.750.0
3
+ Version: 0.751.0
4
4
  Requires-Python: >=3.8
5
5
  Requires-Dist: requests
6
6
  Requires-Dist: conjure-python-client<4,>=2.8.0
@@ -1,5 +1,5 @@
1
- nominal_api/__init__.py,sha256=LrEb-S0pULZk_zIKAQayaOojj3sc9aX2VTWWz59vuP8,1989
2
- nominal_api/_impl.py,sha256=KCBDp2GrrYmzZRyCzJ5FGzk6uG1Am23jlThRDoDzZbM,3393180
1
+ nominal_api/__init__.py,sha256=jIwT90t4iDN-PuDIGs74cRCGrteyeX3TpljZUXKc1GE,1989
2
+ nominal_api/_impl.py,sha256=nSwZUJrlgpZqcBPkuHR9p69WbRJmvlB8o-Wvl9FK9eU,3392878
3
3
  nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
4
4
  nominal_api/api/__init__.py,sha256=PMREKP7UhxJ1_gHkrlJET46qlDHksKMm6-woR1p6WnU,1970
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=t5q8N5ozj3tHwRVhwtL6kwu-1-FMIoTGJT1RX75pwZM,2830
18
- nominal_api/ingest_api/__init__.py,sha256=GOAqTeO8WnfczSrfgrcAgFL155TrW9Uzslm5o1tQdm0,11313
18
+ nominal_api/ingest_api/__init__.py,sha256=vkOFk6X2S4jpv0FBwsT9JpaK7Hb7lk9nkMNwcTi4zTw,11266
19
19
  nominal_api/ingest_workflow_api/__init__.py,sha256=lTCb7s4VCrpur0TDpTy_EDvUdHJ4UKqcTv8MYiEeeko,2954
20
20
  nominal_api/module/__init__.py,sha256=YpSjKSdtzytV_DPPmVh_x4y4oF30FMgkFYU4NmZeu8s,2938
21
21
  nominal_api/modules_api/__init__.py,sha256=V8ccEclLTh6CbzZvpRhcncPFqFBU-sSUSkfr4KzXL6w,112
@@ -74,7 +74,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=BwdqHLq_98LOsRV14JA3
74
74
  nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrRjU6tncpmDeuc_47P4,150
75
75
  nominal_api/timeseries_seriescache_api/__init__.py,sha256=USBxFmNnVFdnhTPLvWi3UgsvBZ4Iz4ycNgBTi10F-zI,1603
76
76
  nominal_api/upload_api/__init__.py,sha256=7-XXuZUqKPV4AMWvxNpZPZ5vBun4x-AomXj3Vol_BN4,123
77
- nominal_api-0.750.0.dist-info/METADATA,sha256=i6z9Gc3tAj2rH9rZbiV1OTNVWX0MWhu_T3vqhAp21CI,199
78
- nominal_api-0.750.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
79
- nominal_api-0.750.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
80
- nominal_api-0.750.0.dist-info/RECORD,,
77
+ nominal_api-0.751.0.dist-info/METADATA,sha256=HbqejiOlN6bpTk9Xm0Ov95_k6KsYXqmErS8Y0s_zIj8,199
78
+ nominal_api-0.751.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
79
+ nominal_api-0.751.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
80
+ nominal_api-0.751.0.dist-info/RECORD,,