pycarlo 0.12.57__py3-none-any.whl → 0.12.67__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
@@ -4096,7 +4096,6 @@ class Permission(pycarlo.lib.types.Enum):
4096
4096
  * `SettingsUsageAccess`None
4097
4097
  * `SettingsUsageEdit`None
4098
4098
  * `SettingsUserSubscribeWeeklyDigest`None
4099
- * `SettingsUserSubscribeWeeklyDigestV2`None
4100
4099
  * `SettingsUsersAccess`None
4101
4100
  * `SettingsUsersEdit`None
4102
4101
  * `SettingsUsersEditAuthProvisioning`None
@@ -4162,7 +4161,6 @@ class Permission(pycarlo.lib.types.Enum):
4162
4161
  "SettingsUsageAccess",
4163
4162
  "SettingsUsageEdit",
4164
4163
  "SettingsUserSubscribeWeeklyDigest",
4165
- "SettingsUserSubscribeWeeklyDigestV2",
4166
4164
  "SettingsUsersAccess",
4167
4165
  "SettingsUsersEdit",
4168
4166
  "SettingsUsersEditAuthProvisioning",
@@ -4775,22 +4773,38 @@ class SelfHostedCredentialsTypeEnum(pycarlo.lib.types.Enum):
4775
4773
  * `AWS_SECRETS_MANAGER`None
4776
4774
  * `AZURE_KEY_VAULT`None
4777
4775
  * `ENV_VAR`None
4776
+ * `FILE`None
4778
4777
  * `GCP_SECRET_MANAGER`None
4779
4778
  """
4780
4779
 
4781
4780
  __schema__ = schema
4782
- __choices__ = ("AWS_SECRETS_MANAGER", "AZURE_KEY_VAULT", "ENV_VAR", "GCP_SECRET_MANAGER")
4781
+ __choices__ = (
4782
+ "AWS_SECRETS_MANAGER",
4783
+ "AZURE_KEY_VAULT",
4784
+ "ENV_VAR",
4785
+ "FILE",
4786
+ "GCP_SECRET_MANAGER",
4787
+ )
4783
4788
 
4784
4789
 
4785
4790
  class SelfHostedUpdateCredentialsTypeEnum(pycarlo.lib.types.Enum):
4786
4791
  """Enumeration Choices:
4787
4792
 
4788
4793
  * `AWS_SECRETS_MANAGER`None
4794
+ * `AZURE_KEY_VAULT`None
4789
4795
  * `ENV_VAR`None
4796
+ * `FILE`None
4797
+ * `GCP_SECRET_MANAGER`None
4790
4798
  """
4791
4799
 
4792
4800
  __schema__ = schema
4793
- __choices__ = ("AWS_SECRETS_MANAGER", "ENV_VAR")
4801
+ __choices__ = (
4802
+ "AWS_SECRETS_MANAGER",
4803
+ "AZURE_KEY_VAULT",
4804
+ "ENV_VAR",
4805
+ "FILE",
4806
+ "GCP_SECRET_MANAGER",
4807
+ )
4794
4808
 
4795
4809
 
4796
4810
  class SensitivityLevels(pycarlo.lib.types.Enum):
@@ -5433,6 +5447,20 @@ class TraceSortField(pycarlo.lib.types.Enum):
5433
5447
  )
5434
5448
 
5435
5449
 
5450
+ class TsaAnalysisStatus(pycarlo.lib.types.Enum):
5451
+ """Status of TSA analysis for an alert.
5452
+
5453
+ Enumeration Choices:
5454
+
5455
+ * `COMPLETED`None
5456
+ * `IN_PROGRESS`None
5457
+ * `NOT_STARTED`None
5458
+ """
5459
+
5460
+ __schema__ = schema
5461
+ __choices__ = ("COMPLETED", "IN_PROGRESS", "NOT_STARTED")
5462
+
5463
+
5436
5464
  class TutorialStatusType(pycarlo.lib.types.Enum):
5437
5465
  """Enumeration Choices:
