nominal-api 0.843.0__py3-none-any.whl → 0.845.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 CHANGED
@@ -80,5 +80,5 @@ __all__ = [
80
80
 
81
81
  __conjure_generator_version__ = "4.17.0"
82
82
 
83
- __version__ = "0.843.0"
83
+ __version__ = "0.845.0"
84
84
 
nominal_api/_impl.py CHANGED
@@ -28277,6 +28277,53 @@ scout_chartdefinition_api_FrequencyPlot.__qualname__ = "FrequencyPlot"
28277
28277
  scout_chartdefinition_api_FrequencyPlot.__module__ = "nominal_api.scout_chartdefinition_api"
28278
28278
 
28279
28279
 
28280
+ class scout_chartdefinition_api_Geo3dCustomModel(ConjureBeanType):
28281
+
28282
+ @builtins.classmethod
28283
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
28284
+ return {
28285
+ 'attachment_rid': ConjureFieldDefinition('attachmentRid', api_rids_AttachmentRid),
28286
+ 'file_extension': ConjureFieldDefinition('fileExtension', str)
28287
+ }
28288
+
28289
+ __slots__: List[str] = ['_attachment_rid', '_file_extension']
28290
+
28291
+ def __init__(self, attachment_rid: str, file_extension: str) -> None:
28292
+ self._attachment_rid = attachment_rid
28293
+ self._file_extension = file_extension
28294
+
28295
+ @builtins.property
28296
+ def attachment_rid(self) -> str:
28297
+ return self._attachment_rid
28298
+
28299
+ @builtins.property
28300
+ def file_extension(self) -> str:
28301
+ return self._file_extension
28302
+
28303
+
28304
+ scout_chartdefinition_api_Geo3dCustomModel.__name__ = "Geo3dCustomModel"
28305
+ scout_chartdefinition_api_Geo3dCustomModel.__qualname__ = "Geo3dCustomModel"
28306
+ scout_chartdefinition_api_Geo3dCustomModel.__module__ = "nominal_api.scout_chartdefinition_api"
28307
+
28308
+
28309
+ class scout_chartdefinition_api_Geo3dDefaultModel(ConjureEnumType):
28310
+
28311
+ QUADCOPTER = 'QUADCOPTER'
28312
+ '''QUADCOPTER'''
28313
+ FIXEDWING = 'FIXEDWING'
28314
+ '''FIXEDWING'''
28315
+ UNKNOWN = 'UNKNOWN'
28316
+ '''UNKNOWN'''
28317
+
28318
+ def __reduce_ex__(self, proto):
28319
+ return self.__class__, (self.name,)
28320
+
28321
+
28322
+ scout_chartdefinition_api_Geo3dDefaultModel.__name__ = "Geo3dDefaultModel"
28323
+ scout_chartdefinition_api_Geo3dDefaultModel.__qualname__ = "Geo3dDefaultModel"
28324
+ scout_chartdefinition_api_Geo3dDefaultModel.__module__ = "nominal_api.scout_chartdefinition_api"
28325
+
28326
+
28280
28327
  class scout_chartdefinition_api_Geo3dDefinition(ConjureUnionType):
28281
28328
  _v1: Optional["scout_chartdefinition_api_Geo3dDefinitionV1"] = None
28282
28329
 
@@ -28362,6 +28409,83 @@ scout_chartdefinition_api_Geo3dDefinitionV1.__qualname__ = "Geo3dDefinitionV1"
28362
28409
  scout_chartdefinition_api_Geo3dDefinitionV1.__module__ = "nominal_api.scout_chartdefinition_api"
28363
28410
 
28364
28411
 
28412
+ class scout_chartdefinition_api_Geo3dModel(ConjureUnionType):
28413
+ _default: Optional["scout_chartdefinition_api_Geo3dDefaultModel"] = None
28414
+ _custom: Optional["scout_chartdefinition_api_Geo3dCustomModel"] = None
28415
+
28416
+ @builtins.classmethod
28417
+ def _options(cls) -> Dict[str, ConjureFieldDefinition]:
28418
+ return {
28419
+ 'default': ConjureFieldDefinition('default', scout_chartdefinition_api_Geo3dDefaultModel),
28420
+ 'custom': ConjureFieldDefinition('custom', scout_chartdefinition_api_Geo3dCustomModel)
28421
+ }
28422
+
28423
+ def __init__(
28424
+ self,
28425
+ default: Optional["scout_chartdefinition_api_Geo3dDefaultModel"] = None,
28426
+ custom: Optional["scout_chartdefinition_api_Geo3dCustomModel"] = None,
28427
+ type_of_union: Optional[str] = None
28428
+ ) -> None:
28429
+ if type_of_union is None:
28430
+ if (default is not None) + (custom is not None) != 1:
28431
+ raise ValueError('a union must contain a single member')
28432
+
28433
+ if default is not None:
28434
+ self._default = default
28435
+ self._type = 'default'
28436
+ if custom is not None:
28437
+ self._custom = custom
28438
+ self._type = 'custom'
28439
+
28440
+ elif type_of_union == 'default':
28441
+ if default is None:
28442
+ raise ValueError('a union value must not be None')
28443
+ self._default = default
28444
+ self._type = 'default'
28445
+ elif type_of_union == 'custom':
28446
+ if custom is None:
28447
+ raise ValueError('a union value must not be None')
28448
+ self._custom = custom
28449
+ self._type = 'custom'
28450
+
28451
+ @builtins.property
28452
+ def default(self) -> Optional["scout_chartdefinition_api_Geo3dDefaultModel"]:
28453
+ return self._default
28454
+
28455
+ @builtins.property
28456
+ def custom(self) -> Optional["scout_chartdefinition_api_Geo3dCustomModel"]:
28457
+ return self._custom
28458
+
28459
+ def accept(self, visitor) -> Any:
28460
+ if not isinstance(visitor, scout_chartdefinition_api_Geo3dModelVisitor):
28461
+ raise ValueError('{} is not an instance of scout_chartdefinition_api_Geo3dModelVisitor'.format(visitor.__class__.__name__))
28462
+ if self._type == 'default' and self.default is not None:
28463
+ return visitor._default(self.default)
28464
+ if self._type == 'custom' and self.custom is not None:
28465
+ return visitor._custom(self.custom)
28466
+
28467
+
28468
+ scout_chartdefinition_api_Geo3dModel.__name__ = "Geo3dModel"
28469
+ scout_chartdefinition_api_Geo3dModel.__qualname__ = "Geo3dModel"
28470
+ scout_chartdefinition_api_Geo3dModel.__module__ = "nominal_api.scout_chartdefinition_api"
28471
+
28472
+
28473
+ class scout_chartdefinition_api_Geo3dModelVisitor:
28474
+
28475
+ @abstractmethod
28476
+ def _default(self, default: "scout_chartdefinition_api_Geo3dDefaultModel") -> Any:
28477
+ pass
28478
+
28479
+ @abstractmethod
28480
+ def _custom(self, custom: "scout_chartdefinition_api_Geo3dCustomModel") -> Any:
28481
+ pass
28482
+
28483
+
28484
+ scout_chartdefinition_api_Geo3dModelVisitor.__name__ = "Geo3dModelVisitor"
28485
+ scout_chartdefinition_api_Geo3dModelVisitor.__qualname__ = "Geo3dModelVisitor"
28486
+ scout_chartdefinition_api_Geo3dModelVisitor.__module__ = "nominal_api.scout_chartdefinition_api"
28487
+
28488
+
28365
28489
  class scout_chartdefinition_api_Geo3dOrientation(ConjureUnionType):
28366
28490
  _principal_axes: Optional["scout_chartdefinition_api_Geo3dOrientationPrincipalAxes"] = None
28367
28491
 
@@ -28778,14 +28902,16 @@ class scout_chartdefinition_api_GeoPlot3dVisualizationOptions(ConjureBeanType):
28778
28902
  def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
28779
28903
  return {
28780
28904
  'color': ConjureFieldDefinition('color', scout_api_HexColor),
28781
- 'line_style': ConjureFieldDefinition('lineStyle', scout_chartdefinition_api_GeoLine3dStyle)
28905
+ 'line_style': ConjureFieldDefinition('lineStyle', scout_chartdefinition_api_GeoLine3dStyle),
28906
+ 'model': ConjureFieldDefinition('model', OptionalTypeWrapper[scout_chartdefinition_api_Geo3dModel])
28782
28907
  }
28783
28908
 
28784
- __slots__: List[str] = ['_color', '_line_style']
28909
+ __slots__: List[str] = ['_color', '_line_style', '_model']
28785
28910
 
28786
- def __init__(self, color: str, line_style: "scout_chartdefinition_api_GeoLine3dStyle") -> None:
28911
+ def __init__(self, color: str, line_style: "scout_chartdefinition_api_GeoLine3dStyle", model: Optional["scout_chartdefinition_api_Geo3dModel"] = None) -> None:
28787
28912
  self._color = color
28788
28913
  self._line_style = line_style
28914
+ self._model = model
28789
28915
 
28790
28916
  @builtins.property
28791
28917
  def color(self) -> str:
@@ -28795,6 +28921,10 @@ class scout_chartdefinition_api_GeoPlot3dVisualizationOptions(ConjureBeanType):
28795
28921
  def line_style(self) -> "scout_chartdefinition_api_GeoLine3dStyle":
28796
28922
  return self._line_style
28797
28923
 
28924
+ @builtins.property
28925
+ def model(self) -> Optional["scout_chartdefinition_api_Geo3dModel"]:
28926
+ return self._model
28927
+
28798
28928
 
28799
28929
  scout_chartdefinition_api_GeoPlot3dVisualizationOptions.__name__ = "GeoPlot3dVisualizationOptions"
28800
28930
  scout_chartdefinition_api_GeoPlot3dVisualizationOptions.__qualname__ = "GeoPlot3dVisualizationOptions"
@@ -88525,14 +88655,15 @@ class themes_api_ChartThemeContentV1(ConjureBeanType):
88525
88655
  'legend_position': ConjureFieldDefinition('legendPosition', themes_api_LegendPosition),
88526
88656
  'legend_font_size': ConjureFieldDefinition('legendFontSize', int),
88527
88657
  'legend_font_color': ConjureFieldDefinition('legendFontColor', themes_api_HexColor),
88658
+ 'legend_placement': ConjureFieldDefinition('legendPlacement', themes_api_LegendPlacement),
88528
88659
  'aspect_ratio_width': ConjureFieldDefinition('aspectRatioWidth', int),
88529
88660
  'aspect_ratio_height': ConjureFieldDefinition('aspectRatioHeight', int),
88530
88661
  'chart_type_themes': ConjureFieldDefinition('chartTypeThemes', themes_api_ChartTypeThemes)
88531
88662
  }
