pycarlo 0.12.2__py3-none-any.whl → 0.12.5__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.
pycarlo/lib/schema.json CHANGED
@@ -42587,6 +42587,18 @@
42587
42587
  }
42588
42588
  }
42589
42589
  },
42590
+ {
42591
+ "args": [],
42592
+ "deprecationReason": null,
42593
+ "description": "",
42594
+ "isDeprecated": false,
42595
+ "name": "name",
42596
+ "type": {
42597
+ "kind": "SCALAR",
42598
+ "name": "String",
42599
+ "ofType": null
42600
+ }
42601
+ },
42590
42602
  {
42591
42603
  "args": [],
42592
42604
  "deprecationReason": null,
@@ -71862,6 +71874,18 @@
71862
71874
  }
71863
71875
  }
71864
71876
  },
71877
+ {
71878
+ "args": [],
71879
+ "deprecationReason": null,
71880
+ "description": "Name of the Agent.",
71881
+ "isDeprecated": false,
71882
+ "name": "name",
71883
+ "type": {
71884
+ "kind": "SCALAR",
71885
+ "name": "String",
71886
+ "ofType": null
71887
+ }
71888
+ },
71865
71889
  {
71866
71890
  "args": [],
71867
71891
  "deprecationReason": null,
@@ -88174,6 +88198,18 @@
88174
88198
  "ofType": null
88175
88199
  }
88176
88200
  },
88201
+ {
88202
+ "args": [],
88203
+ "deprecationReason": null,
88204
+ "description": "Timestamp when the channel was marked as loading",
88205
+ "isDeprecated": false,
88206
+ "name": "loadingStartTime",
88207
+ "type": {
88208
+ "kind": "SCALAR",
88209
+ "name": "DateTime",
88210
+ "ofType": null
88211
+ }
88212
+ },
88177
88213
  {
88178
88214
  "args": [],
88179
88215
  "deprecationReason": null,
@@ -157928,6 +157964,53 @@
157928
157964
  "ofType": null
157929
157965
  }
157930
157966
  },