5438
5466
 
@@ -5610,6 +5638,19 @@ class UserDefinedMonitorSearchFields(pycarlo.lib.types.Enum):
5610
5638
  )
5611
5639
 
5612
5640
 
5641
+ class UserDefinedMonitorType(pycarlo.lib.types.Enum):
5642
+ """Enumeration Choices:
5643
+
5644
+ * `BULK_MONITOR`None
5645
+ * `MONITOR`None
5646
+ * `RULE`None
5647
+ * `TABLE_MONITOR`None
5648
+ """
5649
+
5650
+ __schema__ = schema
5651
+ __choices__ = ("BULK_MONITOR", "MONITOR", "RULE", "TABLE_MONITOR")
5652
+
5653
+
5613
5654
  class UserDefinedMonitors(pycarlo.lib.types.Enum):
5614
5655
  """Enumeration Choices:
5615
5656
 
@@ -9322,6 +9363,7 @@ class SelfHostedCredentialsConnectionDetails(sgqlc.types.Input):
9322
9363
  "akv_vault_name",
9323
9364
  "akv_vault_url",
9324
9365
  "akv_secret",
9366
+ "file_path",
9325
9367
  "aws_region",
9326
9368
  "assumable_role",
9327
9369
  "external_id",
@@ -9384,6 +9426,11 @@ class SelfHostedCredentialsConnectionDetails(sgqlc.types.Input):
9384
9426
  when self_hosted_credentials_type is 'azure_key_vault'.
9385
9427
  """
9386
9428
 
9429
+ file_path = sgqlc.types.Field(String, graphql_name="filePath")
9430
+ """Path to file containing credentials on the agent. Required when
9431
+ self_hosted_credentials_type is 'file'.
9432
+ """
9433
+
9387
9434
  aws_region = sgqlc.types.Field(String, graphql_name="awsRegion")
9388
9435
  """Optional AWS region to access ASM secret or KMS key"""
9389
9436
 
@@ -9445,6 +9492,11 @@ class SelfHostedUpdateCredentialsConnectionDetails(sgqlc.types.Input):
9445
9492
  "env_var_name",
9446
9493
  "kms_key_id",
9447
9494
  "aws_secret",
9495
+ "gcp_secret",
9496
+ "akv_vault_name",
9497
+ "akv_vault_url",
9498
+ "akv_secret",
9499
+ "file_path",
9448
9500
  "aws_region",
9449
9501
  "assumable_role",
9450
9502
  "external_id",
@@ -9480,6 +9532,33 @@ class SelfHostedUpdateCredentialsConnectionDetails(sgqlc.types.Input):
9480
9532
  'aws_secrets_manager'.