88532
88663
 
88533
- __slots__: List[str] = ['_title_enabled', '_title_alignment', '_title_font_size', '_title_font_color', '_caption_enabled', '_caption_alignment', '_caption_font_size', '_caption_font_color', '_background_enabled', '_legend_enabled', '_legend_position', '_legend_font_size', '_legend_font_color', '_aspect_ratio_width', '_aspect_ratio_height', '_chart_type_themes']
88664
+ __slots__: List[str] = ['_title_enabled', '_title_alignment', '_title_font_size', '_title_font_color', '_caption_enabled', '_caption_alignment', '_caption_font_size', '_caption_font_color', '_background_enabled', '_legend_enabled', '_legend_position', '_legend_font_size', '_legend_font_color', '_legend_placement', '_aspect_ratio_width', '_aspect_ratio_height', '_chart_type_themes']
88534
88665
 
88535
- def __init__(self, aspect_ratio_height: int, aspect_ratio_width: int, background_enabled: bool, caption_alignment: "themes_api_TextAlignment", caption_enabled: bool, caption_font_color: str, caption_font_size: int, chart_type_themes: "themes_api_ChartTypeThemes", legend_enabled: bool, legend_font_color: str, legend_font_size: int, legend_position: "themes_api_LegendPosition", title_alignment: "themes_api_TextAlignment", title_enabled: bool, title_font_color: str, title_font_size: int) -> None:
88666
+ def __init__(self, aspect_ratio_height: int, aspect_ratio_width: int, background_enabled: bool, caption_alignment: "themes_api_TextAlignment", caption_enabled: bool, caption_font_color: str, caption_font_size: int, chart_type_themes: "themes_api_ChartTypeThemes", legend_enabled: bool, legend_font_color: str, legend_font_size: int, legend_placement: "themes_api_LegendPlacement", legend_position: "themes_api_LegendPosition", title_alignment: "themes_api_TextAlignment", title_enabled: bool, title_font_color: str, title_font_size: int) -> None:
88536
88667
  self._title_enabled = title_enabled
