pycarlo 0.10.222__py3-none-any.whl → 0.10.225__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 pycarlo might be problematic. Click here for more details.

pycarlo/lib/schema.py CHANGED
@@ -252,6 +252,30 @@ class AgentModelWrapperType(sgqlc.types.Enum):
252
252
  __choices__ = ("CLOUDFORMATION", "SNA_CONTAINER", "TERRAFORM")
253
253
 
254
254
 
255
+ class AgentTraceFormatEnum(sgqlc.types.Enum):
256
+ """Enum for agent trace format types.
257
+
258
+ Enumeration Choices:
259
+
260
+ * `STANDARD`None
261
+ * `STRANDS`None
262
+ """
263
+
264
+ __schema__ = schema
265
+ __choices__ = ("STANDARD", "STRANDS")
266
+
267
+
268
+ class AgentTraceTableModelSpanFormat(sgqlc.types.Enum):
269
+ """Enumeration Choices:
270
+
271
+ * `STANDARD`: standard
272
+ * `STRANDS`: strands
273
+ """
274
+
275
+ __schema__ = schema
276
+ __choices__ = ("STANDARD", "STRANDS")
277
+
278
+
255
279
  class AgentTypeEnum(sgqlc.types.Enum):
256
280
  """Enumeration Choices:
257
281
 
@@ -3186,6 +3210,7 @@ class InternalJobType(sgqlc.types.Enum):
3186
3210
  """Enumeration Choices:
3187
3211
 
3188
3212
  * `AGENT_REACHABILITY`None
3213
+ * `AGENT_SPANS`None
3189
3214
  * `DIRECT_LINEAGE`None
3190
3215
  * `ETL`None
3191
3216
  * `JSON_SCHEMA`None
@@ -3204,6 +3229,7 @@ class InternalJobType(sgqlc.types.Enum):
3204
3229
  __schema__ = schema
3205
3230
  __choices__ = (
3206
3231
  "AGENT_REACHABILITY",
3232
+ "AGENT_SPANS",
3207
3233
  "DIRECT_LINEAGE",
3208
3234
  "ETL",
3209
3235
  "JSON_SCHEMA",
@@ -6423,6 +6449,22 @@ class ConnectionTestOptions(sgqlc.types.Input):
6423
6449
  """Specify tests to run (Redshift only)."""
6424
6450
 
6425
6451
 
6452
+ class CreateOrUpdateAgentTraceTableInput(sgqlc.types.Input):
6453
+ __schema__ = schema
6454
+ __field_names__ = ("uuid", "mcon", "connection_uuid", "span_format")
6455
+ uuid = sgqlc.types.Field(UUID, graphql_name="uuid")
6456
+ """UUID of existing agent trace table to update"""
6457
+
6458
+ mcon = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="mcon")
6459
+ """MCON of the table"""
6460
+
6461
+ connection_uuid = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="connectionUuid")
6462
+ """Connection UUID to query the table"""
6463
+
6464
+ span_format = sgqlc.types.Field(AgentTraceFormatEnum, graphql_name="spanFormat")
6465
+ """Format of spans in the table"""
6466
+
6467
+
6426
6468
  class CreatedByFilters(sgqlc.types.Input):
6427
6469
  __schema__ = schema
6428
6470
  __field_names__ = ("created_by", "is_template_managed", "namespace", "rule_name")
@@ -11239,6 +11281,7 @@ class Account(sgqlc.types.Type):
11239
11281
  "data_products",
11240
11282
  "opsgenie_integrations",
11241
11283
  "collibra_integrations",
11284
+ "agenttracetablemodel_set",
11242
11285
  "entitlements",
11243
11286
  "dashboards",
11244
11287
  "comparison_dashboards",
@@ -11690,6 +11733,28 @@ class Account(sgqlc.types.Type):
11690
11733
  * `last` (`Int`)None