9481
9533
  """
9482
9534
 
9535
+ gcp_secret = sgqlc.types.Field(String, graphql_name="gcpSecret")
9536
+ """Name of GCP Secret Manager secret containing credentials. Required
9537
+ when self_hosted_credentials_type is 'gcp_secrets_manager'.
9538
+ """
9539
+
9540
+ akv_vault_name = sgqlc.types.Field(String, graphql_name="akvVaultName")
9541
+ """Name of Azure Key Vault containing credentials. Required when
9542
+ self_hosted_credentials_type is 'azure_key_vault' and
9543
+ 'akv_vault_url' is not provided.
9544
+ """
9545
+
9546
+ akv_vault_url = sgqlc.types.Field(String, graphql_name="akvVaultUrl")
9547
+ """URL of Azure Key Vault containing credentials. Required when
9548
+ self_hosted_credentials_type is 'azure_key_vault' and
9549
+ 'akv_vault_name' is not provided.
9550
+ """
9551
+
9552
+ akv_secret = sgqlc.types.Field(String, graphql_name="akvSecret")
9553
+ """Name of Azure Key Vault secret containing credentials. Required
9554
+ when self_hosted_credentials_type is 'azure_key_vault'.
9555
+ """
9556
+
9557
+ file_path = sgqlc.types.Field(String, graphql_name="filePath")
9558
+ """Path to file containing credentials on the agent. Required when
9559
+ self_hosted_credentials_type is 'file'.
9560
+ """
9561
+
9483
9562
  aws_region = sgqlc.types.Field(String, graphql_name="awsRegion")
9484
9563
  """Optional AWS region to access ASM secret or KMS key"""
9485
9564
 
@@ -11251,6 +11330,7 @@ class IMonitor(sgqlc.types.Interface):
11251
11330
  __field_names__ = (
11252
11331
  "uuid",
11253
11332
  "monitor_type",
11333
+ "udm_type",
11254
11334
  "created_time",
11255
11335
  "last_update_time",
11256
11336
  "creator_id",
@@ -11311,6 +11391,11 @@ class IMonitor(sgqlc.types.Interface):
11311
11391
  )
11312
11392
  """Type of monitor"""
11313
11393
 
11394
+ udm_type = sgqlc.types.Field(UserDefinedMonitorType, graphql_name="udmType")
11395
+ """User-defined monitor type category (RULE, MONITOR, TABLE_MONITOR,
11396
+ BULK_MONITOR)
11397
+ """
11398
+
11314
11399
  created_time = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name="createdTime")
11315
11400
  """Monitor creation time (UTC)"""
11316
11401
 
@@ -17559,6 +17644,13 @@ class CreateOrUpdateDashboard(sgqlc.types.Type):
17559
17644
  """Dashboard configuration"""
17560
17645
 
17561
17646
 
17647
+ class CreateOrUpdateDashboardFromJson(sgqlc.types.Type):
17648
+ __schema__ = schema
17649
+ __field_names__ = ("dashboard",)
17650
+ dashboard = sgqlc.types.Field(sgqlc.types.non_null("CustomDashboard"), graphql_name="dashboard")
17651
+ """Dashboard configuration"""
17652
+
17653
+
17562
17654
  class CreateOrUpdateDataExplorerComparisonDashboardMutation(sgqlc.types.Type):
17563
17655
  __schema__ = schema
17564
17656
  __field_names__ = ("data_explorer_comparison_dashboard",)
@@ -18047,6 +18139,12 @@ class CustomDashboardEdge(sgqlc.types.Type):
18047
18139
  """A cursor for use in pagination"""
18048
18140
 
18049
18141
 
18142
+ class CustomDashboardJsonResponse(sgqlc.types.Type):
18143
+ __schema__ = schema
18144
+ __field_names__ = ("dashboard_json",)
18145
+ dashboard_json = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="dashboardJson")
18146
+
18147
+
18050
18148
  class CustomDashboardListConnection(sgqlc.types.relay.Connection):
18051
18149
  __schema__ = schema
18052
18150
  __field_names__ = ("page_info", "edges")
@@ -18077,6 +18175,26 @@ class CustomDashboardTimeSeriesLookup(sgqlc.types.Type):
18077
18175
  time_series_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="timeSeriesId")
18078
18176
 
18079
18177
 
18178
+ class CustomDashboardTimeSeriesMetadata(sgqlc.types.Type):
18179
+ __schema__ = schema
18180
+ __field_names__ = ("mcon", "monitor_id", "metric_name", "field", "segmented_values")
18181
+ mcon = sgqlc.types.Field(String, graphql_name="mcon")
18182
+ """MCON if timeseries is for a table"""
18183
+
18184
+ monitor_id = sgqlc.types.Field(UUID, graphql_name="monitorId")
18185
+ """Monitor Id if timeseries is for a rule or metric monitor"""
18186
+
18187
+ metric_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="metricName")
18188
+ """Metric name"""
18189
+
18190
+ field = sgqlc.types.Field(String, graphql_name="field")
18191
+ """Field name for monitor metrics with fields"""
18192
+
18193
+ segmented_values = sgqlc.types.Field(
18194
+ sgqlc.types.non_null(sgqlc.types.list_of(String)), graphql_name="segmentedValues"
18195
+ )
18196
+
18197
+
18080
18198
  class CustomDashboardWidgetContentData(sgqlc.types.Type):
18081
18199
  __schema__ = schema
18082
18200
  __field_names__ = ("data_source_id", "data")
@@ -18360,6 +18478,7 @@ class CustomSQLOutputSample(sgqlc.types.Type):
18360
18478
  "columns",
18361
18479
  "rows",
18362
18480
  "matches",
18481
+ "has_custom_sql_filter",
18363
18482
  "sampling_disabled",
18364
18483
  "next_file_index",
18365
18484
  "total_samples_size",
@@ -18370,6 +18489,9 @@ class CustomSQLOutputSample(sgqlc.types.Type):
18370
18489
 
18371
18490
  matches = sgqlc.types.Field(sgqlc.types.list_of(ConditionMatches), graphql_name="matches")
18372
18491
 
18492
+ has_custom_sql_filter = sgqlc.types.Field(Boolean, graphql_name="hasCustomSqlFilter")
18493
+ """True if the alert condition contains custom SQL expressions"""
18494
+
18373
18495
  sampling_disabled = sgqlc.types.Field(Boolean, graphql_name="samplingDisabled")
18374
18496
 
18375
18497
  next_file_index = sgqlc.types.Field(Int, graphql_name="nextFileIndex")
@@ -22602,6 +22724,7 @@ class FieldHealthSampling(sgqlc.types.Type):
22602
22724
  "columns",
22603
22725
  "rows",
22604
22726
  "matches",
22727
+ "has_custom_sql_filter",
22605
22728
  "sampling_disabled",
22606
22729
  "next_file_index",
22607
22730
  "total_samples_size",
@@ -22614,6 +22737,9 @@ class FieldHealthSampling(sgqlc.types.Type):
22614
22737
 
22615
22738
  matches = sgqlc.types.Field(sgqlc.types.list_of(ConditionMatches), graphql_name="matches")
22616
22739
 
22740
+ has_custom_sql_filter = sgqlc.types.Field(Boolean, graphql_name="hasCustomSqlFilter")
22741
+ """True if the alert condition contains custom SQL expressions"""
22742
+
22617
22743
  sampling_disabled = sgqlc.types.Field(Boolean, graphql_name="samplingDisabled")
22618
22744
 
22619
22745
  next_file_index = sgqlc.types.Field(Int, graphql_name="nextFileIndex")
@@ -26029,13 +26155,16 @@ class MetricMonitoringEdge(sgqlc.types.Type):
26029
26155
 
26030
26156
  class MetricSampling(sgqlc.types.Type):
26031
26157
  __schema__ = schema
26032
- __field_names__ = ("columns", "rows", "matches", "query", "has_error")
26158
+ __field_names__ = ("columns", "rows", "matches", "has_custom_sql_filter", "query", "has_error")
26033
26159
  columns = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name="columns")
26034
26160
 
26035
26161
  rows = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.list_of(String)), graphql_name="rows")
26036
26162
 
26037
26163
  matches = sgqlc.types.Field(sgqlc.types.list_of(ConditionMatches), graphql_name="matches")
26038
26164
 
26165
+ has_custom_sql_filter = sgqlc.types.Field(Boolean, graphql_name="hasCustomSqlFilter")
26166
+ """True if the alert condition contains custom SQL expressions"""
26167
+
26039
26168
  query = sgqlc.types.Field(String, graphql_name="query")
26040
26169
 
26041
26170
  has_error = sgqlc.types.Field(Boolean, graphql_name="hasError")
@@ -27142,6 +27271,7 @@ class Mutation(sgqlc.types.Type):
27142
27271
  __schema__ = schema
27143
27272
  __field_names__ = (
27144
27273
  "create_or_update_custom_dashboard",
27274
+ "create_or_update_custom_dashboard_from_json",
27145
27275
  "delete_custom_dashboard",
27146
27276
  "add_or_update_custom_dashboard_widget",
27147
27277
  "delete_custom_dashboard_widget",
@@ -27618,6 +27748,32 @@ class Mutation(sgqlc.types.Type):
27618
27748
  * `title` (`String`): Title of the dashboard
27619
27749
  """
