nominal-api 0.802.0__py3-none-any.whl → 0.803.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 +296 -48
- nominal_api/module/__init__.py +16 -2
- nominal_api/module_internal/__init__.py +2 -0
- {nominal_api-0.802.0.dist-info → nominal_api-0.803.0.dist-info}/METADATA +1 -1
- {nominal_api-0.802.0.dist-info → nominal_api-0.803.0.dist-info}/RECORD +8 -8
- {nominal_api-0.802.0.dist-info → nominal_api-0.803.0.dist-info}/WHEEL +0 -0
- {nominal_api-0.802.0.dist-info → nominal_api-0.803.0.dist-info}/top_level.txt +0 -0
nominal_api/__init__.py
CHANGED
nominal_api/_impl.py
CHANGED
|
@@ -14800,6 +14800,24 @@ module_GetModuleRequest.__qualname__ = "GetModuleRequest"
|
|
|
14800
14800
|
module_GetModuleRequest.__module__ = "nominal_api.module"
|
|
14801
14801
|
|
|
14802
14802
|
|
|
14803
|
+
class module_LatestVersionStrategy(ConjureBeanType):
|
|
14804
|
+
"""This strategy refers to the latest version of the module.
|
|
14805
|
+
"""
|
|
14806
|
+
|
|
14807
|
+
@builtins.classmethod
|
|
14808
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
14809
|
+
return {
|
|
14810
|
+
}
|
|
14811
|
+
|
|
14812
|
+
__slots__: List[str] = []
|
|
14813
|
+
|
|
14814
|
+
|
|
14815
|
+
|
|
14816
|
+
module_LatestVersionStrategy.__name__ = "LatestVersionStrategy"
|
|
14817
|
+
module_LatestVersionStrategy.__qualname__ = "LatestVersionStrategy"
|
|
14818
|
+
module_LatestVersionStrategy.__module__ = "nominal_api.module"
|
|
14819
|
+
|
|
14820
|
+
|
|
14803
14821
|
class module_Module(ConjureBeanType):
|
|
14804
14822
|
|
|
14805
14823
|
@builtins.classmethod
|
|
@@ -15492,6 +15510,120 @@ module_ModuleVersionMetadata.__qualname__ = "ModuleVersionMetadata"
|
|
|
15492
15510
|
module_ModuleVersionMetadata.__module__ = "nominal_api.module"
|
|
15493
15511
|
|
|
15494
15512
|
|
|
15513
|
+
class module_PinnedVersionStrategy(ConjureBeanType):
|
|
15514
|
+
"""This strategy refers to a specific version of the module.
|
|
15515
|
+
"""
|
|
15516
|
+
|
|
15517
|
+
@builtins.classmethod
|
|
15518
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
15519
|
+
return {
|
|
15520
|
+
'version': ConjureFieldDefinition('version', module_ModuleVersion)
|
|
15521
|
+
}
|
|
15522
|
+
|
|
15523
|
+
__slots__: List[str] = ['_version']
|
|
15524
|
+
|
|
15525
|
+
def __init__(self, version: str) -> None:
|
|
15526
|
+
self._version = version
|
|
15527
|
+
|
|
15528
|
+
@builtins.property
|
|
15529
|
+
def version(self) -> str:
|
|
15530
|
+
return self._version
|
|
15531
|
+
|
|
15532
|
+
|
|
15533
|
+
module_PinnedVersionStrategy.__name__ = "PinnedVersionStrategy"
|
|
15534
|
+
module_PinnedVersionStrategy.__qualname__ = "PinnedVersionStrategy"
|
|
15535
|
+
module_PinnedVersionStrategy.__module__ = "nominal_api.module"
|
|
15536
|
+
|
|
15537
|
+
|
|
15538
|
+
class module_RequestModuleNameRef(ConjureBeanType):
|
|
15539
|
+
"""This is used to refer to modules in requests by name.
|
|
15540
|
+
"""
|
|
15541
|
+
|
|
15542
|
+
@builtins.classmethod
|
|
15543
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
15544
|
+
return {
|
|
15545
|
+
'name': ConjureFieldDefinition('name', str),
|
|
15546
|
+
'version_strategy': ConjureFieldDefinition('versionStrategy', module_VersionStrategy)
|
|
15547
|
+
}
|
|
15548
|
+
|
|
15549
|
+
__slots__: List[str] = ['_name', '_version_strategy']
|
|
15550
|
+
|
|
15551
|
+
def __init__(self, name: str, version_strategy: "module_VersionStrategy") -> None:
|
|
15552
|
+
self._name = name
|
|
15553
|
+
self._version_strategy = version_strategy
|
|
15554
|
+
|
|
15555
|
+
@builtins.property
|
|
15556
|
+
def name(self) -> str:
|
|
15557
|
+
return self._name
|
|
15558
|
+
|
|
15559
|
+
@builtins.property
|
|
15560
|
+
def version_strategy(self) -> "module_VersionStrategy":
|
|
15561
|
+
return self._version_strategy
|
|
15562
|
+
|
|
15563
|
+
|
|
15564
|
+
module_RequestModuleNameRef.__name__ = "RequestModuleNameRef"
|
|
15565
|
+
module_RequestModuleNameRef.__qualname__ = "RequestModuleNameRef"
|
|
15566
|
+
module_RequestModuleNameRef.__module__ = "nominal_api.module"
|
|
15567
|
+
|
|
15568
|
+
|
|
15569
|
+
class module_RequestModuleRef(ConjureUnionType):
|
|
15570
|
+
"""Request reference to a module. This is used to refer to modules in requests.
|
|
15571
|
+
"""
|
|
15572
|
+
_name: Optional["module_RequestModuleNameRef"] = None
|
|
15573
|
+
|
|
15574
|
+
@builtins.classmethod
|
|
15575
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
15576
|
+
return {
|
|
15577
|
+
'name': ConjureFieldDefinition('name', module_RequestModuleNameRef)
|
|
15578
|
+
}
|
|
15579
|
+
|
|
15580
|
+
def __init__(
|
|
15581
|
+
self,
|
|
15582
|
+
name: Optional["module_RequestModuleNameRef"] = None,
|
|
15583
|
+
type_of_union: Optional[str] = None
|
|
15584
|
+
) -> None:
|
|
15585
|
+
if type_of_union is None:
|
|
15586
|
+
if (name is not None) != 1:
|
|
15587
|
+
raise ValueError('a union must contain a single member')
|
|
15588
|
+
|
|
15589
|
+
if name is not None:
|
|
15590
|
+
self._name = name
|
|
15591
|
+
self._type = 'name'
|
|
15592
|
+
|
|
15593
|
+
elif type_of_union == 'name':
|
|
15594
|
+
if name is None:
|
|
15595
|
+
raise ValueError('a union value must not be None')
|
|
15596
|
+
self._name = name
|
|
15597
|
+
self._type = 'name'
|
|
15598
|
+
|
|
15599
|
+
@builtins.property
|
|
15600
|
+
def name(self) -> Optional["module_RequestModuleNameRef"]:
|
|
15601
|
+
return self._name
|
|
15602
|
+
|
|
15603
|
+
def accept(self, visitor) -> Any:
|
|
15604
|
+
if not isinstance(visitor, module_RequestModuleRefVisitor):
|
|
15605
|
+
raise ValueError('{} is not an instance of module_RequestModuleRefVisitor'.format(visitor.__class__.__name__))
|
|
15606
|
+
if self._type == 'name' and self.name is not None:
|
|
15607
|
+
return visitor._name(self.name)
|
|
15608
|
+
|
|
15609
|
+
|
|
15610
|
+
module_RequestModuleRef.__name__ = "RequestModuleRef"
|
|
15611
|
+
module_RequestModuleRef.__qualname__ = "RequestModuleRef"
|
|
15612
|
+
module_RequestModuleRef.__module__ = "nominal_api.module"
|
|
15613
|
+
|
|
15614
|
+
|
|
15615
|
+
class module_RequestModuleRefVisitor:
|
|
15616
|
+
|
|
15617
|
+
@abstractmethod
|
|
15618
|
+
def _name(self, name: "module_RequestModuleNameRef") -> Any:
|
|
15619
|
+
pass
|
|
15620
|
+
|
|
15621
|
+
|
|
15622
|
+
module_RequestModuleRefVisitor.__name__ = "RequestModuleRefVisitor"
|
|
15623
|
+
module_RequestModuleRefVisitor.__qualname__ = "RequestModuleRefVisitor"
|
|
15624
|
+
module_RequestModuleRefVisitor.__module__ = "nominal_api.module"
|
|
15625
|
+
|
|
15626
|
+
|
|
15495
15627
|
class module_SearchModuleApplicationsQuery(ConjureUnionType):
|
|
15496
15628
|
_module_rid: Optional[str] = None
|
|
15497
15629
|
_asset_rid: Optional[str] = None
|
|
@@ -16028,41 +16160,6 @@ module_SearchModulesSortOptions.__qualname__ = "SearchModulesSortOptions"
|
|
|
16028
16160
|
module_SearchModulesSortOptions.__module__ = "nominal_api.module"
|
|
16029
16161
|
|
|
16030
16162
|
|
|
16031
|
-
class module_SemanticVersion(ConjureBeanType):
|
|
16032
|
-
|
|
16033
|
-
@builtins.classmethod
|
|
16034
|
-
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
16035
|
-
return {
|
|
16036
|
-
'major': ConjureFieldDefinition('major', int),
|
|
16037
|
-
'minor': ConjureFieldDefinition('minor', int),
|
|
16038
|
-
'patch': ConjureFieldDefinition('patch', int)
|
|
16039
|
-
}
|
|
16040
|
-
|
|
16041
|
-
__slots__: List[str] = ['_major', '_minor', '_patch']
|
|
16042
|
-
|
|
16043
|
-
def __init__(self, major: int, minor: int, patch: int) -> None:
|
|
16044
|
-
self._major = major
|
|
16045
|
-
self._minor = minor
|
|
16046
|
-
self._patch = patch
|
|
16047
|
-
|
|
16048
|
-
@builtins.property
|
|
16049
|
-
def major(self) -> int:
|
|
16050
|
-
return self._major
|
|
16051
|
-
|
|
16052
|
-
@builtins.property
|
|
16053
|
-
def minor(self) -> int:
|
|
16054
|
-
return self._minor
|
|
16055
|
-
|
|
16056
|
-
@builtins.property
|
|
16057
|
-
def patch(self) -> int:
|
|
16058
|
-
return self._patch
|
|
16059
|
-
|
|
16060
|
-
|
|
16061
|
-
module_SemanticVersion.__name__ = "SemanticVersion"
|
|
16062
|
-
module_SemanticVersion.__qualname__ = "SemanticVersion"
|
|
16063
|
-
module_SemanticVersion.__module__ = "nominal_api.module"
|
|
16064
|
-
|
|
16065
|
-
|
|
16066
16163
|
class module_UpdateModuleApplicationRequest(ConjureBeanType):
|
|
16067
16164
|
|
|
16068
16165
|
@builtins.classmethod
|
|
@@ -16188,6 +16285,83 @@ module_ValueType.__qualname__ = "ValueType"
|
|
|
16188
16285
|
module_ValueType.__module__ = "nominal_api.module"
|
|
16189
16286
|
|
|
16190
16287
|
|
|
16288
|
+
class module_VersionStrategy(ConjureUnionType):
|
|
16289
|
+
_pinned: Optional["module_PinnedVersionStrategy"] = None
|
|
16290
|
+
_latest: Optional["module_LatestVersionStrategy"] = None
|
|
16291
|
+
|
|
16292
|
+
@builtins.classmethod
|
|
16293
|
+
def _options(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
16294
|
+
return {
|
|
16295
|
+
'pinned': ConjureFieldDefinition('pinned', module_PinnedVersionStrategy),
|
|
16296
|
+
'latest': ConjureFieldDefinition('latest', module_LatestVersionStrategy)
|
|
16297
|
+
}
|
|
16298
|
+
|
|
16299
|
+
def __init__(
|
|
16300
|
+
self,
|
|
16301
|
+
pinned: Optional["module_PinnedVersionStrategy"] = None,
|
|
16302
|
+
latest: Optional["module_LatestVersionStrategy"] = None,
|
|
16303
|
+
type_of_union: Optional[str] = None
|
|
16304
|
+
) -> None:
|
|
16305
|
+
if type_of_union is None:
|
|
16306
|
+
if (pinned is not None) + (latest is not None) != 1:
|
|
16307
|
+
raise ValueError('a union must contain a single member')
|
|
16308
|
+
|
|
16309
|
+
if pinned is not None:
|
|
16310
|
+
self._pinned = pinned
|
|
16311
|
+
self._type = 'pinned'
|
|
16312
|
+
if latest is not None:
|
|
16313
|
+
self._latest = latest
|
|
16314
|
+
self._type = 'latest'
|
|
16315
|
+
|
|
16316
|
+
elif type_of_union == 'pinned':
|
|
16317
|
+
if pinned is None:
|
|
16318
|
+
raise ValueError('a union value must not be None')
|
|
16319
|
+
self._pinned = pinned
|
|
16320
|
+
self._type = 'pinned'
|
|
16321
|
+
elif type_of_union == 'latest':
|
|
16322
|
+
if latest is None:
|
|
16323
|
+
raise ValueError('a union value must not be None')
|
|
16324
|
+
self._latest = latest
|
|
16325
|
+
self._type = 'latest'
|
|
16326
|
+
|
|
16327
|
+
@builtins.property
|
|
16328
|
+
def pinned(self) -> Optional["module_PinnedVersionStrategy"]:
|
|
16329
|
+
return self._pinned
|
|
16330
|
+
|
|
16331
|
+
@builtins.property
|
|
16332
|
+
def latest(self) -> Optional["module_LatestVersionStrategy"]:
|
|
16333
|
+
return self._latest
|
|
16334
|
+
|
|
16335
|
+
def accept(self, visitor) -> Any:
|
|
16336
|
+
if not isinstance(visitor, module_VersionStrategyVisitor):
|
|
16337
|
+
raise ValueError('{} is not an instance of module_VersionStrategyVisitor'.format(visitor.__class__.__name__))
|
|
16338
|
+
if self._type == 'pinned' and self.pinned is not None:
|
|
16339
|
+
return visitor._pinned(self.pinned)
|
|
16340
|
+
if self._type == 'latest' and self.latest is not None:
|
|
16341
|
+
return visitor._latest(self.latest)
|
|
16342
|
+
|
|
16343
|
+
|
|
16344
|
+
module_VersionStrategy.__name__ = "VersionStrategy"
|
|
16345
|
+
module_VersionStrategy.__qualname__ = "VersionStrategy"
|
|
16346
|
+
module_VersionStrategy.__module__ = "nominal_api.module"
|
|
16347
|
+
|
|
16348
|
+
|
|
16349
|
+
class module_VersionStrategyVisitor:
|
|
16350
|
+
|
|
16351
|
+
@abstractmethod
|
|
16352
|
+
def _pinned(self, pinned: "module_PinnedVersionStrategy") -> Any:
|
|
16353
|
+
pass
|
|
16354
|
+
|
|
16355
|
+
@abstractmethod
|
|
16356
|
+
def _latest(self, latest: "module_LatestVersionStrategy") -> Any:
|
|
16357
|
+
pass
|
|
16358
|
+
|
|
16359
|
+
|
|
16360
|
+
module_VersionStrategyVisitor.__name__ = "VersionStrategyVisitor"
|
|
16361
|
+
module_VersionStrategyVisitor.__qualname__ = "VersionStrategyVisitor"
|
|
16362
|
+
module_VersionStrategyVisitor.__module__ = "nominal_api.module"
|
|
16363
|
+
|
|
16364
|
+
|
|
16191
16365
|
class module_internal_BatchGetResolvedModuleDefinitionsRequest(ConjureBeanType):
|
|
16192
16366
|
|
|
16193
16367
|
@builtins.classmethod
|
|
@@ -16239,8 +16413,7 @@ class module_internal_InternalModuleService(Service):
|
|
|
16239
16413
|
"""
|
|
16240
16414
|
|
|
16241
16415
|
def batch_get_resolved_module_definitions(self, auth_header: str, request: "module_internal_BatchGetResolvedModuleDefinitionsRequest") -> "module_internal_BatchGetResolvedModuleDefinitionsResponse":
|
|
16242
|
-
"""Returns the resolved module definitions for the
|
|
16243
|
-
applied to their corresponding asset, this will throw.
|
|
16416
|
+
"""Returns the resolved module definitions for the requested ModuleApplication.
|
|
16244
16417
|
"""
|
|
16245
16418
|
_conjure_encoder = ConjureEncoder()
|
|
16246
16419
|
|
|
@@ -16271,6 +16444,38 @@ applied to their corresponding asset, this will throw.
|
|
|
16271
16444
|
_decoder = ConjureDecoder()
|
|
16272
16445
|
return _decoder.decode(_response.json(), module_internal_BatchGetResolvedModuleDefinitionsResponse, self._return_none_for_unknown_union_types)
|
|
16273
16446
|
|
|
16447
|
+
def get_unresolved_module_definition(self, auth_header: str, module_ref: "module_RequestModuleNameRef") -> "module_internal_ModuleComputeDefinition":
|
|
16448
|
+
"""Returns the module definition for the given module reference.
|
|
16449
|
+
"""
|
|
16450
|
+
_conjure_encoder = ConjureEncoder()
|
|
16451
|
+
|
|
16452
|
+
_headers: Dict[str, Any] = {
|
|
16453
|
+
'Accept': 'application/json',
|
|
16454
|
+
'Content-Type': 'application/json',
|
|
16455
|
+
'Authorization': auth_header,
|
|
16456
|
+
}
|
|
16457
|
+
|
|
16458
|
+
_params: Dict[str, Any] = {
|
|
16459
|
+
}
|
|
16460
|
+
|
|
16461
|
+
_path_params: Dict[str, str] = {
|
|
16462
|
+
}
|
|
16463
|
+
|
|
16464
|
+
_json: Any = _conjure_encoder.default(module_ref)
|
|
16465
|
+
|
|
16466
|
+
_path = '/internal/scout/v2/module/module/get'
|
|
16467
|
+
_path = _path.format(**_path_params)
|
|
16468
|
+
|
|
16469
|
+
_response: Response = self._request(
|
|
16470
|
+
'POST',
|
|
16471
|
+
self._uri + _path,
|
|
16472
|
+
params=_params,
|
|
16473
|
+
headers=_headers,
|
|
16474
|
+
json=_json)
|
|
16475
|
+
|
|
16476
|
+
_decoder = ConjureDecoder()
|
|
16477
|
+
return _decoder.decode(_response.json(), module_internal_ModuleComputeDefinition, self._return_none_for_unknown_union_types)
|
|
16478
|
+
|
|
16274
16479
|
|
|
16275
16480
|
module_internal_InternalModuleService.__name__ = "InternalModuleService"
|
|
16276
16481
|
module_internal_InternalModuleService.__qualname__ = "InternalModuleService"
|
|
@@ -16300,32 +16505,38 @@ module_internal_ModuleApplicationReference.__qualname__ = "ModuleApplicationRefe
|
|
|
16300
16505
|
module_internal_ModuleApplicationReference.__module__ = "nominal_api.module_internal"
|
|
16301
16506
|
|
|
16302
16507
|
|
|
16303
|
-
class
|
|
16508
|
+
class module_internal_ModuleComputeDefinition(ConjureBeanType):
|
|
16304
16509
|
|
|
16305
16510
|
@builtins.classmethod
|
|
16306
16511
|
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
16307
16512
|
return {
|
|
16308
|
-
'
|
|
16309
|
-
'
|
|
16513
|
+
'module_name': ConjureFieldDefinition('moduleName', str),
|
|
16514
|
+
'module_rid': ConjureFieldDefinition('moduleRid', modules_api_ModuleRid),
|
|
16515
|
+
'version': ConjureFieldDefinition('version', module_ModuleVersion),
|
|
16310
16516
|
'default_variables': ConjureFieldDefinition('defaultVariables', List[module_ModuleVariable]),
|
|
16311
16517
|
'functions': ConjureFieldDefinition('functions', List[module_Function])
|
|
16312
16518
|
}
|
|
16313
16519
|
|
|
16314
|
-
__slots__: List[str] = ['
|
|
16520
|
+
__slots__: List[str] = ['_module_name', '_module_rid', '_version', '_default_variables', '_functions']
|
|
16315
16521
|
|
|
16316
|
-
def __init__(self, default_variables: List["module_ModuleVariable"], functions: List["module_Function"],
|
|
16317
|
-
self.
|
|
16318
|
-
self.
|
|
16522
|
+
def __init__(self, default_variables: List["module_ModuleVariable"], functions: List["module_Function"], module_name: str, module_rid: str, version: str) -> None:
|
|
16523
|
+
self._module_name = module_name
|
|
16524
|
+
self._module_rid = module_rid
|
|
16525
|
+
self._version = version
|
|
16319
16526
|
self._default_variables = default_variables
|
|
16320
16527
|
self._functions = functions
|
|
16321
16528
|
|
|
16322
16529
|
@builtins.property
|
|
16323
|
-
def
|
|
16324
|
-
return self.
|
|
16530
|
+
def module_name(self) -> str:
|
|
16531
|
+
return self._module_name
|
|
16325
16532
|
|
|
16326
16533
|
@builtins.property
|
|
16327
|
-
def
|
|
16328
|
-
return self.
|
|
16534
|
+
def module_rid(self) -> str:
|
|
16535
|
+
return self._module_rid
|
|
16536
|
+
|
|
16537
|
+
@builtins.property
|
|
16538
|
+
def version(self) -> str:
|
|
16539
|
+
return self._version
|
|
16329
16540
|
|
|
16330
16541
|
@builtins.property
|
|
16331
16542
|
def default_variables(self) -> List["module_ModuleVariable"]:
|
|
@@ -16336,6 +16547,41 @@ class module_internal_ResolvedModuleVersionDefinition(ConjureBeanType):
|
|
|
16336
16547
|
return self._functions
|
|
16337
16548
|
|
|
16338
16549
|
|
|
16550
|
+
module_internal_ModuleComputeDefinition.__name__ = "ModuleComputeDefinition"
|
|
16551
|
+
module_internal_ModuleComputeDefinition.__qualname__ = "ModuleComputeDefinition"
|
|
16552
|
+
module_internal_ModuleComputeDefinition.__module__ = "nominal_api.module_internal"
|
|
16553
|
+
|
|
16554
|
+
|
|
16555
|
+
class module_internal_ResolvedModuleVersionDefinition(ConjureBeanType):
|
|
16556
|
+
|
|
16557
|
+
@builtins.classmethod
|
|
16558
|
+
def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
|
|
16559
|
+
return {
|
|
16560
|
+
'module_application_rid': ConjureFieldDefinition('moduleApplicationRid', modules_api_ModuleApplicationRid),
|
|
16561
|
+
'resolved_parameters': ConjureFieldDefinition('resolvedParameters', List[module_ModuleVariable]),
|
|
16562
|
+
'module_definition': ConjureFieldDefinition('moduleDefinition', module_internal_ModuleComputeDefinition)
|
|
16563
|
+
}
|
|
16564
|
+
|
|
16565
|
+
__slots__: List[str] = ['_module_application_rid', '_resolved_parameters', '_module_definition']
|
|
16566
|
+
|
|
16567
|
+
def __init__(self, module_application_rid: str, module_definition: "module_internal_ModuleComputeDefinition", resolved_parameters: List["module_ModuleVariable"]) -> None:
|
|
16568
|
+
self._module_application_rid = module_application_rid
|
|
16569
|
+
self._resolved_parameters = resolved_parameters
|
|
16570
|
+
self._module_definition = module_definition
|
|
16571
|
+
|
|
16572
|
+
@builtins.property
|
|
16573
|
+
def module_application_rid(self) -> str:
|
|
16574
|
+
return self._module_application_rid
|
|
16575
|
+
|
|
16576
|
+
@builtins.property
|
|
16577
|
+
def resolved_parameters(self) -> List["module_ModuleVariable"]:
|
|
16578
|
+
return self._resolved_parameters
|
|
16579
|
+
|
|
16580
|
+
@builtins.property
|
|
16581
|
+
def module_definition(self) -> "module_internal_ModuleComputeDefinition":
|
|
16582
|
+
return self._module_definition
|
|
16583
|
+
|
|
16584
|
+
|
|
16339
16585
|
module_internal_ResolvedModuleVersionDefinition.__name__ = "ResolvedModuleVersionDefinition"
|
|
16340
16586
|
module_internal_ResolvedModuleVersionDefinition.__qualname__ = "ResolvedModuleVersionDefinition"
|
|
16341
16587
|
module_internal_ResolvedModuleVersionDefinition.__module__ = "nominal_api.module_internal"
|
|
@@ -88892,6 +89138,8 @@ storage_datasource_api_NominalDataSourceId = str
|
|
|
88892
89138
|
|
|
88893
89139
|
api_rids_EventRid = str
|
|
88894
89140
|
|
|
89141
|
+
module_ModuleVersion = str
|
|
89142
|
+
|
|
88895
89143
|
persistent_compute_api_Milliseconds = int
|
|
88896
89144
|
|
|
88897
89145
|
ingest_api_IngestJobRid = str
|
nominal_api/module/__init__.py
CHANGED
|
@@ -18,6 +18,7 @@ from .._impl import (
|
|
|
18
18
|
module_GetDerivedSeriesRequest as GetDerivedSeriesRequest,
|
|
19
19
|
module_GetDerivedSeriesResponse as GetDerivedSeriesResponse,
|
|
20
20
|
module_GetModuleRequest as GetModuleRequest,
|
|
21
|
+
module_LatestVersionStrategy as LatestVersionStrategy,
|
|
21
22
|
module_Module as Module,
|
|
22
23
|
module_ModuleApplication as ModuleApplication,
|
|
23
24
|
module_ModuleMetadata as ModuleMetadata,
|
|
@@ -26,9 +27,14 @@ from .._impl import (
|
|
|
26
27
|
module_ModuleService as ModuleService,
|
|
27
28
|
module_ModuleSummary as ModuleSummary,
|
|
28
29
|
module_ModuleVariable as ModuleVariable,
|
|
30
|
+
module_ModuleVersion as ModuleVersion,
|
|
29
31
|
module_ModuleVersionDefinition as ModuleVersionDefinition,
|
|
30
32
|
module_ModuleVersionMetadata as ModuleVersionMetadata,
|
|
31
33
|
module_ParameterName as ParameterName,
|
|
34
|
+
module_PinnedVersionStrategy as PinnedVersionStrategy,
|
|
35
|
+
module_RequestModuleNameRef as RequestModuleNameRef,
|
|
36
|
+
module_RequestModuleRef as RequestModuleRef,
|
|
37
|
+
module_RequestModuleRefVisitor as RequestModuleRefVisitor,
|
|
32
38
|
module_SearchModuleApplicationsQuery as SearchModuleApplicationsQuery,
|
|
33
39
|
module_SearchModuleApplicationsQueryVisitor as SearchModuleApplicationsQueryVisitor,
|
|
34
40
|
module_SearchModuleApplicationsRequest as SearchModuleApplicationsRequest,
|
|
@@ -39,12 +45,13 @@ from .._impl import (
|
|
|
39
45
|
module_SearchModulesResponse as SearchModulesResponse,
|
|
40
46
|
module_SearchModulesSortField as SearchModulesSortField,
|
|
41
47
|
module_SearchModulesSortOptions as SearchModulesSortOptions,
|
|
42
|
-
module_SemanticVersion as SemanticVersion,
|
|
43
48
|
module_UpdateModuleApplicationRequest as UpdateModuleApplicationRequest,
|
|
44
49
|
module_UpdateModuleApplicationResponse as UpdateModuleApplicationResponse,
|
|
45
50
|
module_UpdateModuleRequest as UpdateModuleRequest,
|
|
46
51
|
module_ValueType as ValueType,
|
|
47
52
|
module_VariableName as VariableName,
|
|
53
|
+
module_VersionStrategy as VersionStrategy,
|
|
54
|
+
module_VersionStrategyVisitor as VersionStrategyVisitor,
|
|
48
55
|
)
|
|
49
56
|
|
|
50
57
|
__all__ = [
|
|
@@ -66,6 +73,7 @@ __all__ = [
|
|
|
66
73
|
'GetDerivedSeriesRequest',
|
|
67
74
|
'GetDerivedSeriesResponse',
|
|
68
75
|
'GetModuleRequest',
|
|
76
|
+
'LatestVersionStrategy',
|
|
69
77
|
'Module',
|
|
70
78
|
'ModuleApplication',
|
|
71
79
|
'ModuleMetadata',
|
|
@@ -73,9 +81,14 @@ __all__ = [
|
|
|
73
81
|
'ModuleRef',
|
|
74
82
|
'ModuleSummary',
|
|
75
83
|
'ModuleVariable',
|
|
84
|
+
'ModuleVersion',
|
|
76
85
|
'ModuleVersionDefinition',
|
|
77
86
|
'ModuleVersionMetadata',
|
|
78
87
|
'ParameterName',
|
|
88
|
+
'PinnedVersionStrategy',
|
|
89
|
+
'RequestModuleNameRef',
|
|
90
|
+
'RequestModuleRef',
|
|
91
|
+
'RequestModuleRefVisitor',
|
|
79
92
|
'SearchModuleApplicationsQuery',
|
|
80
93
|
'SearchModuleApplicationsQueryVisitor',
|
|
81
94
|
'SearchModuleApplicationsRequest',
|
|
@@ -86,12 +99,13 @@ __all__ = [
|
|
|
86
99
|
'SearchModulesResponse',
|
|
87
100
|
'SearchModulesSortField',
|
|
88
101
|
'SearchModulesSortOptions',
|
|
89
|
-
'SemanticVersion',
|
|
90
102
|
'UpdateModuleApplicationRequest',
|
|
91
103
|
'UpdateModuleApplicationResponse',
|
|
92
104
|
'UpdateModuleRequest',
|
|
93
105
|
'ValueType',
|
|
94
106
|
'VariableName',
|
|
107
|
+
'VersionStrategy',
|
|
108
|
+
'VersionStrategyVisitor',
|
|
95
109
|
'ModuleService',
|
|
96
110
|
]
|
|
97
111
|
|
|
@@ -4,6 +4,7 @@ from .._impl import (
|
|
|
4
4
|
module_internal_BatchGetResolvedModuleDefinitionsResponse as BatchGetResolvedModuleDefinitionsResponse,
|
|
5
5
|
module_internal_InternalModuleService as InternalModuleService,
|
|
6
6
|
module_internal_ModuleApplicationReference as ModuleApplicationReference,
|
|
7
|
+
module_internal_ModuleComputeDefinition as ModuleComputeDefinition,
|
|
7
8
|
module_internal_ResolvedModuleVersionDefinition as ResolvedModuleVersionDefinition,
|
|
8
9
|
)
|
|
9
10
|
|
|
@@ -11,6 +12,7 @@ __all__ = [
|
|
|
11
12
|
'BatchGetResolvedModuleDefinitionsRequest',
|
|
12
13
|
'BatchGetResolvedModuleDefinitionsResponse',
|
|
13
14
|
'ModuleApplicationReference',
|
|
15
|
+
'ModuleComputeDefinition',
|
|
14
16
|
'ResolvedModuleVersionDefinition',
|
|
15
17
|
'InternalModuleService',
|
|
16
18
|
]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
nominal_api/__init__.py,sha256=
|
|
2
|
-
nominal_api/_impl.py,sha256=
|
|
1
|
+
nominal_api/__init__.py,sha256=paEtuXjtO_Ml5I-73y5NEKixjhIgTDxJA4WWxJOwfAY,2012
|
|
2
|
+
nominal_api/_impl.py,sha256=CorV3hvgAo8E7hQnEKq5TwyH4UxAYYZSw_Jzhm5qH24,3510963
|
|
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
|
|
@@ -17,8 +17,8 @@ nominal_api/datasource_pagination_api/__init__.py,sha256=WeENj6yqi2XfInU8YgjFwqw
|
|
|
17
17
|
nominal_api/event/__init__.py,sha256=f2EQvcnc2nZCLGG5v-By9d947pChT-z4a9GDnqIk2Fs,2914
|
|
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
|
-
nominal_api/module/__init__.py,sha256=
|
|
21
|
-
nominal_api/module_internal/__init__.py,sha256=
|
|
20
|
+
nominal_api/module/__init__.py,sha256=Vi_mNOKy83VuTNG2uqHsoHpcCg24CHJfONHZZee9d0M,4604
|
|
21
|
+
nominal_api/module_internal/__init__.py,sha256=eQlr6hevLUY12YnlOinh6_lbTCXbQWzKWhMNNbBW2Ok,805
|
|
22
22
|
nominal_api/modules_api/__init__.py,sha256=686IO0NDXIYDX1mJkE7YBwqYOTayga6JYs1AZzO_lRQ,202
|
|
23
23
|
nominal_api/persistent_compute_api/__init__.py,sha256=bOWBiRLJbl3winMP9EowCUpPpRIUYyejua3059wJWQk,3314
|
|
24
24
|
nominal_api/scout/__init__.py,sha256=dZzrrqBeio2l0txhlNoHSfv6QsA9a3EVDp0_XpubUGk,481
|
|
@@ -75,7 +75,7 @@ nominal_api/timeseries_logicalseries_api/__init__.py,sha256=BwdqHLq_98LOsRV14JA3
|
|
|
75
75
|
nominal_api/timeseries_seriescache/__init__.py,sha256=hL5hN8jKLEGE_fDiZzdASmWIrRjU6tncpmDeuc_47P4,150
|
|
76
76
|
nominal_api/timeseries_seriescache_api/__init__.py,sha256=USBxFmNnVFdnhTPLvWi3UgsvBZ4Iz4ycNgBTi10F-zI,1603
|
|
77
77
|
nominal_api/upload_api/__init__.py,sha256=7-XXuZUqKPV4AMWvxNpZPZ5vBun4x-AomXj3Vol_BN4,123
|
|
78
|
-
nominal_api-0.
|
|
79
|
-
nominal_api-0.
|
|
80
|
-
nominal_api-0.
|
|
81
|
-
nominal_api-0.
|
|
78
|
+
nominal_api-0.803.0.dist-info/METADATA,sha256=ibllj2MIE8qZ8MQMjVLEtV12orn8wpybrtFEXDwbADE,199
|
|
79
|
+
nominal_api-0.803.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
80
|
+
nominal_api-0.803.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
|
|
81
|
+
nominal_api-0.803.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|