nominal-api 0.811.0__py3-none-any.whl → 0.813.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
@@ -78,5 +78,5 @@ __all__ = [
78
78
 
79
79
  __conjure_generator_version__ = "4.17.0"
80
80
 
81
- __version__ = "0.811.0"
81
+ __version__ = "0.813.0"
82
82
 
nominal_api/_impl.py CHANGED
@@ -6428,6 +6428,38 @@ Empty fields in the UpdateEventRequest are left unchanged.
6428
6428
  _decoder = ConjureDecoder()
6429
6429
  return _decoder.decode(_response.json(), event_EventsHistogramResponse, self._return_none_for_unknown_union_types)
6430
6430
 
6431
+ def list_properties_and_labels(self, auth_header: str, request: "event_ListPropertiesAndLabelsRequest") -> "scout_metadata_ListPropertiesAndLabelsResponse":
6432
+ """Lists the properties and labels of all events in the provided workspaces.
6433
+ """
6434
+ _conjure_encoder = ConjureEncoder()
6435
+
6436
+ _headers: Dict[str, Any] = {
6437
+ 'Accept': 'application/json',
6438
+ 'Content-Type': 'application/json',
6439
+ 'Authorization': auth_header,
6440
+ }
6441
+
6442
+ _params: Dict[str, Any] = {
6443
+ }
6444
+
6445
+ _path_params: Dict[str, str] = {
6446
+ }
6447
+
6448
+ _json: Any = _conjure_encoder.default(request)
6449
+
6450
+ _path = '/event/v1/list-properties-labels'
6451
+ _path = _path.format(**_path_params)
6452
+
6453
+ _response: Response = self._request(
6454
+ 'POST',
6455
+ self._uri + _path,
6456
+ params=_params,
6457
+ headers=_headers,
6458
+ json=_json)
6459
+
6460
+ _decoder = ConjureDecoder()
6461
+ return _decoder.decode(_response.json(), scout_metadata_ListPropertiesAndLabelsResponse, self._return_none_for_unknown_union_types)
6462
+
6431
6463
 
6432
6464
  event_EventService.__name__ = "EventService"
6433
6465
  event_EventService.__qualname__ = "EventService"
@@ -7073,6 +7105,31 @@ event_HistogramFilterQueryVisitor.__qualname__ = "HistogramFilterQueryVisitor"
7073
7105
  event_HistogramFilterQueryVisitor.__module__ = "nominal_api.event"
7074
7106
 
7075
7107
 
7108
+ class event_ListPropertiesAndLabelsRequest(ConjureBeanType):
7109
+
7110
+ @builtins.classmethod
7111
+ def _fields(cls) -> Dict[str, ConjureFieldDefinition]:
7112
+ return {
7113
+ 'workspaces': ConjureFieldDefinition('workspaces', OptionalTypeWrapper[List[api_rids_WorkspaceRid]])
7114
+ }
7115
+
7116
+ __slots__: List[str] = ['_workspaces']
7117
+
7118
+ def __init__(self, workspaces: Optional[List[str]] = None) -> None:
7119
+ self._workspaces = workspaces
7120
+
7121
+ @builtins.property
7122
+ def workspaces(self) -> Optional[List[str]]:
7123
+ """If omitted, results will come from all workspaces the user belongs to.
7124
+ """
7125
+ return self._workspaces
7126
+
7127
+
7128
+ event_ListPropertiesAndLabelsRequest.__name__ = "ListPropertiesAndLabelsRequest"
7129
+ event_ListPropertiesAndLabelsRequest.__qualname__ = "ListPropertiesAndLabelsRequest"
7130
+ event_ListPropertiesAndLabelsRequest.__module__ = "nominal_api.event"
7131
+
7132
+
7076
7133
  class event_ProcedureEventOrigin(ConjureBeanType):
7077
7134
 
7078
7135
  @builtins.classmethod
@@ -24,6 +24,7 @@ from .._impl import (
24
24
  event_GetEvents as GetEvents,
25
25
  event_HistogramFilterQuery as HistogramFilterQuery,
26
26
  event_HistogramFilterQueryVisitor as HistogramFilterQueryVisitor,
27
+ event_ListPropertiesAndLabelsRequest as ListPropertiesAndLabelsRequest,
27
28
  event_ProcedureEventOrigin as ProcedureEventOrigin,
28
29
  event_SearchEventOriginType as SearchEventOriginType,
29
30
  event_SearchEventsRequest as SearchEventsRequest,
@@ -63,6 +64,7 @@ __all__ = [
63
64
  'GetEvents',
64
65
  'HistogramFilterQuery',
65
66
  'HistogramFilterQueryVisitor',
67
+ 'ListPropertiesAndLabelsRequest',
66
68
  'ProcedureEventOrigin',
67
69
  'SearchEventOriginType',
68
70
  'SearchEventsRequest',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nominal-api
3
- Version: 0.811.0
3
+ Version: 0.813.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=Sj66nB1cpPTc0AaOk6dWyyjyHdNO4pj-NRmI2fbyUNc,2012
2
- nominal_api/_impl.py,sha256=NJ_caD1McPvX2JYadRSWcOCjikxLFSoJL3pAq0vGLd4,3515354
1
+ nominal_api/__init__.py,sha256=MNQTZ50-itTWLGqG3-o0AjD3oUZ7m-lvhMM5falXrUA,2012
2
+ nominal_api/_impl.py,sha256=P_A5zqvDohe9Uc-31soye0-M_d_DcuzqNOUus6oyfgU,3517326
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
@@ -14,7 +14,7 @@ nominal_api/datasource_api/__init__.py,sha256=-Py2STiLyAzvX6RntC9niTX2BVVLeLlXY1
14
14
  nominal_api/datasource_logset/__init__.py,sha256=SGt5PmLgYpLfhcoESk69aVufuZugg8dp6XBHOZ480IA,130
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
- nominal_api/event/__init__.py,sha256=f2EQvcnc2nZCLGG5v-By9d947pChT-z4a9GDnqIk2Fs,2914
17
+ nominal_api/event/__init__.py,sha256=kXgNJmtAyPqinPrDRt-fMG7SD2DhRdyufzwKUpdhVrU,3028
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=IouRrNUGOZ8QafmhhusUQFjJMwqFaqkJoREgvtEcG5E,4855
@@ -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.811.0.dist-info/METADATA,sha256=5Fj9G--WdP7DhXIBdJwvxAiBwZWL5Oz4HsZuapn1QSs,199
79
- nominal_api-0.811.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
80
- nominal_api-0.811.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
81
- nominal_api-0.811.0.dist-info/RECORD,,
78
+ nominal_api-0.813.0.dist-info/METADATA,sha256=xvdmcvzwMONwm8ocNC0kNL7YpKeIp3kV7ZRdvY-dNb8,199
79
+ nominal_api-0.813.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
80
+ nominal_api-0.813.0.dist-info/top_level.txt,sha256=gI1ZdNJbuHcJZeKtCzzBXsEtpU1GX6XJKs6ksi_gCRA,12
81
+ nominal_api-0.813.0.dist-info/RECORD,,