27620
27750
 
27751
+ create_or_update_custom_dashboard_from_json = sgqlc.types.Field(
27752
+ CreateOrUpdateDashboardFromJson,
27753
+ graphql_name="createOrUpdateCustomDashboardFromJson",
27754
+ args=sgqlc.types.ArgDict(
27755
+ (
27756
+ ("dashboard_id", sgqlc.types.Arg(UUID, graphql_name="dashboardId", default=None)),
27757
+ (
27758
+ "dashboard_json",
27759
+ sgqlc.types.Arg(
27760
+ sgqlc.types.non_null(String), graphql_name="dashboardJson", default=None
27761
+ ),
27762
+ ),
27763
+ )
27764
+ ),
27765
+ )
27766
+ """(experimental) Create or update a custom dashboard from a JSON
27767
+ definition
27768
+
27769
+ Arguments:
27770
+
27771
+ * `dashboard_id` (`UUID`): Id of the dashboard to update existing.
27772
+ If not specified, a new dashboard is created.
27773
+ * `dashboard_json` (`String!`): Dashboard definition as JSON
27774
+ string
27775
+ """
27776
+
27621
27777
  delete_custom_dashboard = sgqlc.types.Field(
27622
27778
  DeleteDashboard,
27623
27779
  graphql_name="deleteCustomDashboard",
@@ -29390,6 +29546,7 @@ class Mutation(sgqlc.types.Type):
29390
29546
  sgqlc.types.non_null(UUID), graphql_name="connectionId", default=None
29391
29547
  ),