88537
88668
  self._title_alignment = title_alignment
88538
88669
  self._title_font_size = title_font_size
@@ -88546,6 +88677,7 @@ class themes_api_ChartThemeContentV1(ConjureBeanType):
88546
88677
  self._legend_position = legend_position
88547
88678
  self._legend_font_size = legend_font_size
88548
88679
  self._legend_font_color = legend_font_color
88680
+ self._legend_placement = legend_placement
88549
88681
  self._aspect_ratio_width = aspect_ratio_width
88550
88682
  self._aspect_ratio_height = aspect_ratio_height
88551
88683
  self._chart_type_themes = chart_type_themes
@@ -88629,6 +88761,12 @@ class themes_api_ChartThemeContentV1(ConjureBeanType):
88629
88761
  """
88630
88762
  return self._legend_font_color
88631
88763
 
88764
+ @builtins.property
88765
+ def legend_placement(self) -> "themes_api_LegendPlacement":
88766
+ """Where on the chart the legend should be placed.
88767
+ """
88768
+ return self._legend_placement
88769
+
88632
88770
  @builtins.property
88633
88771
  def aspect_ratio_width(self) -> int:
88634
88772
  """The relative width of the chart export.
@@ -88722,6 +88860,24 @@ themes_api_CreateChartThemeRequest.__qualname__ = "CreateChartThemeRequest"
88722
88860
  themes_api_CreateChartThemeRequest.__module__ = "nominal_api.themes_api"