11691
11734
  """
11692
11735
 
11736
+ agenttracetablemodel_set = sgqlc.types.Field(
11737
+ sgqlc.types.non_null("AgentTraceTableConnection"),
11738
+ graphql_name="agenttracetablemodelSet",
11739
+ args=sgqlc.types.ArgDict(
11740
+ (
11741
+ ("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=None)),
11742
+ ("before", sgqlc.types.Arg(String, graphql_name="before", default=None)),
11743
+ ("after", sgqlc.types.Arg(String, graphql_name="after", default=None)),
11744
+ ("first", sgqlc.types.Arg(Int, graphql_name="first", default=None)),
11745
+ ("last", sgqlc.types.Arg(Int, graphql_name="last", default=None)),
11746
+ )
11747
+ ),
11748
+ )
11749
+ """Arguments:
11750
+
11751
+ * `offset` (`Int`)None
11752
+ * `before` (`String`)None
11753
+ * `after` (`String`)None
11754
+ * `first` (`Int`)None
11755
+ * `last` (`Int`)None
11756
+ """
11757
+
11693
11758
  entitlements = sgqlc.types.Field(
11694
11759
  sgqlc.types.list_of(EntitlementTypes), graphql_name="entitlements"
11695
11760
  )
@@ -12745,6 +12810,30 @@ class AgentSpanTree(sgqlc.types.Type):
12745
12810
  query = sgqlc.types.Field(String, graphql_name="query")
12746
12811
 
12747
12812
 
12813
+ class AgentTraceTableConnection(sgqlc.types.relay.Connection):
12814
+ __schema__ = schema
12815
+ __field_names__ = ("page_info", "edges")
12816
+ page_info = sgqlc.types.Field(sgqlc.types.non_null("PageInfo"), graphql_name="pageInfo")
12817
+ """Pagination data for this connection."""
12818
+
12819
+ edges = sgqlc.types.Field(
12820
+ sgqlc.types.non_null(sgqlc.types.list_of("AgentTraceTableEdge")), graphql_name="edges"
12821
+ )
12822
+ """Contains the nodes in this connection."""
12823
+
12824
+
12825
+ class AgentTraceTableEdge(sgqlc.types.Type):
12826
+ """A Relay edge containing a `AgentTraceTable` and its cursor."""
12827
+
12828
+ __schema__ = schema
12829
+ __field_names__ = ("node", "cursor")
12830
+ node = sgqlc.types.Field("AgentTraceTable", graphql_name="node")
12831
+ """The item at the end of the edge"""
12832
+
12833
+ cursor = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="cursor")
12834
+ """A cursor for use in pagination"""
12835
+
12836
+
12748
12837
  class AggregatedMetricDataType(sgqlc.types.Type):
12749
12838
  __schema__ = schema
12750
12839
  __field_names__ = ("query_group", "metric_aggregation", "timestamp", "value")
@@ -16466,6 +16555,12 @@ class CreateOrUpdateAgentMonitor(sgqlc.types.Type):
16466
16555
  """SQL queries that will be run by the monitor on each execution."""
16467
16556
 
16468
16557
 
16558
+ class CreateOrUpdateAgentTraceTable(sgqlc.types.Type):
16559
+ __schema__ = schema
16560
+ __field_names__ = ("agent_trace_table",)
16561
+ agent_trace_table = sgqlc.types.Field("AgentTraceTable", graphql_name="agentTraceTable")
16562
+
16563
+
16469
16564
  class CreateOrUpdateAlationIntegration(sgqlc.types.Type):
16470
16565
  """Create or update Alation integration"""
16471
16566
 
@@ -17671,6 +17766,7 @@ class DataCollectorSchedule(sgqlc.types.Type):
17671
17766
  "queued_at",
17672
17767
  "metric_monitors",
17673
17768
  "custom_rules",
17769
+ "agent_trace_tables",
17674
17770
  )
17675
17771
  id = sgqlc.types.Field(sgqlc.types.non_null(ID), graphql_name="id")
17676
17772
 
@@ -17822,6 +17918,28 @@ class DataCollectorSchedule(sgqlc.types.Type):
17822
17918
  * `warehouse_uuid` (`UUID`)None
17823
17919
  """
17824
17920
 