29392
29548
  ),
29549
+ ("replace", sgqlc.types.Arg(Boolean, graphql_name="replace", default=False)),
29393
29550
  )
29394
29551
  ),
29395
29552
  )
@@ -29402,6 +29559,8 @@ class Mutation(sgqlc.types.Type):
29402
29559
  Updated connection parameters for the connection with self-
29403
29560
  hosted credentials.
29404
29561
  * `connection_id` (`UUID!`): ID for connection to update.
29562
+ * `replace` (`Boolean`): Set true to replace credentials with
29563
+ changes. Otherwise merges. (default: `false`)
29405
29564
  """
29406
29565
 
29407
29566
  update_dbt_cloud_credentials_v2_mutation = sgqlc.types.Field(
@@ -46635,6 +46794,7 @@ class Query(sgqlc.types.Type):
46635
46794
  __field_names__ = (
46636
46795
  "list_custom_dashboards",
46637
46796
  "get_custom_dashboard",
46797
+ "get_custom_dashboard_as_json",
46638
46798
  "load_custom_dashboard_widget_data",
46639
46799
  "lookup_custom_dashboard_time_series_id_by_mcon",
46640
46800
  "lookup_custom_dashboard_time_series_id_by_monitor",
@@ -47123,6 +47283,7 @@ class Query(sgqlc.types.Type):
47123
47283
  "get_airflow_tasks_for_source_and_destination_tables",
47124
47284
  "get_airflow_dag_runs",
47125
47285
  "get_airflow_capabilities",
47286
+ "get_tsa_analysis_result",
47126
47287
  "get_ai_agent_config",
47127
47288
  "fix_sql_query",
47128
47289
  "create_sql_query",
@@ -47185,6 +47346,27 @@ class Query(sgqlc.types.Type):
47185
47346
  * `dashboard_id` (`UUID!`)None
47186
47347
  """
47187
47348
 