88723
88861
 
88724
88862
 
88863
+ class themes_api_LegendPlacement(ConjureEnumType):
88864
+
88865
+ OUTSIDE = 'OUTSIDE'
88866
+ '''OUTSIDE'''
88867
+ INSIDE = 'INSIDE'
88868
+ '''INSIDE'''
88869
+ UNKNOWN = 'UNKNOWN'
88870
+ '''UNKNOWN'''
88871
+
88872
+ def __reduce_ex__(self, proto):
88873
+ return self.__class__, (self.name,)
88874
+
88875
+
88876
+ themes_api_LegendPlacement.__name__ = "LegendPlacement"
88877
+ themes_api_LegendPlacement.__qualname__ = "LegendPlacement"
88878
+ themes_api_LegendPlacement.__module__ = "nominal_api.themes_api"
88879
+
88880
+
88725
88881
  class themes_api_LegendPosition(ConjureEnumType):
88726
88882
 
88727
88883
  TOP = 'TOP'
@@ -42,9 +42,13 @@ from .._impl import (
42
42
  scout_chartdefinition_api_FrequencyChartDefinitionV1 as FrequencyChartDefinitionV1,
43
43
  scout_chartdefinition_api_FrequencyChartDefinitionVisitor as FrequencyChartDefinitionVisitor,
44
44
  scout_chartdefinition_api_FrequencyPlot as FrequencyPlot,
45
+ scout_chartdefinition_api_Geo3dCustomModel as Geo3dCustomModel,
46
+ scout_chartdefinition_api_Geo3dDefaultModel as Geo3dDefaultModel,
45
47
  scout_chartdefinition_api_Geo3dDefinition as Geo3dDefinition,
46
48
  scout_chartdefinition_api_Geo3dDefinitionV1 as Geo3dDefinitionV1,
47
49
  scout_chartdefinition_api_Geo3dDefinitionVisitor as Geo3dDefinitionVisitor,
50
+ scout_chartdefinition_api_Geo3dModel as Geo3dModel,
51
+ scout_chartdefinition_api_Geo3dModelVisitor as Geo3dModelVisitor,
48
52
  scout_chartdefinition_api_Geo3dOrientation as Geo3dOrientation,
49
53
  scout_chartdefinition_api_Geo3dOrientationPrincipalAxes as Geo3dOrientationPrincipalAxes,
50
54
  scout_chartdefinition_api_Geo3dOrientationVisitor as Geo3dOrientationVisitor,
@@ -216,9 +220,13 @@ __all__ = [
216
220
  'FrequencyChartDefinitionVisitor',
217
221
  'FrequencyChartDefinitionV1',
218
222
  'FrequencyPlot',
223
+ 'Geo3dCustomModel',
224
+ 'Geo3dDefaultModel',
219
225
  'Geo3dDefinition',
220
226
  'Geo3dDefinitionVisitor',
221
227
  'Geo3dDefinitionV1',
228
+ 'Geo3dModel',
229
+ 'Geo3dModelVisitor',
222
230
  'Geo3dOrientation',
223
231
  'Geo3dOrientationVisitor',
224
232
  'Geo3dOrientationPrincipalAxes',
@@ -8,6 +8,7 @@ from .._impl import (
8
8
  themes_api_ChartTypeThemes as ChartTypeThemes,
9
9
  themes_api_CreateChartThemeRequest as CreateChartThemeRequest,
10
10
  themes_api_HexColor as HexColor,
11
+ themes_api_LegendPlacement as LegendPlacement,
11
12
  themes_api_LegendPosition as LegendPosition,
12
13
  themes_api_TextAlignment as TextAlignment,
13
14
  themes_api_TextDirection as TextDirection,
@@ -27,6 +28,7 @@ __all__ = [
27
28
  'ChartTypeThemes',
28
29
  'CreateChartThemeRequest',
29
30
  'HexColor',
31
+ 'LegendPlacement',
30
32
  'LegendPosition',
31
33
  'TextAlignment',
32
34
  'TextDirection',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nominal-api
3
- Version: 0.843.0
3
+ Version: 0.845.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=wvbHlAzNsmvPJECl23mNKc8pe18ZPBsOsNKO-vFflPE,2064
2
- nominal_api/_impl.py,sha256=U1Zki_8fHUZ15c4gVzl-5W2IYal8zytwYNRe0W4sfjo,3670150
1
+ nominal_api/__init__.py,sha256=aT_kaIyJQy9xZnOtpRdyUI5WzkvJKpLnWx7VclIsSi0,2064
2
+ nominal_api/_impl.py,sha256=fymK_JXUUYi1b9Xk7dIZARTyFX1jEa-2eRZhGmelinc,3676061
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
@@ -28,7 +28,7 @@ nominal_api/scout_assets/__init__.py,sha256=1ZyiolDjhxnrhyeUxW_KyeQ_q-6stlqd1I2d
28
28
  nominal_api/scout_catalog/__init__.py,sha256=1EnyVFs0chW7ne4yECCPvNC_Lzb9SIGtYlb2RzSc0KE,4988
29
29
  nominal_api/scout_channelvariables_api/__init__.py,sha256=Wahkyy-m3gEcaRFYU5ZV3beW-W4OeYnOs9Y4eirQO38,1033
30
30
  nominal_api/scout_chart_api/__init__.py,sha256=hkNhoFOmPYnLFeINiQXqya78wbAsx65DoKU0TpUwhQo,261
31
- nominal_api/scout_chartdefinition_api/__init__.py,sha256=PLZCFbCZZtjLgbYxGQEaakctcfqpLfca27CKEtO4_wY,17935
31
+ nominal_api/scout_chartdefinition_api/__init__.py,sha256=DN3W5PWbQ2Fj8ssnAkUsr2tTOl769ht_1ac1B4VWwdY,18291
32
32
  nominal_api/scout_checklistexecution_api/__init__.py,sha256=iVeUjPTlbpQ3vlQkQjHrNDiFdqaWaQeGb6TQxuox-1c,4892
33
33
  nominal_api/scout_checks_api/__init__.py,sha256=uCmiNrVwLDlkg8YnpP-uZr9nFFFN52sM644Qo6YNy3k,6972
34
34
  nominal_api/scout_comparisonnotebook_api/__init__.py,sha256=F5cQo_KqeTpFwqKBDV-iEjrND7xQgkycC1yocpxq1Qk,6277
@@ -67,7 +67,7 @@ nominal_api/storage_datasource_api/__init__.py,sha256=plSbtDZH_wwfUNUzK8E1Tauvfm
67
67
  nominal_api/storage_deletion_api/__init__.py,sha256=9OOHBAsIMukr3aRwdtG5PA1f9p5-USEhwhPPdhrHFos,373
68
68
  nominal_api/storage_series_api/__init__.py,sha256=wq6d_C7M31wVt9CM-bw0DtOBfcrPyvOX8jFvCiBdQtE,137
69
69
  nominal_api/storage_writer_api/__init__.py,sha256=a6EGXk7GgDraTFLYRdJTi4baAYtuRsEX7xrKQTYRydo,2587
70
- nominal_api/themes_api/__init__.py,sha256=ep1lghKFHuXCRbvHc4Qsa8O5h-Idr3n9aDTSuKEF4Nk,1341
70
+ nominal_api/themes_api/__init__.py,sha256=5GNGZfslPuTthUYl179XRDS_jR0nrmTi8Z-aiFQZHyU,1415
71
71
  nominal_api/timeseries_archetype/__init__.py,sha256=sZdZCA3nTyv0rF4YHaAZTw4kglrNREcsYTMjjl85hWY,160
72
72
  nominal_api/timeseries_archetype_api/__init__.py,sha256=xd51luqmUAPR5gn1vVWx6Kzw1EU6rzfit7iK8vYlkB8,2137
73
73
  nominal_api/timeseries_channelmetadata/__init__.py,sha256=K5rQ2FnPxUJJ-763HWInYu0tRfnOyf1V9H232SyliD4,166
@@ -77,7 +77,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=BwdqHLq_98LOsRV14JA3
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.843.0.dist-info/METADATA,sha256=-tSpW5_zo03TC4THIMHTrrpUXeMqAeAkJLJg9TZBsWU,199
81
- nominal_api-0.843.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
82
- nominal_api-0.843.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
83
- nominal_api-0.843.0.dist-info/RECORD,,
80
+ nominal_api-0.845.0.dist-info/METADATA,sha256=AAu6VbmxS1wpmU5LALYDQpPeLLP2bnWN8KXQhK8Bdb4,199
81
+ nominal_api-0.845.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
82
+ nominal_api-0.845.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
83
+ nominal_api-0.845.0.dist-info/RECORD,,