17921
+ agent_trace_tables = sgqlc.types.Field(
17922
+ sgqlc.types.non_null(AgentTraceTableConnection),
17923
+ graphql_name="agentTraceTables",
17924
+ args=sgqlc.types.ArgDict(
17925
+ (
17926
+ ("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=None)),
17927
+ ("before", sgqlc.types.Arg(String, graphql_name="before", default=None)),
17928
+ ("after", sgqlc.types.Arg(String, graphql_name="after", default=None)),
17929
+ ("first", sgqlc.types.Arg(Int, graphql_name="first", default=None)),
17930
+ ("last", sgqlc.types.Arg(Int, graphql_name="last", default=None)),
17931
+ )
17932
+ ),
17933
+ )
17934
+ """Arguments:
17935
+
17936
+ * `offset` (`Int`)None
17937
+ * `before` (`String`)None
17938
+ * `after` (`String`)None
17939
+ * `first` (`Int`)None
17940
+ * `last` (`Int`)None
17941
+ """
17942
+
17825
17943
 
17826
17944
  class DataCollectorScheduleInfo(sgqlc.types.Type):
17827
17945
  """Detailed information about a data collector schedule"""
@@ -18109,6 +18227,25 @@ class DataProductConnection(sgqlc.types.relay.Connection):
18109
18227
  """Contains the nodes in this connection."""
18110
18228
 
18111
18229
 
18230
+ class DataProductDryRunTableCounts(sgqlc.types.Type):
18231
+ __schema__ = schema
18232
+ __field_names__ = (
18233
+ "total_asset_count",
18234
+ "total_asset_monitored_count",
18235
+ "total_asset_unmonitored_count",
18236
+ )
18237
+ total_asset_count = sgqlc.types.Field(Int, graphql_name="totalAssetCount")
18238
+ """Total count of assets that would be in the data product"""
18239
+
18240
+ total_asset_monitored_count = sgqlc.types.Field(Int, graphql_name="totalAssetMonitoredCount")
18241
+ """Total count of already monitored assets"""
18242
+
18243
+ total_asset_unmonitored_count = sgqlc.types.Field(
18244
+ Int, graphql_name="totalAssetUnmonitoredCount"
18245
+ )
18246
+ """Total count of yet unmonitored assets"""
18247
+
18248
+
18112
18249
  class DataProductEdge(sgqlc.types.Type):
18113
18250
  """A Relay edge containing a `DataProduct` and its cursor."""
18114
18251
 
@@ -25801,6 +25938,7 @@ class MsTeamsInstallationList(sgqlc.types.Type):
25801
25938
  class Mutation(sgqlc.types.Type):
25802
25939
  __schema__ = schema
25803
25940
  __field_names__ = (
25941
+ "create_or_update_agent_trace_table",
25804
25942
  "link_slack_app_installation",
25805
25943
  "create_logs_integration",
25806
25944
  "update_logs_integration",
@@ -26256,6 +26394,29 @@ class Mutation(sgqlc.types.Type):
26256
26394
  "update_account_secret",
26257
26395
  "delete_account_secret",
26258
26396
  )
26397
+ create_or_update_agent_trace_table = sgqlc.types.Field(
26398
+ CreateOrUpdateAgentTraceTable,
26399
+ graphql_name="createOrUpdateAgentTraceTable",
26400
+ args=sgqlc.types.ArgDict(
26401
+ (
26402
+ (
26403
+ "input",
26404
+ sgqlc.types.Arg(
26405
+ sgqlc.types.non_null(CreateOrUpdateAgentTraceTableInput),
26406
+ graphql_name="input",
26407
+ default=None,
26408
+ ),
26409
+ ),
26410
+ )
26411
+ ),
26412
+ )
26413
+ """(experimental) Create or update an agent trace table
26414
+
26415
+ Arguments:
26416
+
26417
+ * `input` (`CreateOrUpdateAgentTraceTableInput!`)None
26418
+ """
26419
+
26259
26420
  link_slack_app_installation = sgqlc.types.Field(
26260
26421
  LinkSlackAppInstallation,
26261
26422
  graphql_name="linkSlackAppInstallation",
@@ -44857,6 +45018,7 @@ class QueriedTable(sgqlc.types.Type):
44857
45018
  class Query(sgqlc.types.Type):
44858
45019
  __schema__ = schema
44859
45020
  __field_names__ = (
45021
+ "get_agent_trace_tables",
44860
45022
  "get_table_monitor_metric",
44861
45023
  "get_tables_for_coverage_dashboard",
44862
45024
  "get_monitor_counts_by_creator",
@@ -44942,6 +45104,7 @@ class Query(sgqlc.types.Type):
44942
45104
  "get_data_product_upstream_counts",
44943
45105
  "get_data_product_audiences",
44944
45106
  "get_top_warehouse_for_data_product_mcons",
45107
+ "get_data_product_dry_run_counts",
44945
45108
  "parse_query",
44946
45109
  "ping_data_collector",
44947
45110
  "get_ms_teams_integrations",
@@ -45341,6 +45504,11 @@ class Query(sgqlc.types.Type):
45341
45504
  "get_account_secret",
45342
45505
  "get_account_secrets",
45343
45506
  )
45507
+ get_agent_trace_tables = sgqlc.types.Field(
45508
+ sgqlc.types.list_of("AgentTraceTable"), graphql_name="getAgentTraceTables"
45509
+ )
45510
+ """(experimental) Get all agent trace tables"""
45511
+
45344
45512
  get_table_monitor_metric = sgqlc.types.Field(
45345
45513
  "TableMonitorMetric",
45346
45514
  graphql_name="getTableMonitorMetric",
@@ -47738,6 +47906,31 @@ class Query(sgqlc.types.Type):
47738
47906
  * `mcons` (`[String]!`): List of MCONs to analyze
47739
47907
  """
47740
47908
 
47909
+ get_data_product_dry_run_counts = sgqlc.types.Field(
47910
+ DataProductDryRunTableCounts,
47911
+ graphql_name="getDataProductDryRunCounts",
47912
+ args=sgqlc.types.ArgDict(
47913
+ (
47914
+ (
47915
+ "mcons",
47916
+ sgqlc.types.Arg(
47917
+ sgqlc.types.non_null(sgqlc.types.list_of(String)),
47918
+ graphql_name="mcons",
47919
+ default=None,
47920
+ ),
47921
+ ),
47922
+ )
47923
+ ),
47924
+ )
47925
+ """(experimental) Return asset counts for a data product had it been
47926
+ created from these MCONs
47927
+
47928
+ Arguments:
47929
+
47930
+ * `mcons` (`[String]!`): MCON of assets to create data product
47931
+ from
47932
+ """
47933
+
47741
47934
  parse_query = sgqlc.types.Field(
47742
47935
  "SqlParserResult",
47743
47936
  graphql_name="parseQuery",
@@ -69119,6 +69312,7 @@ class UserAuthorizationOutput(sgqlc.types.Type):
69119
69312
  "domain_restrictions",
69120
69313
  "permissions",
69121
69314
  "performance_dashboard_access",
69315
+ "can_edit_table_monitors",
69122
69316
  )
69123
69317
  groups = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name="groups")
69124
69318
  """List of the groups this user is a member of."""
@@ -69143,6 +69337,9 @@ class UserAuthorizationOutput(sgqlc.types.Type):
69143
69337
  "ValidatePerformanceDashboardAccessResponse", graphql_name="performanceDashboardAccess"
69144
69338
  )
69145
69339
 
69340
+ can_edit_table_monitors = sgqlc.types.Field(Boolean, graphql_name="canEditTableMonitors")
69341
+ """Whether the user can create, update or delete table monitors."""
69342
+
69146
69343
 
69147
69344
  class UserBasicInfoConnection(sgqlc.types.relay.Connection):
69148
69345
  __schema__ = schema
@@ -70540,6 +70737,39 @@ class AdfTaskRun(sgqlc.types.Type, Node):
70540
70737
  """MCON of Job for provided job_id"""
70541
70738
 
70542
70739
 
70740
+ class AgentTraceTable(sgqlc.types.Type, Node):
70741
+ __schema__ = schema
70742
+ __field_names__ = (
70743
+ "created_time",
70744
+ "updated_time",
70745
+ "uuid",
70746
+ "account",
70747
+ "table",
70748
+ "span_format",
70749
+ "schedule",
70750
+ )
70751
+ created_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdTime")
70752
+
70753
+ updated_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="updatedTime")
70754
+
70755
+ uuid = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="uuid")
70756
+ """Unique ID of the Agent Trace Table."""
70757
+
70758
+ account = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name="account")
70759
+
70760
+ table = sgqlc.types.Field(sgqlc.types.non_null("WarehouseTable"), graphql_name="table")
70761
+ """Agent trace table"""
70762
+
70763
+ span_format = sgqlc.types.Field(
70764
+ sgqlc.types.non_null(AgentTraceTableModelSpanFormat), graphql_name="spanFormat"
70765
+ )
70766
+ """Format of spans in the table."""
70767
+
70768
+ schedule = sgqlc.types.Field(
70769
+ sgqlc.types.non_null(DataCollectorSchedule), graphql_name="schedule"
70770
+ )
70771
+
70772
+
70543
70773
  class AirflowDag(sgqlc.types.Type, Node):
70544
70774
  __schema__ = schema
70545
70775
  __field_names__ = (
@@ -79175,6 +79405,7 @@ class WarehouseTable(sgqlc.types.Type, Node):
79175
79405
  "dbt_nodes",
79176
79406
  "dbt_run_steps",
79177
79407
  "fivetranconnectormodel_set",
79408
+ "agent_trace_tables",
79178
79409
  "thresholds",
79179
79410
  "get_thresholds",
79180
79411
  "freshness_anomaly",
@@ -79579,6 +79810,30 @@ class WarehouseTable(sgqlc.types.Type, Node):
79579
79810
  * `last` (`Int`)None
79580
79811
  """
79581
79812
 
79813
+ agent_trace_tables = sgqlc.types.Field(
79814
+ sgqlc.types.non_null(AgentTraceTableConnection),
79815
+ graphql_name="agentTraceTables",
79816
+ args=sgqlc.types.ArgDict(
79817
+ (
79818
+ ("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=None)),
79819
+ ("before", sgqlc.types.Arg(String, graphql_name="before", default=None)),
79820
+ ("after", sgqlc.types.Arg(String, graphql_name="after", default=None)),
79821
+ ("first", sgqlc.types.Arg(Int, graphql_name="first", default=None)),
79822
+ ("last", sgqlc.types.Arg(Int, graphql_name="last", default=None)),
79823
+ )
79824
+ ),
79825
+ )
79826
+ """Agent trace table
79827
+
79828
+ Arguments:
79829
+
79830
+ * `offset` (`Int`)None
79831
+ * `before` (`String`)None
79832
+ * `after` (`String`)None
79833
+ * `first` (`Int`)None
79834
+ * `last` (`Int`)None
79835
+ """
79836
+
79582
79837
  thresholds = sgqlc.types.Field(ThresholdsData, graphql_name="thresholds")
79583
79838
  """Section describing various anomaly thresholds for the table"""
79584
79839
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.222
3
+ Version: 0.10.225
4
4
  Summary: Monte Carlo's Python SDK
5
5
  Home-page: https://www.montecarlodata.com/
6
6
  Author: Monte Carlo Data, Inc
@@ -35,10 +35,10 @@ pycarlo/features/user/queries.py,sha256=m97RvM0oiBlrU5xmOwe_JJ5N0G0NG5hIOeyQqN2O
35
35
  pycarlo/features/user/service.py,sha256=DHkhuonySaHro07NTd0YNe3cNkDk62CiRTY77dhVaMs,2890
36
36
  pycarlo/lib/README.md,sha256=QGNeUefPzLKGyZqn5aITpcFgkC9WQTNS292BGisRFHk,139
37
37
  pycarlo/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
- pycarlo/lib/schema.json,sha256=2HbpkByo8HeBtudKxCyVAPM0cRZhEFmiIe0TKQy2tq4,6411750
39
- pycarlo/lib/schema.py,sha256=kIU4zFUsLEQYr15sBom6GfBayDvqpRphw4Ruf7mBH_4,2788708
40
- pycarlo-0.10.222.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.222.dist-info/METADATA,sha256=gvMomHNqAFV70VnTfq3wdj1fPOddELWG4zzt-sTovO4,8742
42
- pycarlo-0.10.222.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.222.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.222.dist-info/RECORD,,
38
+ pycarlo/lib/schema.json,sha256=TNALZiPvK5svZrKlIZV2GWdqEwcYwWu76r2bGHVDLuc,6433123
39
+ pycarlo/lib/schema.py,sha256=ywJudjoIDE8SHD8aLrLEBNCr9WuknS_r2iNKPWMEsL4,2797180
40
+ pycarlo-0.10.225.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.225.dist-info/METADATA,sha256=SbJdEJTVLWoH82p5J2coaQVjcHMq83NmEuvDEjhb0gs,8742
42
+ pycarlo-0.10.225.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.225.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.225.dist-info/RECORD,,