47349
+ get_custom_dashboard_as_json = sgqlc.types.Field(
47350
+ CustomDashboardJsonResponse,
47351
+ graphql_name="getCustomDashboardAsJson",
47352
+ args=sgqlc.types.ArgDict(
47353
+ (
47354
+ (
47355
+ "dashboard_id",
47356
+ sgqlc.types.Arg(
47357
+ sgqlc.types.non_null(UUID), graphql_name="dashboardId", default=None
47358
+ ),
47359
+ ),
47360
+ )
47361
+ ),
47362
+ )
47363
+ """(experimental) Get a specific custom dashboard as JSON
47364
+
47365
+ Arguments:
47366
+
47367
+ * `dashboard_id` (`UUID!`)None
47368
+ """
47369
+
47188
47370
  load_custom_dashboard_widget_data = sgqlc.types.Field(
47189
47371
  sgqlc.types.list_of(sgqlc.types.non_null(CustomDashboardWidgetContentData)),
47190
47372
  graphql_name="loadCustomDashboardWidgetData",
@@ -60570,6 +60752,18 @@ class Query(sgqlc.types.Type):
60570
60752
  sgqlc.types.list_of(UUID), graphql_name="domainIds", default=None
60571
60753
  ),
60572
60754
  ),
60755
+ (
60756
+ "tags",
60757
+ sgqlc.types.Arg(
60758
+ sgqlc.types.list_of(TagKeyValuePairInput), graphql_name="tags", default=None
60759
+ ),
60760
+ ),
60761
+ (
60762
+ "data_product_ids",
60763
+ sgqlc.types.Arg(
60764
+ sgqlc.types.list_of(UUID), graphql_name="dataProductIds", default=None
60765
+ ),
60766
+ ),
60573
60767
  )
60574
60768
  ),
60575
60769
  )
@@ -60588,6 +60782,8 @@ class Query(sgqlc.types.Type):
60588
60782
  * `event_limit` (`Int`): Maximum number of anomalies to return per
60589
60783
  table (default: `10`)
60590
60784
  * `domain_ids` (`[UUID]`): Filter by domain UUIDs
60785
+ * `tags` (`[TagKeyValuePairInput]`)None
60786
+ * `data_product_ids` (`[UUID]`)None
60591
60787
  """
60592
60788
 
60593
60789
  get_object = sgqlc.types.Field(
@@ -64735,6 +64931,28 @@ class Query(sgqlc.types.Type):
64735
64931
  * `etl_container_uuid` (`UUID`): UUID of ETL Container
64736
64932
  """
64737
64933
 
64934
+ get_tsa_analysis_result = sgqlc.types.Field(
64935
+ "TsaAnalysisResultType",
64936
+ graphql_name="getTsaAnalysisResult",
64937
+ args=sgqlc.types.ArgDict(
64938
+ (
64939
+ (
64940
+ "alert_id",
64941
+ sgqlc.types.Arg(
64942
+ sgqlc.types.non_null(UUID), graphql_name="alertId", default=None
64943
+ ),
64944
+ ),
64945
+ )
64946
+ ),
64947
+ )
64948
+ """(experimental) Get TSA analysis result for an alert
64949
+
64950
+ Arguments:
64951
+
64952
+ * `alert_id` (`UUID!`): UUID of the alert to get TSA analysis
64953
+ result for
64954
+ """
64955
+
64738
64956
  get_ai_agent_config = sgqlc.types.Field(
64739
64957
  AiAgent,
64740
64958
  graphql_name="getAiAgentConfig",
@@ -66128,13 +66346,16 @@ class RunTableMonitorValidation(sgqlc.types.Type):
66128
66346
 
66129
66347
  class SQLQueryResult(sgqlc.types.Type):
66130
66348
  __schema__ = schema
66131
- __field_names__ = ("columns", "rows", "matches")
66349
+ __field_names__ = ("columns", "rows", "matches", "has_custom_sql_filter")
66132
66350
  columns = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name="columns")
66133
66351
 
66134
66352
  rows = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.list_of(String)), graphql_name="rows")
66135
66353
 
66136
66354
  matches = sgqlc.types.Field(sgqlc.types.list_of(ConditionMatches), graphql_name="matches")
66137
66355
 
