nominal-api 0.759.0__py3-none-any.whl → 0.760.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
@@ -17,6 +17,7 @@ __all__ = [
17
17
  'ingest_api',
18
18
  'ingest_workflow_api',
19
19
  'module',
20
+ 'module_internal',
20
21
  'modules_api',
21
22
  'persistent_compute_api',
22
23
  'scout',
@@ -77,5 +78,5 @@ __all__ = [
77
78
 
78
79
  __conjure_generator_version__ = "4.17.0"
79
80
 
80
- __version__ = "0.759.0"
81
+ __version__ = "0.760.0"
81
82
 
nominal_api/_impl.py CHANGED
@@ -9192,6 +9192,8 @@ class ingest_api_FileOutputFormat(ConjureEnumType):
9192
9192
  '''PARQUET_TAR'''
9193
9193
  AVRO_STREAM = 'AVRO_STREAM'
9194
9194
  '''AVRO_STREAM'''
9195
+ JSON_L = 'JSON_L'
9196
+ '''JSON_L'''
9195
9197
  UNKNOWN = 'UNKNOWN'
9196
9198
  '''UNKNOWN'''
9197
9199
 
@@ -15929,6 +15931,148 @@ module_ValueType.__qualname__ = "ValueType"
15929
15931
  module_ValueType.__module__ = "nominal_api.module"
15930
15932
 
15931
15933
 
15934
+ class module_internal_BatchGetResolvedModuleDefinitionsRequest(ConjureBeanType):
15935
+
15936
+ @builtins.classmethod
15937
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
15938
+ return {
15939
+ 'requests': ConjureFieldDefinition('requests', List[module_internal_ModuleApplicationReference])
15940
+ }
15941
+
15942
+ __slots__: List[str] = ['_requests']
15943
+
15944
+ def __init__(self, requests: List["module_internal_ModuleApplicationReference"]) -> None:
15945
+ self._requests = requests
15946
+
15947
+ @builtins.property
15948
+ def requests(self) -> List["module_internal_ModuleApplicationReference"]:
15949
+ return self._requests
15950
+
15951
+
15952
+ module_internal_BatchGetResolvedModuleDefinitionsRequest.__name__ = "BatchGetResolvedModuleDefinitionsRequest"
15953
+ module_internal_BatchGetResolvedModuleDefinitionsRequest.__qualname__ = "BatchGetResolvedModuleDefinitionsRequest"
15954
+ module_internal_BatchGetResolvedModuleDefinitionsRequest.__module__ = "nominal_api.module_internal"
15955
+
15956
+
15957
+ class module_internal_InternalModuleService(Service):
15958
+ """This service provides internal APIs related to modules.
15959
+ """
15960
+
15961
+ def batch_get_resolved_module_definitions(self, auth_header: str, request: "module_internal_BatchGetResolvedModuleDefinitionsRequest") -> List["module_internal_ResolvedModuleVersionDefinition"]:
15962
+ """Returns the resolved module definitions for the given module-asset pairs. If any of modules have not been
15963
+ applied to their corresponding asset, this will throw.
15964
+ """
15965
+ _conjure_encoder = ConjureEncoder()
15966
+
15967
+ _headers: Dict[str, Any] = {
15968
+ 'Accept': 'application/json',
15969
+ 'Content-Type': 'application/json',
15970
+ 'Authorization': auth_header,
15971
+ }
15972
+
15973
+ _params: Dict[str, Any] = {
15974
+ }
15975
+
15976
+ _path_params: Dict[str, str] = {
15977
+ }
15978
+
15979
+ _json: Any = _conjure_encoder.default(request)
15980
+
15981
+ _path = '/internal/scout/v2/module/resolved-module/batch-get'
15982
+ _path = _path.format(**_path_params)
15983
+
15984
+ _response: Response = self._request(
15985
+ 'POST',
15986
+ self._uri + _path,
15987
+ params=_params,
15988
+ headers=_headers,
15989
+ json=_json)
15990
+
15991
+ _decoder = ConjureDecoder()
15992
+ return _decoder.decode(_response.json(), List[module_internal_ResolvedModuleVersionDefinition], self._return_none_for_unknown_union_types)
15993
+
15994
+
15995
+ module_internal_InternalModuleService.__name__ = "InternalModuleService"
15996
+ module_internal_InternalModuleService.__qualname__ = "InternalModuleService"
15997
+ module_internal_InternalModuleService.__module__ = "nominal_api.module_internal"
15998
+
15999
+
16000
+ class module_internal_ModuleApplicationReference(ConjureBeanType):
16001
+
16002
+ @builtins.classmethod
16003
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
16004
+ return {
16005
+ 'module_name': ConjureFieldDefinition('moduleName', str),
16006
+ 'asset_rid': ConjureFieldDefinition('assetRid', scout_rids_api_AssetRid)
16007
+ }
16008
+
16009
+ __slots__: List[str] = ['_module_name', '_asset_rid']
16010
+
16011
+ def __init__(self, asset_rid: str, module_name: str) -> None:
16012
+ self._module_name = module_name
16013
+ self._asset_rid = asset_rid
16014
+
16015
+ @builtins.property
16016
+ def module_name(self) -> str:
16017
+ return self._module_name
16018
+
16019
+ @builtins.property
16020
+ def asset_rid(self) -> str:
16021
+ return self._asset_rid
16022
+
16023
+
16024
+ module_internal_ModuleApplicationReference.__name__ = "ModuleApplicationReference"
16025
+ module_internal_ModuleApplicationReference.__qualname__ = "ModuleApplicationReference"
16026
+ module_internal_ModuleApplicationReference.__module__ = "nominal_api.module_internal"
16027
+
16028
+
16029
+ class module_internal_ResolvedModuleVersionDefinition(ConjureBeanType):
16030
+
16031
+ @builtins.classmethod
16032
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
16033
+ return {
16034
+ 'module_name': ConjureFieldDefinition('moduleName', str),
16035
+ 'asset_rid': ConjureFieldDefinition('assetRid', scout_rids_api_AssetRid),
16036
+ 'resolved_parameters': ConjureFieldDefinition('resolvedParameters', List[module_ModuleVariable]),
16037
+ 'default_variables': ConjureFieldDefinition('defaultVariables', List[module_ModuleVariable]),
16038
+ 'functions': ConjureFieldDefinition('functions', List[module_Function])
16039
+ }
16040
+
16041
+ __slots__: List[str] = ['_module_name', '_asset_rid', '_resolved_parameters', '_default_variables', '_functions']
16042
+
16043
+ def __init__(self, asset_rid: str, default_variables: List["module_ModuleVariable"], functions: List["module_Function"], module_name: str, resolved_parameters: List["module_ModuleVariable"]) -> None:
16044
+ self._module_name = module_name
16045
+ self._asset_rid = asset_rid
16046
+ self._resolved_parameters = resolved_parameters
16047
+ self._default_variables = default_variables
16048
+ self._functions = functions
16049
+
16050
+ @builtins.property
16051
+ def module_name(self) -> str:
16052
+ return self._module_name
16053
+
16054
+ @builtins.property
16055
+ def asset_rid(self) -> str:
16056
+ return self._asset_rid
16057
+
16058
+ @builtins.property
16059
+ def resolved_parameters(self) -> List["module_ModuleVariable"]:
16060
+ return self._resolved_parameters
16061
+
16062
+ @builtins.property
16063
+ def default_variables(self) -> List["module_ModuleVariable"]:
16064
+ return self._default_variables
16065
+
16066
+ @builtins.property
16067
+ def functions(self) -> List["module_Function"]:
16068
+ return self._functions
16069
+
16070
+
16071
+ module_internal_ResolvedModuleVersionDefinition.__name__ = "ResolvedModuleVersionDefinition"
16072
+ module_internal_ResolvedModuleVersionDefinition.__qualname__ = "ResolvedModuleVersionDefinition"
16073
+ module_internal_ResolvedModuleVersionDefinition.__module__ = "nominal_api.module_internal"
16074
+
16075
+
15932
16076
  class persistent_compute_api_AppendResult(ConjureBeanType):
15933
16077
  """An append result won't cover the full `StreamingComputeNodeRequest#windowWidth` but rather just a smaller
15934
16078
  window. The end of the window that the append covers is guaranteed to be later than previously sent results.
@@ -86484,6 +86628,8 @@ api_ErrorType = str
86484
86628
 
86485
86629
  scout_compute_api_ComputeWithUnitsRequest = scout_compute_api_ComputeNodeRequest
86486
86630
 
86631
+ scout_rids_api_GroupRid = str
86632
+
86487
86633
  scout_rids_api_Version = int
86488
86634
 
86489
86635
  scout_versioning_api_BranchName = str
@@ -0,0 +1,15 @@
1
+ # coding=utf-8
2
+ from .._impl import (
3
+ module_internal_BatchGetResolvedModuleDefinitionsRequest as BatchGetResolvedModuleDefinitionsRequest,
4
+ module_internal_InternalModuleService as InternalModuleService,
5
+ module_internal_ModuleApplicationReference as ModuleApplicationReference,
6
+ module_internal_ResolvedModuleVersionDefinition as ResolvedModuleVersionDefinition,
7
+ )
8
+
9
+ __all__ = [
10
+ 'BatchGetResolvedModuleDefinitionsRequest',
11
+ 'ModuleApplicationReference',
12
+ 'ResolvedModuleVersionDefinition',
13
+ 'InternalModuleService',
14
+ ]
15
+
@@ -14,6 +14,7 @@ from .._impl import (
14
14
  scout_rids_api_DataReviewRid as DataReviewRid,
15
15
  scout_rids_api_FunctionLineageRid as FunctionLineageRid,
16
16
  scout_rids_api_FunctionRid as FunctionRid,
17
+ scout_rids_api_GroupRid as GroupRid,
17
18
  scout_rids_api_NotebookRid as NotebookRid,
18
19
  scout_rids_api_PendingReviewAlertState as PendingReviewAlertState,
19
20
  scout_rids_api_SnapshotRid as SnapshotRid,
@@ -40,6 +41,7 @@ __all__ = [
40
41
  'DataReviewRid',
41
42
  'FunctionLineageRid',
42
43
  'FunctionRid',
44
+ 'GroupRid',
43
45
  'NotebookRid',
44
46
  'PendingReviewAlertState',
45
47
  'SnapshotRid',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nominal-api
3
- Version: 0.759.0
3
+ Version: 0.760.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=cMiHHbUR3HQJAgBRBEmQ1C3V7eqzDuRI87N4wPPMhFw,1989
2
- nominal_api/_impl.py,sha256=JRTNTYF_IyzRp9XjvxjiOdICaiZL0Z8EaL389jQGIW0,3400468
1
+ nominal_api/__init__.py,sha256=am5uus2gUqrSCtj8OoUcwZaJrWGoO-b9P_QpJHXe08s,2012
2
+ nominal_api/_impl.py,sha256=zbDCvJsApmmli8LYz63v_L3gYpjcqOWIKDwWZhaoIyA,3406068
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
@@ -18,6 +18,7 @@ nominal_api/event/__init__.py,sha256=t5q8N5ozj3tHwRVhwtL6kwu-1-FMIoTGJT1RX75pwZM
18
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=lM3ETKLddEed2ZeQgjz1eb0C_AEU0qnGX_sceK05sc0,3650
21
+ nominal_api/module_internal/__init__.py,sha256=qEQ3cxDc78ImuKO1Fr59cnMZvAvidMgjatZAJMsyUKc,545
21
22
  nominal_api/modules_api/__init__.py,sha256=V8ccEclLTh6CbzZvpRhcncPFqFBU-sSUSkfr4KzXL6w,112
22
23
  nominal_api/persistent_compute_api/__init__.py,sha256=bOWBiRLJbl3winMP9EowCUpPpRIUYyejua3059wJWQk,3314
23
24
  nominal_api/scout/__init__.py,sha256=dZzrrqBeio2l0txhlNoHSfv6QsA9a3EVDp0_XpubUGk,481
@@ -50,7 +51,7 @@ nominal_api/scout_layout_api/__init__.py,sha256=sUWO0V8Y0I0pa-nmKAjkeoIgTpP9tSG1
50
51
  nominal_api/scout_metadata/__init__.py,sha256=m8UNk53xgDtiZCLU2ZyfDxwwFC6_XztE9INJM2R1ApA,475
51
52
  nominal_api/scout_notebook_api/__init__.py,sha256=b-4ONsrgT2NziNHq8em09YxbZcQcKLWmPYkpxBFHPFA,1820
52
53
  nominal_api/scout_plotting/__init__.py,sha256=RJK9HlPmNW_dxSz7CprwjfNKke86x11rQ7BF5pwrBv4,127
53
- nominal_api/scout_rids_api/__init__.py,sha256=inHWSfRXEH29EMMmNW7uWGAd7WGTYoeNs-oD35UA8IE,1747
54
+ nominal_api/scout_rids_api/__init__.py,sha256=g0Ki940X9P5GEU6e68mfLTBhbxb7WpRSi8GALDQ7nXg,1804
54
55
  nominal_api/scout_run_api/__init__.py,sha256=DOerd1dppDM4RLDgPrjh-3i-VAaXtp6XPEqkET0N5W0,4051
55
56
  nominal_api/scout_template_api/__init__.py,sha256=Yu7FHTypJv09dBKqnWS_dDeXdwI1hgGGZNDbMOHZKr8,1550
56
57
  nominal_api/scout_units_api/__init__.py,sha256=gf47pW6JIcP3FgL1UuHwkibj266FCRszL9q6PGx0-Rg,512
@@ -74,7 +75,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=BwdqHLq_98LOsRV14JA3
74
75
  nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrRjU6tncpmDeuc_47P4,150
75
76
  nominal_api/timeseries_seriescache_api/__init__.py,sha256=USBxFmNnVFdnhTPLvWi3UgsvBZ4Iz4ycNgBTi10F-zI,1603
76
77
  nominal_api/upload_api/__init__.py,sha256=7-XXuZUqKPV4AMWvxNpZPZ5vBun4x-AomXj3Vol_BN4,123
77
- nominal_api-0.759.0.dist-info/METADATA,sha256=zjr5tpByzXGzbVYZEAYlXz2CRcC77-UNGejtsXmodMo,199
78
- nominal_api-0.759.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
79
- nominal_api-0.759.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
80
- nominal_api-0.759.0.dist-info/RECORD,,
78
+ nominal_api-0.760.0.dist-info/METADATA,sha256=mQt7WcDGVsuE6FDrhOkalWYOJvSy2EQ0ejsI7t81loo,199
79
+ nominal_api-0.760.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
80
+ nominal_api-0.760.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
81
+ nominal_api-0.760.0.dist-info/RECORD,,