pycarlo 0.10.222__py3-none-any.whl → 0.10.223__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"""
@@ -25801,6 +25919,7 @@ class MsTeamsInstallationList(sgqlc.types.Type):
25801
25919
  class Mutation(sgqlc.types.Type):
25802
25920
  __schema__ = schema
25803
25921
  __field_names__ = (
25922
+ "create_or_update_agent_trace_table",
25804
25923
  "link_slack_app_installation",
25805
25924
  "create_logs_integration",
25806
25925
  "update_logs_integration",
@@ -26256,6 +26375,29 @@ class Mutation(sgqlc.types.Type):
26256
26375
  "update_account_secret",
26257
26376
  "delete_account_secret",
26258
26377
  )
26378
+ create_or_update_agent_trace_table = sgqlc.types.Field(
26379
+ CreateOrUpdateAgentTraceTable,
26380
+ graphql_name="createOrUpdateAgentTraceTable",
26381
+ args=sgqlc.types.ArgDict(
26382
+ (
26383
+ (
26384
+ "input",
26385
+ sgqlc.types.Arg(
26386
+ sgqlc.types.non_null(CreateOrUpdateAgentTraceTableInput),
26387
+ graphql_name="input",
26388
+ default=None,
26389
+ ),
26390
+ ),
26391
+ )
26392
+ ),
26393
+ )
26394
+ """(experimental) Create or update an agent trace table
26395
+
26396
+ Arguments:
26397
+
26398
+ * `input` (`CreateOrUpdateAgentTraceTableInput!`)None
26399
+ """
26400
+
26259
26401
  link_slack_app_installation = sgqlc.types.Field(
26260
26402
  LinkSlackAppInstallation,
26261
26403
  graphql_name="linkSlackAppInstallation",
@@ -44857,6 +44999,7 @@ class QueriedTable(sgqlc.types.Type):
44857
44999
  class Query(sgqlc.types.Type):
44858
45000
  __schema__ = schema
44859
45001
  __field_names__ = (
45002
+ "get_agent_trace_tables",
44860
45003
  "get_table_monitor_metric",
44861
45004
  "get_tables_for_coverage_dashboard",
44862
45005
  "get_monitor_counts_by_creator",
@@ -45341,6 +45484,11 @@ class Query(sgqlc.types.Type):
45341
45484
  "get_account_secret",
45342
45485
  "get_account_secrets",
45343
45486
  )
45487
+ get_agent_trace_tables = sgqlc.types.Field(
45488
+ sgqlc.types.list_of("AgentTraceTable"), graphql_name="getAgentTraceTables"
45489
+ )
45490
+ """(experimental) Get all agent trace tables"""
45491
+
45344
45492
  get_table_monitor_metric = sgqlc.types.Field(
45345
45493
  "TableMonitorMetric",
45346
45494
  graphql_name="getTableMonitorMetric",
@@ -70540,6 +70688,39 @@ class AdfTaskRun(sgqlc.types.Type, Node):
70540
70688
  """MCON of Job for provided job_id"""
70541
70689
 
70542
70690
 
70691
+ class AgentTraceTable(sgqlc.types.Type, Node):
70692
+ __schema__ = schema
70693
+ __field_names__ = (
70694
+ "created_time",
70695
+ "updated_time",
70696
+ "uuid",
70697
+ "account",
70698
+ "table",
70699
+ "span_format",
70700
+ "schedule",
70701
+ )
70702
+ created_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdTime")
70703
+
70704
+ updated_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="updatedTime")
70705
+
70706
+ uuid = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="uuid")
70707
+ """Unique ID of the Agent Trace Table."""
70708
+
70709
+ account = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name="account")
70710
+
70711
+ table = sgqlc.types.Field(sgqlc.types.non_null("WarehouseTable"), graphql_name="table")
70712
+ """Agent trace table"""
70713
+
70714
+ span_format = sgqlc.types.Field(
70715
+ sgqlc.types.non_null(AgentTraceTableModelSpanFormat), graphql_name="spanFormat"
70716
+ )
70717
+ """Format of spans in the table."""
70718
+
70719
+ schedule = sgqlc.types.Field(
70720
+ sgqlc.types.non_null(DataCollectorSchedule), graphql_name="schedule"
70721
+ )
70722
+
70723
+
70543
70724
  class AirflowDag(sgqlc.types.Type, Node):
70544
70725
  __schema__ = schema
70545
70726
  __field_names__ = (
@@ -79175,6 +79356,7 @@ class WarehouseTable(sgqlc.types.Type, Node):
79175
79356
  "dbt_nodes",
79176
79357
  "dbt_run_steps",
79177
79358
  "fivetranconnectormodel_set",
79359
+ "agent_trace_tables",
79178
79360
  "thresholds",
79179
79361
  "get_thresholds",
79180
79362
  "freshness_anomaly",
@@ -79579,6 +79761,30 @@ class WarehouseTable(sgqlc.types.Type, Node):
79579
79761
  * `last` (`Int`)None
79580
79762
  """
79581
79763
 
79764
+ agent_trace_tables = sgqlc.types.Field(
79765
+ sgqlc.types.non_null(AgentTraceTableConnection),
79766
+ graphql_name="agentTraceTables",
79767
+ args=sgqlc.types.ArgDict(
79768
+ (
79769
+ ("offset", sgqlc.types.Arg(Int, graphql_name="offset", default=None)),
79770
+ ("before", sgqlc.types.Arg(String, graphql_name="before", default=None)),
79771
+ ("after", sgqlc.types.Arg(String, graphql_name="after", default=None)),
79772
+ ("first", sgqlc.types.Arg(Int, graphql_name="first", default=None)),
79773
+ ("last", sgqlc.types.Arg(Int, graphql_name="last", default=None)),
79774
+ )
79775
+ ),
79776
+ )
79777
+ """Agent trace table
79778
+
79779
+ Arguments:
79780
+
79781
+ * `offset` (`Int`)None
79782
+ * `before` (`String`)None
79783
+ * `after` (`String`)None
79784
+ * `first` (`Int`)None
79785
+ * `last` (`Int`)None
79786
+ """
79787
+
79582
79788
  thresholds = sgqlc.types.Field(ThresholdsData, graphql_name="thresholds")
79583
79789
  """Section describing various anomaly thresholds for the table"""
79584
79790
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.222
3
+ Version: 0.10.223
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=n8x0vhUuw44yzK2Uk9i4nO2N884OwRJhTD4NXOHmUh4,6430140
39
+ pycarlo/lib/schema.py,sha256=a8aYbnOOD1LoyiTz8MUXaOjunjEeqOdq5BfgH07rVi8,2795541
40
+ pycarlo-0.10.223.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.223.dist-info/METADATA,sha256=8JnoPGVMDpRj8WV2AWHkmwm-j_r_d_hSIBpzZuXVxio,8742
42
+ pycarlo-0.10.223.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.223.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.223.dist-info/RECORD,,