66356
+ has_custom_sql_filter = sgqlc.types.Field(Boolean, graphql_name="hasCustomSqlFilter")
66357
+ """True if the alert condition contains custom SQL expressions"""
66358
+
66138
66359
 
66139
66360
  class SQLResponse(sgqlc.types.Type):
66140
66361
  __schema__ = schema
@@ -66142,6 +66363,7 @@ class SQLResponse(sgqlc.types.Type):
66142
66363
  "columns",
66143
66364
  "rows",
66144
66365
  "matches",
66366
+ "has_custom_sql_filter",
66145
66367
  "query",
66146
66368
  "has_error",
66147
66369
  "error",
@@ -66158,6 +66380,9 @@ class SQLResponse(sgqlc.types.Type):
66158
66380
 
66159
66381
  matches = sgqlc.types.Field(sgqlc.types.list_of(ConditionMatches), graphql_name="matches")
66160
66382
 
66383
+ has_custom_sql_filter = sgqlc.types.Field(Boolean, graphql_name="hasCustomSqlFilter")
66384
+ """True if the alert condition contains custom SQL expressions"""
66385
+
66161
66386
  query = sgqlc.types.Field(String, graphql_name="query")
66162
66387
  """The executed SQL query."""
66163
66388
 
@@ -71130,6 +71355,26 @@ class TriggerPlatformMigrationTest(sgqlc.types.Type):
71130
71355
  """UUID assigned to the operation, used to check status"""
71131
71356
 
71132
71357
 
71358
+ class TsaAnalysisResultType(sgqlc.types.Type):
71359
+ """Result of a TSA analysis query."""
71360
+
71361
+ __schema__ = schema
71362
+ __field_names__ = ("status", "conversation_data", "thread_id", "run_id")
71363
+ status = sgqlc.types.Field(sgqlc.types.non_null(TsaAnalysisStatus), graphql_name="status")
71364
+ """Status of the TSA analysis: NOT_STARTED, IN_PROGRESS, or COMPLETED"""
71365
+
71366
+ conversation_data = sgqlc.types.Field(GenericScalar, graphql_name="conversationData")
71367
+ """Complete conversation state values from the thread history"""
71368
+
71369
+ thread_id = sgqlc.types.Field(String, graphql_name="threadId")
71370
+ """LangGraph thread ID if one exists"""
71371
+
71372
+ run_id = sgqlc.types.Field(String, graphql_name="runId")
71373
+ """LangGraph run ID for feedback submission. Available when status is
71374
+ COMPLETED.
71375
+ """
71376
+
71377
+
71133
71378
  class UCSAutomatedAlertConditionOutput(sgqlc.types.Type):
71134
71379
  __schema__ = schema
71135
71380
  __field_names__ = ("sensitivity_level",)
@@ -76315,7 +76560,27 @@ class ConnectionRestriction(sgqlc.types.Type, Node):
76315
76560
 
76316
76561
  class CustomDashboard(sgqlc.types.Type, Node):
76317
76562
  __schema__ = schema
76318
- __field_names__ = ("dashboard_id", "title", "widgets")
76563
+ __field_names__ = (
76564
+ "created_time",
76565
+ "created_by",
76566
+ "updated_time",
76567
+ "last_update_user",
76568
+ "dashboard_id",
76569
+ "title",
76570
+ "widgets",
76571
+ )
76572
+ created_time = sgqlc.types.Field(DateTime, graphql_name="createdTime")
76573
+ """When the dashboard was created"""
76574
+
76575
+ created_by = sgqlc.types.Field("User", graphql_name="createdBy")
76576
+ """Who created the dashboard"""
76577
+
76578
+ updated_time = sgqlc.types.Field(DateTime, graphql_name="updatedTime")
76579
+ """When the dashboard was last updated"""
76580
+
76581
+ last_update_user = sgqlc.types.Field("User", graphql_name="lastUpdateUser")
76582
+ """Who last updated the dashboard"""
76583
+
76319
76584
  dashboard_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="dashboardId")
76320
76585
 
76321
76586
  title = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="title")
