nominal-api 0.860.1__py3-none-any.whl → 0.861.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.
- nominal_api/__init__.py +1 -1
- nominal_api/_impl.py +39 -2
- nominal_api/scout_dataexport_api/__init__.py +2 -0
- {nominal_api-0.860.1.dist-info → nominal_api-0.861.0.dist-info}/METADATA +1 -1
- {nominal_api-0.860.1.dist-info → nominal_api-0.861.0.dist-info}/RECORD +7 -7
- {nominal_api-0.860.1.dist-info → nominal_api-0.861.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.860.1.dist-info → nominal_api-0.861.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
@@ -64056,6 +64056,22 @@ scout_dataexport_api_AllTimestampsForwardFillStrategy.__qualname__ = "AllTimesta
|
|
64056
64056
|
scout_dataexport_api_AllTimestampsForwardFillStrategy.__module__ = "nominal_api.scout_dataexport_api"
|
64057
64057
|
|
64058
64058
|
|
64059
|
+
class scout_dataexport_api_Arrow(ConjureBeanType):
|
64060
|
+
|
64061
|
+
@builtins.classmethod
|
64062
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
64063
|
+
return {
|
64064
|
+
}
|
64065
|
+
|
64066
|
+
__slots__: List[str] = []
|
64067
|
+
|
64068
|
+
|
64069
|
+
|
64070
|
+
scout_dataexport_api_Arrow.__name__ = "Arrow"
|
64071
|
+
scout_dataexport_api_Arrow.__qualname__ = "Arrow"
|
64072
|
+
scout_dataexport_api_Arrow.__module__ = "nominal_api.scout_dataexport_api"
|
64073
|
+
|
64074
|
+
|
64059
64075
|
class scout_dataexport_api_CompressionFormat(ConjureEnumType):
|
64060
64076
|
|
64061
64077
|
GZIP = 'GZIP'
|
@@ -64251,41 +64267,58 @@ scout_dataexport_api_ExportDataRequest.__module__ = "nominal_api.scout_dataexpor
|
|
64251
64267
|
|
64252
64268
|
class scout_dataexport_api_ExportFormat(ConjureUnionType):
|
64253
64269
|
_csv: Optional["scout_dataexport_api_Csv"] = None
|
64270
|
+
_arrow: Optional["scout_dataexport_api_Arrow"] = None
|
64254
64271
|
|
64255
64272
|
@builtins.classmethod
|
64256
64273
|
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
64257
64274
|
return {
|
64258
|
-
'csv': ConjureFieldDefinition('csv', scout_dataexport_api_Csv)
|
64275
|
+
'csv': ConjureFieldDefinition('csv', scout_dataexport_api_Csv),
|
64276
|
+
'arrow': ConjureFieldDefinition('arrow', scout_dataexport_api_Arrow)
|
64259
64277
|
}
|
64260
64278
|
|
64261
64279
|
def __init__(
|
64262
64280
|
self,
|
64263
64281
|
csv: Optional["scout_dataexport_api_Csv"] = None,
|
64282
|
+
arrow: Optional["scout_dataexport_api_Arrow"] = None,
|
64264
64283
|
type_of_union: Optional[str] = None
|
64265
64284
|
) -> None:
|
64266
64285
|
if type_of_union is None:
|
64267
|
-
if (csv is not None) != 1:
|
64286
|
+
if (csv is not None) + (arrow is not None) != 1:
|
64268
64287
|
raise ValueError('a union must contain a single member')
|
64269
64288
|
|
64270
64289
|
if csv is not None:
|
64271
64290
|
self._csv = csv
|
64272
64291
|
self._type = 'csv'
|
64292
|
+
if arrow is not None:
|
64293
|
+
self._arrow = arrow
|
64294
|
+
self._type = 'arrow'
|
64273
64295
|
|
64274
64296
|
elif type_of_union == 'csv':
|
64275
64297
|
if csv is None:
|
64276
64298
|
raise ValueError('a union value must not be None')
|
64277
64299
|
self._csv = csv
|
64278
64300
|
self._type = 'csv'
|
64301
|
+
elif type_of_union == 'arrow':
|
64302
|
+
if arrow is None:
|
64303
|
+
raise ValueError('a union value must not be None')
|
64304
|
+
self._arrow = arrow
|
64305
|
+
self._type = 'arrow'
|
64279
64306
|
|
64280
64307
|
@builtins.property
|
64281
64308
|
def csv(self) -> Optional["scout_dataexport_api_Csv"]:
|
64282
64309
|
return self._csv
|
64283
64310
|
|
64311
|
+
@builtins.property
|
64312
|
+
def arrow(self) -> Optional["scout_dataexport_api_Arrow"]:
|
64313
|
+
return self._arrow
|
64314
|
+
|
64284
64315
|
def accept(self, visitor) -> Any:
|
64285
64316
|
if not isinstance(visitor, scout_dataexport_api_ExportFormatVisitor):
|
64286
64317
|
raise ValueError('{} is not an instance of scout_dataexport_api_ExportFormatVisitor'.format(visitor.__class__.__name__))
|
64287
64318
|
if self._type == 'csv' and self.csv is not None:
|
64288
64319
|
return visitor._csv(self.csv)
|
64320
|
+
if self._type == 'arrow' and self.arrow is not None:
|
64321
|
+
return visitor._arrow(self.arrow)
|
64289
64322
|
|
64290
64323
|
|
64291
64324
|
scout_dataexport_api_ExportFormat.__name__ = "ExportFormat"
|
@@ -64299,6 +64332,10 @@ class scout_dataexport_api_ExportFormatVisitor:
|
|
64299
64332
|
def _csv(self, csv: "scout_dataexport_api_Csv") -> Any:
|
64300
64333
|
pass
|
64301
64334
|
|
64335
|
+
@abstractmethod
|
64336
|
+
def _arrow(self, arrow: "scout_dataexport_api_Arrow") -> Any:
|
64337
|
+
pass
|
64338
|
+
|
64302
64339
|
|
64303
64340
|
scout_dataexport_api_ExportFormatVisitor.__name__ = "ExportFormatVisitor"
|
64304
64341
|
scout_dataexport_api_ExportFormatVisitor.__qualname__ = "ExportFormatVisitor"
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# coding=utf-8
|
2
2
|
from .._impl import (
|
3
3
|
scout_dataexport_api_AllTimestampsForwardFillStrategy as AllTimestampsForwardFillStrategy,
|
4
|
+
scout_dataexport_api_Arrow as Arrow,
|
4
5
|
scout_dataexport_api_CompressionFormat as CompressionFormat,
|
5
6
|
scout_dataexport_api_Csv as Csv,
|
6
7
|
scout_dataexport_api_DataExportService as DataExportService,
|
@@ -25,6 +26,7 @@ from .._impl import (
|
|
25
26
|
|
26
27
|
__all__ = [
|
27
28
|
'AllTimestampsForwardFillStrategy',
|
29
|
+
'Arrow',
|
28
30
|
'CompressionFormat',
|
29
31
|
'Csv',
|
30
32
|
'ExportChannels',
|
@@ -1,5 +1,5 @@
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
2
|
-
nominal_api/_impl.py,sha256=
|
1
|
+
nominal_api/__init__.py,sha256=9g10w67an3dacTOpS19YfdjMo5j2yQsD5vDvhmKlL_M,2064
|
2
|
+
nominal_api/_impl.py,sha256=FPJnBZbWRtO2X0mvKG2iQUu9Kebf1s0uY82m6QE_3yE,3722409
|
3
3
|
nominal_api/py.typed,sha256=eoZ6GfifbqhMLNzjlqRDVil-yyBkOmVN9ujSgJWNBlY,15
|
4
4
|
nominal_api/api/__init__.py,sha256=ZiGjcYwIBCrZR5pPqyqX2ggRJmVcSlOCazMtF2xCZzw,2171
|
5
5
|
nominal_api/api_ids/__init__.py,sha256=sxqN5dMk6bOx0SKOd0ANG3_kmx1VtdSVotzEGn_q6sE,114
|
@@ -36,7 +36,7 @@ nominal_api/scout_comparisonrun_api/__init__.py,sha256=y5SlDoXvskyTKjg2O8o3cBhGS
|
|
36
36
|
nominal_api/scout_compute_api/__init__.py,sha256=X4YeXFn_WG_G37RS_7EHt6vepk_cDz13Kaz6EbBBYbs,32614
|
37
37
|
nominal_api/scout_compute_api_deprecated/__init__.py,sha256=JrZKbt1ulYECTdUSkXn6On22Alu_cPUBjCRWTN3ctxk,5041
|
38
38
|
nominal_api/scout_compute_resolved_api/__init__.py,sha256=wHZ-fvDaqCCoO3BRPjCF0ZktxVpCT203fa0bSs3fwz4,16741
|
39
|
-
nominal_api/scout_dataexport_api/__init__.py,sha256=
|
39
|
+
nominal_api/scout_dataexport_api/__init__.py,sha256=E5hE8rqLbdCH1n877yLh_NjpP1RkJOWgqesH-ObhK1o,2122
|
40
40
|
nominal_api/scout_datareview_api/__init__.py,sha256=ITQR6pdPseU9vS2bKDeleafiBhurtHmcHeKz_6J8Ab8,12229
|
41
41
|
nominal_api/scout_datasource/__init__.py,sha256=Z1Msu1Daf8GlLuM3w5imyB-6DhTNZojxI6xpH1sSvhM,141
|
42
42
|
nominal_api/scout_datasource_connection/__init__.py,sha256=vT-OJYR5a--THheuxH1T1n553ZHp8pwsWBVzB7qvuKs,285
|
@@ -77,7 +77,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=lDuOWyLpdVBI9aoN6ujw
|
|
77
77
|
nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrRjU6tncpmDeuc_47P4,150
|
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
|
-
nominal_api-0.
|
81
|
-
nominal_api-0.
|
82
|
-
nominal_api-0.
|
83
|
-
nominal_api-0.
|
80
|
+
nominal_api-0.861.0.dist-info/METADATA,sha256=9I3L-lN1295z_X6iIZKpUReBFoJsjOqEsdPssAEvUXg,199
|
81
|
+
nominal_api-0.861.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
82
|
+
nominal_api-0.861.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
83
|
+
nominal_api-0.861.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|