157967
+ {
157968
+ "args": [
157969
+ {
157970
+ "defaultValue": null,
157971
+ "description": "MCON of the table for which monitoring was enabled",
157972
+ "name": "mcon",
157973
+ "type": {
157974
+ "kind": "NON_NULL",
157975
+ "name": null,
157976
+ "ofType": {
157977
+ "kind": "SCALAR",
157978
+ "name": "String",
157979
+ "ofType": null
157980
+ }
157981
+ }
157982
+ },
157983
+ {
157984
+ "defaultValue": null,
157985
+ "description": "UUID of the TableMonitor that enabled monitoring for this table. Provide either this or usageRuleId, but not both.",
157986
+ "name": "tableMonitorUuid",
157987
+ "type": {
157988
+ "kind": "SCALAR",
157989
+ "name": "UUID",
157990
+ "ofType": null
157991
+ }
157992
+ },
157993
+ {
157994
+ "defaultValue": null,
157995
+ "description": "ID of the MonitoredTableRule that enabled monitoring for this table. Provide either this or tableMonitorUuid, but not both.",
157996
+ "name": "usageRuleId",
157997
+ "type": {
157998
+ "kind": "SCALAR",
157999
+ "name": "Int",
158000
+ "ofType": null
158001
+ }
158002
+ }
158003
+ ],
158004
+ "deprecationReason": null,
158005
+ "description": "(experimental) Record a single-table monitoring enablement event",
158006
+ "isDeprecated": false,
158007
+ "name": "createSingleTableMonitoringNotification",
158008
+ "type": {
158009
+ "kind": "OBJECT",
158010
+ "name": "CreateSingleTableMonitoringNotification",
158011
+ "ofType": null
158012
+ }
158013
+ },
157931
158014
  {
157932
158015
  "args": [
157933
158016
  {
@@ -184667,6 +184750,33 @@
184667
184750
  "name": "DeleteTableMonitor",
184668
184751
  "possibleTypes": null
184669
184752
  },
184753
+ {
184754
+ "description": "Record that monitoring was enabled for a single table.\n\nMust provide the table mcon and exactly one of\na usage rule ID or a table monitor UUID.",
184755
+ "enumValues": null,
184756
+ "fields": [
184757
+ {
184758
+ "args": [],
184759
+ "deprecationReason": null,
184760
+ "description": "True if the event was recorded",
184761
+ "isDeprecated": false,
184762
+ "name": "success",
184763
+ "type": {
184764
+ "kind": "NON_NULL",
184765
+ "name": null,
184766
+ "ofType": {
184767
+ "kind": "SCALAR",
184768
+ "name": "Boolean",
184769
+ "ofType": null
184770
+ }
184771
+ }
184772
+ }
184773
+ ],
184774
+ "inputFields": null,
184775
+ "interfaces": [],
184776
+ "kind": "OBJECT",
184777
+ "name": "CreateSingleTableMonitoringNotification",
184778
+ "possibleTypes": null
184779
+ },
184670
184780
  {
184671
184781
  "description": null,
184672
184782
  "enumValues": null,
pycarlo/lib/schema.py CHANGED
@@ -13015,6 +13015,7 @@ class Agent(sgqlc.types.Type):
13015
13015
  __field_names__ = (
13016
13016
  "id",
13017
13017
  "uuid",
13018
+ "name",
13018
13019
  "data_collector",
13019
13020
  "endpoint",
13020
13021
  "platform",
@@ -13037,6 +13038,9 @@ class Agent(sgqlc.types.Type):
13037
13038
  uuid = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="uuid")
13038
13039
  """Unique UUID of the Agent."""
13039
13040
 
13041
+ name = sgqlc.types.Field(String, graphql_name="name")
13042
+ """Name of the Agent."""
13043
+
13040
13044
  data_collector = sgqlc.types.Field(
13041
13045
  sgqlc.types.non_null("DataCollector"), graphql_name="dataCollector"
13042
13046
  )
@@ -17595,6 +17599,18 @@ class CreateSharedQuery(sgqlc.types.Type):
17595
17599
  """Link to newly shared query"""
17596
17600
 
17597
17601
 
17602
+ class CreateSingleTableMonitoringNotification(sgqlc.types.Type):
17603
+ """Record that monitoring was enabled for a single table. Must
17604
+ provide the table mcon and exactly one of a usage rule ID or a
17605
+ table monitor UUID.
17606
+ """
17607
+
17608
+ __schema__ = schema
17609
+ __field_names__ = ("success",)
17610
+ success = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name="success")
17611
+ """True if the event was recorded"""
17612
+
17613
+
17598
17614
  class CreateTableauAssetWarning(sgqlc.types.Type):
17599
17615
  """Creates a warning on an asset."""
17600
17616
 
@@ -18097,6 +18113,7 @@ class DataCollector(sgqlc.types.Type):
18097
18113
  "id",
18098
18114
  "account",
18099
18115
  "uuid",
18116
+ "name",
18100
18117
  "api_gateway_id",
18101
18118
  "kinesis_endpoint_id",
18102
18119
  "cloudwatch_log_endpoint_id",
@@ -18132,6 +18149,8 @@ class DataCollector(sgqlc.types.Type):
18132
18149
 
18133
18150
  uuid = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="uuid")
18134
18151
 
18152
+ name = sgqlc.types.Field(String, graphql_name="name")
18153
+
18135
18154
  api_gateway_id = sgqlc.types.Field(String, graphql_name="apiGatewayId")
18136
18155
 
18137
18156
  kinesis_endpoint_id = sgqlc.types.Field(String, graphql_name="kinesisEndpointId")
@@ -26479,6 +26498,7 @@ class Mutation(sgqlc.types.Type):
26479
26498
  "create_or_update_table_monitor",
26480
26499
  "pause_table_monitor",
26481
26500
  "delete_table_monitor",
26501
+ "create_single_table_monitoring_notification",
26482
26502
  "update_monitor_tags",
26483
26503
  "bulk_add_monitor_tags",
26484
26504
  "delete_monitor_tag",
@@ -27522,6 +27542,39 @@ class Mutation(sgqlc.types.Type):
27522
27542
  * `monitor_uuid` (`UUID!`): UUID of the table monitor to delete
27523
27543
  """
27524
27544
 
27545
+ create_single_table_monitoring_notification = sgqlc.types.Field(
27546
+ CreateSingleTableMonitoringNotification,
27547
+ graphql_name="createSingleTableMonitoringNotification",
27548
+ args=sgqlc.types.ArgDict(
27549
+ (
27550
+ (
27551
+ "mcon",
27552
+ sgqlc.types.Arg(
27553
+ sgqlc.types.non_null(String), graphql_name="mcon", default=None
27554
+ ),
27555
+ ),
27556
+ (
27557
+ "table_monitor_uuid",
27558
+ sgqlc.types.Arg(UUID, graphql_name="tableMonitorUuid", default=None),
27559
+ ),
27560
+ ("usage_rule_id", sgqlc.types.Arg(Int, graphql_name="usageRuleId", default=None)),
27561
+ )
27562
+ ),
27563
+ )
27564
+ """(experimental) Record a single-table monitoring enablement event
27565
+
27566
+ Arguments:
27567
+
27568
+ * `mcon` (`String!`): MCON of the table for which monitoring was
27569
+ enabled
27570
+ * `table_monitor_uuid` (`UUID`): UUID of the TableMonitor that
27571
+ enabled monitoring for this table. Provide either this or
27572
+ usageRuleId, but not both.
27573
+ * `usage_rule_id` (`Int`): ID of the MonitoredTableRule that
27574
+ enabled monitoring for this table. Provide either this or
27575
+ tableMonitorUuid, but not both.
27576
+ """
27577
+
27525
27578
  update_monitor_tags = sgqlc.types.Field(
27526
27579
  "UpdateMonitorTags",
27527
27580
  graphql_name="updateMonitorTags",
@@ -78910,6 +78963,7 @@ class SlackChannelV2(sgqlc.types.Type, Node):
78910
78963
  "channel_id",
78911
78964
  "topic",
78912
78965
  "purpose",
78966
+ "loading_start_time",
78913
78967
  "created_time",
78914
78968
  "team_id",
78915
78969
  )
@@ -78928,6 +78982,9 @@ class SlackChannelV2(sgqlc.types.Type, Node):
78928
78982
  purpose = sgqlc.types.Field(String, graphql_name="purpose")
78929
78983
  """The slack channel purpose"""
78930
78984
 
78985
+ loading_start_time = sgqlc.types.Field(DateTime, graphql_name="loadingStartTime")
78986
+ """Timestamp when the channel was marked as loading"""
78987
+
78931
78988
  created_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdTime")
78932
78989
  """The time this record was created."""
78933
78990
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.12.2
3
+ Version: 0.12.5
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
@@ -38,11 +38,11 @@ pycarlo/features/user/queries.py,sha256=m97RvM0oiBlrU5xmOwe_JJ5N0G0NG5hIOeyQqN2O
38
38
  pycarlo/features/user/service.py,sha256=DHkhuonySaHro07NTd0YNe3cNkDk62CiRTY77dhVaMs,2890
39
39
  pycarlo/lib/README.md,sha256=CVVrPPgje7pkXNNsPvwLSeUOm5aktb22MlttmoxX08k,1677
40
40
  pycarlo/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
- pycarlo/lib/schema.json,sha256=tzo-5Vf0-CUD8jKzAXyeN2zBZip27lBemuWJR2tgVfA,6589819
42
- pycarlo/lib/schema.py,sha256=9XCti3nbD7aLi7eWNEscCL-UZocsRbfOuU1upX519Pw,2864266
41
+ pycarlo/lib/schema.json,sha256=AjbIWUdzPwAxpeqmZ8DoA-FSUPcxaAiPsM-J7ePlWN4,6593668
42
+ pycarlo/lib/schema.py,sha256=uhhOjB4kbru-7tZT_O_TUW8jzSCBiCtGkxTyQNbt7Hg,2866352
43
43
  pycarlo/lib/types.py,sha256=lGOrm5Qm-SieDAkOkVOFSgyUJYGOjKnea961AD9Dv6s,2404
44
- pycarlo-0.12.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
45
- pycarlo-0.12.2.dist-info/METADATA,sha256=suLIPmNnkEPegxs2FdUI6MALQJlcmCQvSGROcrzdgjA,8717
46
- pycarlo-0.12.2.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
47
- pycarlo-0.12.2.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
48
- pycarlo-0.12.2.dist-info/RECORD,,
44
+ pycarlo-0.12.5.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
45
+ pycarlo-0.12.5.dist-info/METADATA,sha256=_jGoE6lB9pSjezfhXdXtXk-QWfv5Yh1_ucmBiega48g,8717
46
+ pycarlo-0.12.5.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
47
+ pycarlo-0.12.5.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
48
+ pycarlo-0.12.5.dist-info/RECORD,,