@@ -76330,12 +76595,31 @@ class CustomDashboard(sgqlc.types.Type, Node):
76330
76595
 
76331
76596
  class CustomDashboardList(sgqlc.types.Type, Node):
76332
76597
  __schema__ = schema
76333
- __field_names__ = ("dashboard_id", "title")
76598
+ __field_names__ = (
76599
+ "dashboard_id",
76600
+ "title",
76601
+ "created_time",
76602
+ "created_by",
76603
+ "updated_time",
76604
+ "last_update_user",
76605
+ )
76334
76606
  dashboard_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="dashboardId")
76335
76607
 
76336
76608
  title = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="title")
76337
76609
  """The title of the dashboard"""
76338
76610
 
76611
+ created_time = sgqlc.types.Field(DateTime, graphql_name="createdTime")
76612
+ """When the dashboard was created"""
76613
+
76614
+ created_by = sgqlc.types.Field("User", graphql_name="createdBy")
76615
+ """Who created the dashboard"""
76616
+
76617
+ updated_time = sgqlc.types.Field(DateTime, graphql_name="updatedTime")
76618
+ """When the dashboard was last updated"""
76619
+
76620
+ last_update_user = sgqlc.types.Field("User", graphql_name="lastUpdateUser")
76621
+ """Who last updated the dashboard"""
76622
+
76339
76623
 
76340
76624
  class CustomDashboardWidget(sgqlc.types.Type, Node):
76341
76625
  __schema__ = schema
@@ -83917,9 +84201,13 @@ class WidgetDataSourceJobExecutions(sgqlc.types.Type, WidgetDataSourceInterface)
83917
84201
 
83918
84202
  class WidgetDataSourceMetrics(sgqlc.types.Type, WidgetDataSourceInterface):
83919
84203
  __schema__ = schema
83920
- __field_names__ = ("time_series_id",)
84204
+ __field_names__ = ("time_series_id", "time_series_metadata")
83921
84205
  time_series_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="timeSeriesId")
83922
84206
 
84207
+ time_series_metadata = sgqlc.types.Field(
84208
+ CustomDashboardTimeSeriesMetadata, graphql_name="timeSeriesMetadata"
84209
+ )
84210
+
83923
84211
 
83924
84212
  class WidgetDataSourceMonitor(sgqlc.types.Type, WidgetDataSourceInterface):
83925
84213
  __schema__ = schema
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.12.57
3
+ Version: 0.12.67
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=s0_ck5vcAbkjeyxzn8CZ0KYCr--Czk7DJQ-jansG3J8,6776875
42
- pycarlo/lib/schema.py,sha256=aqS4QkN3JxpCwEO3DY13VHU2DhR1snlST3RQVI0MGrw,2931179
41
+ pycarlo/lib/schema.json,sha256=gbiidzq7-a3v7UYEkbaBSADvAIIkCkL865kJZhn6xs4,6798356
42
+ pycarlo/lib/schema.py,sha256=Ou1KmuKhnhM-cx2EnioyFVoTEIqxgA0-qxNNd_UyE_4,2940813
43
43
  pycarlo/lib/types.py,sha256=lGOrm5Qm-SieDAkOkVOFSgyUJYGOjKnea961AD9Dv6s,2404
44
- pycarlo-0.12.57.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
45
- pycarlo-0.12.57.dist-info/METADATA,sha256=kqg28PY9BLtXGA8s4lK5ywODUCyd3lpEsr99-pSVjMY,10431
46
- pycarlo-0.12.57.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
47
- pycarlo-0.12.57.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
48
- pycarlo-0.12.57.dist-info/RECORD,,
44
+ pycarlo-0.12.67.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
45
+ pycarlo-0.12.67.dist-info/METADATA,sha256=W0AKFRmf6y7VhzA59rTB5d4x5sZANaYKqnAYQslTvrg,10431
46
+ pycarlo-0.12.67.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
47
+ pycarlo-0.12.67.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
48
+ pycarlo-0.12.67.dist-info/RECORD,,