pycarlo 0.10.75__py3-none-any.whl → 0.10.77__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
@@ -735,6 +735,17 @@ class AutoOperator(sgqlc.types.Enum):
735
735
  __choices__ = ("AUTO", "AUTO_HIGH", "AUTO_LOW")
736
736
 
737
737
 
738
+ class AwsEnvConfiguration(sgqlc.types.Enum):
739
+ """Enumeration Choices:
740
+
741
+ * `primary`None
742
+ * `secondary`None
743
+ """
744
+
745
+ __schema__ = schema
746
+ __choices__ = ("primary", "secondary")
747
+
748
+
738
749
  class BiContainerModelType(sgqlc.types.Enum):
739
750
  """Enumeration Choices:
740
751
 
@@ -11800,6 +11811,47 @@ class AccountUsageObject(sgqlc.types.Type):
11800
11811
  """Timestamp of the usage record."""
11801
11812
 
11802
11813
 
11814
+ class ActiveNodeDetails(sgqlc.types.Type):
11815
+ """Active node information"""
11816
+
11817
+ __schema__ = schema
11818
+ __field_names__ = (
11819
+ "name",
11820
+ "stack_arn",
11821
+ "uuid",
11822
+ "code_version",
11823
+ "template_version",
11824
+ "private_cidr",
11825
+ "private_ip_addresses",
11826
+ )
11827
+ name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="name")
11828
+ """Node Name"""
11829
+
11830
+ stack_arn = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="stackArn")
11831
+ """Stack ARN"""
11832
+
11833
+ uuid = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name="uuid")
11834
+ """Node UUID"""
11835
+
11836
+ code_version = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="codeVersion")
11837
+ """Code Version"""
11838
+
11839
+ template_version = sgqlc.types.Field(
11840
+ sgqlc.types.non_null(String), graphql_name="templateVersion"
11841
+ )
11842
+ """Template Version"""
11843
+
11844
+ private_cidr = sgqlc.types.Field(
11845
+ sgqlc.types.non_null(sgqlc.types.list_of(String)), graphql_name="privateCidr"
11846
+ )
11847
+ """Private CIDR"""
11848
+
11849
+ private_ip_addresses = sgqlc.types.Field(
11850
+ sgqlc.types.non_null(sgqlc.types.list_of(String)), graphql_name="privateIpAddresses"
11851
+ )
11852
+ """List of Private IP addresses"""
11853
+
11854
+
11803
11855
  class AddAllowListEntry(sgqlc.types.Type):
11804
11856
  __schema__ = schema
11805
11857
  __field_names__ = ("success", "project_name", "dataset")
@@ -13298,6 +13350,82 @@ class AwsAgentUpgradeLogEntry(sgqlc.types.Type):
13298
13350
  """Resource type, for example: 'AWS::Lambda::Function'."""
13299
13351
 
13300
13352
 
13353
+ class AwsInformation(sgqlc.types.Type):
13354
+ """AWS information"""
13355
+
13356
+ __schema__ = schema
13357
+ __field_names__ = (
13358
+ "account_id",
13359
+ "region",
13360
+ "secondary_region",
13361
+ "is_secondary",
13362
+ "env_configuration",
13363
+ )
13364
+ account_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="accountId")
13365
+ """AWS Account ID"""
13366
+
13367
+ region = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="region")
13368
+ """AWS Region"""
13369
+
13370
+ secondary_region = sgqlc.types.Field(String, graphql_name="secondaryRegion")
13371
+ """AWS Secondary Region"""
13372
+
13373
+ is_secondary = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name="isSecondary")
13374
+ """Is this the Secondary Region?"""
13375
+
13376
+ env_configuration = sgqlc.types.Field(
13377
+ sgqlc.types.non_null(AwsEnvConfiguration), graphql_name="envConfiguration"
13378
+ )
13379
+ """Active AWS Environment Configuration"""
13380
+
13381
+
13382
+ class AwsPrivateLinkDetails(sgqlc.types.Type):
13383
+ """AWS Private Link information"""
13384
+
13385
+ __schema__ = schema
13386
+ __field_names__ = ("account_id", "mcd_principal", "regions")
13387
+ account_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="accountId")
13388
+ """AWS Account ID"""
13389
+
13390
+ mcd_principal = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="mcdPrincipal")
13391
+ """MCD Principal"""
13392
+
13393
+ regions = sgqlc.types.Field(
13394
+ sgqlc.types.non_null(sgqlc.types.list_of("AwsPrivateLinkRegionDetails")),
13395
+ graphql_name="regions",
13396
+ )
13397
+ """List of AWS Private Link regions"""
13398
+
13399
+
13400
+ class AwsPrivateLinkRegionDetails(sgqlc.types.Type):
13401
+ """AWS Private Link region information"""
13402
+
13403
+ __schema__ = schema
13404
+ __field_names__ = (
13405
+ "region",
13406
+ "connection_vpc_id",
13407
+ "data_store_vpc_endpoint_id",
13408
+ "agent_vpc_endpoint_id",
13409
+ )
13410
+ region = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="region")
13411
+ """AWS Region"""
13412
+
13413
+ connection_vpc_id = sgqlc.types.Field(
13414
+ sgqlc.types.non_null(String), graphql_name="connectionVpcId"
13415
+ )
13416
+ """Connection VPC ID"""
13417
+
13418
+ data_store_vpc_endpoint_id = sgqlc.types.Field(
13419
+ sgqlc.types.non_null(String), graphql_name="dataStoreVpcEndpointId"
13420
+ )
13421
+ """Data Store VPC Endpoint ID"""
13422
+
13423
+ agent_vpc_endpoint_id = sgqlc.types.Field(
13424
+ sgqlc.types.non_null(String), graphql_name="agentVpcEndpointId"
13425
+ )
13426
+ """Agent VPC Endpoint ID"""
13427
+
13428
+
13301
13429
  class AzureAgentCleanupTasks(sgqlc.types.Type):
13302
13430
  __schema__ = schema
13303
13431
  __field_names__ = ("deleted_instances",)
@@ -13439,6 +13567,21 @@ class AzureDevopsSourceSelection(sgqlc.types.Type):
13439
13567
  repository_id = sgqlc.types.Field(String, graphql_name="repositoryId")
13440
13568
 
13441
13569
 
13570
+ class AzureInformation(sgqlc.types.Type):
13571
+ """Azure information"""
13572
+
13573
+ __schema__ = schema
13574
+ __field_names__ = ("subscription_id", "primary_region", "secondary_region")
13575
+ subscription_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="subscriptionId")
13576
+ """Azure Subscription ID"""
13577
+
13578
+ primary_region = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="primaryRegion")
13579
+ """Azure Region"""
13580
+
13581
+ secondary_region = sgqlc.types.Field(String, graphql_name="secondaryRegion")
13582
+ """Azure Secondary Region"""
13583
+
13584
+
13442
13585
  class BiContainer(sgqlc.types.Type):
13443
13586
  __schema__ = schema
13444
13587
  __field_names__ = ("id", "account", "uuid", "data_collector", "type", "name", "connections")
@@ -14492,6 +14635,22 @@ class CollectionDataSetEdge(sgqlc.types.Type):
14492
14635
  """A cursor for use in pagination"""
14493
14636
 
14494
14637
 
14638
+ class CollectionDetails(sgqlc.types.Type):
14639
+ """Collection platform information"""
14640
+
14641
+ __schema__ = schema
14642
+ __field_names__ = ("private_link_details", "active_node_details")
14643
+ private_link_details = sgqlc.types.Field(
14644
+ "PrivateLinkDetails", graphql_name="privateLinkDetails"
14645
+ )
14646
+ """Private Link information"""
14647
+
14648
+ active_node_details = sgqlc.types.Field(
14649
+ sgqlc.types.list_of(ActiveNodeDetails), graphql_name="activeNodeDetails"
14650
+ )
14651
+ """List of active nodes"""
14652
+
14653
+
14495
14654
  class CollectionNode(sgqlc.types.Type):
14496
14655
  __schema__ = schema
14497
14656
  __field_names__ = ("id", "status", "stack_arn", "assigned_on", "resources")
@@ -19349,7 +19508,15 @@ class EventGroup(sgqlc.types.Type):
19349
19508
 
19350
19509
  class EventGroupKey(sgqlc.types.Type):
19351
19510
  __schema__ = schema
19352
- __field_names__ = ("monitor_uuid", "event_type", "table_mcon", "metric")
19511
+ __field_names__ = (
19512
+ "monitor_uuid",
19513
+ "event_type",
19514
+ "table_mcon",
19515
+ "metric",
19516
+ "query_group_hash",
19517
+ "job_mcon",
19518
+ "job_run_id",
19519
+ )
19353
19520
  monitor_uuid = sgqlc.types.Field(UUID, graphql_name="monitorUuid")
19354
19521
  """The UUID of the monitor of the grouped events"""
19355
19522
 
@@ -19362,6 +19529,15 @@ class EventGroupKey(sgqlc.types.Type):
19362
19529
  metric = sgqlc.types.Field(String, graphql_name="metric")
19363
19530
  """The metric type of the grouped events"""
19364
19531
 
19532
+ query_group_hash = sgqlc.types.Field(String, graphql_name="queryGroupHash")
19533
+ """The hash keys of query groups in query performance events"""
19534
+
19535
+ job_mcon = sgqlc.types.Field(String, graphql_name="jobMcon")
19536
+ """MCON of the job of the grouped events"""
19537
+
19538
+ job_run_id = sgqlc.types.Field(String, graphql_name="jobRunId")
19539
+ """Run ID of the job/DAG of the grouped events"""
19540
+
19365
19541
 
19366
19542
  class EventGroupMetadata(sgqlc.types.Type):
19367
19543
  __schema__ = schema
@@ -20965,6 +21141,56 @@ class HolidayName(sgqlc.types.Type):
20965
21141
  """Textual description of when the holiday occurs"""
20966
21142
 
20967
21143
 
21144
+ class HostingDomainDetails(sgqlc.types.Type):
21145
+ """Hosting domain information"""
21146
+
21147
+ __schema__ = schema
21148
+ __field_names__ = ("ui", "api", "integrations")
21149
+ ui = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="ui")
21150
+ """Frontend URL"""
21151
+
21152
+ api = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="api")
21153
+ """GraphQL API URL"""
21154
+
21155
+ integrations = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="integrations")
21156
+ """Integrations Gateway URL"""
21157
+
21158
+
21159
+ class HostingInformation(sgqlc.types.Type):
21160
+ """Hosting information"""
21161
+
21162
+ __schema__ = schema
21163
+ __field_names__ = (
21164
+ "domain_details",
21165
+ "login_details",
21166
+ "infrastructure_details",
21167
+ "network_details",
21168
+ "collection_details",
21169
+ )
21170
+ domain_details = sgqlc.types.Field(
21171
+ sgqlc.types.non_null(HostingDomainDetails), graphql_name="domainDetails"
21172
+ )
21173
+ """Hosting domain information"""
21174
+
21175
+ login_details = sgqlc.types.Field(
21176
+ sgqlc.types.non_null("LoginDetails"), graphql_name="loginDetails"
21177
+ )
21178
+ """Login information"""
21179
+
21180
+ infrastructure_details = sgqlc.types.Field(
21181
+ sgqlc.types.non_null("InfrastructureDetails"), graphql_name="infrastructureDetails"
21182
+ )
21183
+ """Infrastructure information"""
21184
+
21185
+ network_details = sgqlc.types.Field(
21186
+ sgqlc.types.non_null("NetworkDetails"), graphql_name="networkDetails"
21187
+ )
21188
+ """Network information"""
21189
+
21190
+ collection_details = sgqlc.types.Field(CollectionDetails, graphql_name="collectionDetails")
21191
+ """Collection platform information"""
21192
+
21193
+
20968
21194
  class IncidentCategoryCount(sgqlc.types.Type):
20969
21195
  __schema__ = schema
20970
21196
  __field_names__ = ("incident_category", "category_count")
@@ -21302,6 +21528,29 @@ class IndexedFieldSpecType(sgqlc.types.Type):
21302
21528
  )
21303
21529
 
21304
21530
 
21531
+ class InfrastructureDetails(sgqlc.types.Type):
21532
+ """Infrastructure information"""
21533
+
21534
+ __schema__ = schema
21535
+ __field_names__ = ("cloud_designation", "tenant_id", "hosting_type", "aws", "azure")
21536
+ cloud_designation = sgqlc.types.Field(
21537
+ sgqlc.types.non_null(String), graphql_name="cloudDesignation"
21538
+ )
21539
+ """Cloud Designation"""
21540
+
21541
+ tenant_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="tenantId")
21542
+ """Tenant ID"""
21543
+
21544
+ hosting_type = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="hostingType")
21545
+ """Environment Hosting Type"""
21546
+
21547
+ aws = sgqlc.types.Field(sgqlc.types.non_null(AwsInformation), graphql_name="aws")
21548
+ """AWS information"""
21549
+
21550
+ azure = sgqlc.types.Field(AzureInformation, graphql_name="azure")
21551
+ """Azure information"""
21552
+
21553
+
21305
21554
  class Insight(sgqlc.types.Type):
21306
21555
  """Available data on a specific element of the system created by DS"""
21307
21556
 
@@ -22837,6 +23086,15 @@ class ListTagsOutput(sgqlc.types.Type):
22837
23086
  """Tags list."""
22838
23087
 
22839
23088
 
23089
+ class LoginDetails(sgqlc.types.Type):
23090
+ """Login information"""
23091
+
23092
+ __schema__ = schema
23093
+ __field_names__ = ("sso",)
23094
+ sso = sgqlc.types.Field(sgqlc.types.non_null("SsoDetails"), graphql_name="sso")
23095
+ """SSO information"""
23096
+
23097
+
22840
23098
  class LogsIntegrationOutput(sgqlc.types.Type):
22841
23099
  """A Logs integration (for monitor execution logging)"""
22842
23100
 
@@ -40625,6 +40883,40 @@ class NestedHighlightSnippets(sgqlc.types.Type):
40625
40883
  """Highlighted snippet of inner hit"""
40626
40884
 
40627
40885
 
40886
+ class NetworkDetails(sgqlc.types.Type):
40887
+ """Network information"""
40888
+
40889
+ __schema__ = schema
40890
+ __field_names__ = (
40891
+ "collection_public_ip_addresses",
40892
+ "saas_public_ip_addresses",
40893
+ "external_webhook_public_ip_addresses",
40894
+ "data_platform_public_ip_addresses",
40895
+ )
40896
+ collection_public_ip_addresses = sgqlc.types.Field(
40897
+ sgqlc.types.non_null(sgqlc.types.list_of(String)),
40898
+ graphql_name="collectionPublicIpAddresses",
40899
+ )
40900
+ """List of public IP addresses used by the collection platform"""
40901
+
40902
+ saas_public_ip_addresses = sgqlc.types.Field(
40903
+ sgqlc.types.non_null(sgqlc.types.list_of(String)), graphql_name="saasPublicIpAddresses"
40904
+ )
40905
+ """List of public IP addresses used by the SaaS platform"""
40906
+
40907
+ external_webhook_public_ip_addresses = sgqlc.types.Field(
40908
+ sgqlc.types.non_null(sgqlc.types.list_of(String)),
40909
+ graphql_name="externalWebhookPublicIpAddresses",
40910
+ )
40911
+ """List of public IP addresses used by the webhooks"""
40912
+
40913
+ data_platform_public_ip_addresses = sgqlc.types.Field(
40914
+ sgqlc.types.non_null(sgqlc.types.list_of(String)),
40915
+ graphql_name="dataPlatformPublicIpAddresses",
40916
+ )
40917
+ """List of public IP addresses used by the data platform"""
40918
+
40919
+
40628
40920
  class NextPageInfo(sgqlc.types.Type):
40629
40921
  __schema__ = schema
40630
40922
  __field_names__ = ("has_next_page", "end_cursor")
@@ -41962,6 +42254,15 @@ class PrimaryRcaData(sgqlc.types.Type):
41962
42254
  rca_uuid = sgqlc.types.Field(UUID, graphql_name="rcaUuid")
41963
42255
 
41964
42256
 
42257
+ class PrivateLinkDetails(sgqlc.types.Type):
42258
+ """Private Link information"""
42259
+
42260
+ __schema__ = schema
42261
+ __field_names__ = ("aws",)
42262
+ aws = sgqlc.types.Field(sgqlc.types.non_null(AwsPrivateLinkDetails), graphql_name="aws")
42263
+ """AWS Private Link information"""
42264
+
42265
+
41965
42266
  class ProjectAllowType(sgqlc.types.Type):
41966
42267
  __schema__ = schema
41967
42268
  __field_names__ = ("project_name", "datasets")
@@ -42255,6 +42556,7 @@ class Query(sgqlc.types.Type):
42255
42556
  "get_dbt_job_executions",
42256
42557
  "get_exec_dashboard_metrics",
42257
42558
  "get_exec_dashboard_tables",
42559
+ "get_hosting_info",
42258
42560
  "get_deployment_info",
42259
42561
  "get_custom_users",
42260
42562
  "get_unified_users",
@@ -47347,9 +47649,34 @@ class Query(sgqlc.types.Type):
47347
47649
  * `audience_ids` (`[UUID]`): Audience UUIDs.
47348
47650
  """
47349
47651
 
47350
- get_deployment_info = sgqlc.types.Field(DeploymentInfo, graphql_name="getDeploymentInfo")
47351
- """(general availability) Get the current deployment environment
47652
+ get_hosting_info = sgqlc.types.Field(
47653
+ HostingInformation,
47654
+ graphql_name="getHostingInfo",
47655
+ args=sgqlc.types.ArgDict(
47656
+ (
47657
+ (
47658
+ "env_configuration",
47659
+ sgqlc.types.Arg(
47660
+ AwsEnvConfiguration, graphql_name="envConfiguration", default=None
47661
+ ),
47662
+ ),
47663
+ )
47664
+ ),
47665
+ )
47666
+ """(general availability) Get the current hosting environment
47352
47667
  information for the current authorized user
47668
+
47669
+ Arguments:
47670
+
47671
+ * `env_configuration` (`AwsEnvConfiguration`): Type of env
47672
+ configuration to get the hosting information for
47673
+ (primary/secondary). If not specified, primary is assumed
47674
+ """
47675
+
47676
+ get_deployment_info = sgqlc.types.Field(DeploymentInfo, graphql_name="getDeploymentInfo")
47677
+ """(general availability) DEPRECATED. Get the current deployment
47678
+ environment information for the current authorized
47679
+ user
47353
47680
  """
47354
47681
 
47355
47682
  get_custom_users = sgqlc.types.Field(
@@ -60102,6 +60429,18 @@ class SqlQueryTable(sgqlc.types.Type):
60102
60429
  """MCONs of the table"""
60103
60430
 
60104
60431
 
60432
+ class SsoDetails(sgqlc.types.Type):
60433
+ """SSO information"""
60434
+
60435
+ __schema__ = schema
60436
+ __field_names__ = ("entity_id", "sso_url")
60437
+ entity_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="entityId")
60438
+ """SSO Entity ID"""
60439
+
60440
+ sso_url = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="ssoUrl")
60441
+ """ACS endpoint URL / SSO URL"""
60442
+
60443
+
60105
60444
  class StartDatabricksCluster(sgqlc.types.Type):
60106
60445
  """Start Databricks Cluster."""
60107
60446
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pycarlo
3
- Version: 0.10.75
3
+ Version: 0.10.77
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=2YtOM3WQ1MBKtHYIJyeT7jGIFp2mpzAHKM6aUvLOskk,5977621
39
- pycarlo/lib/schema.py,sha256=_bbRzLz1lWHJUM9p3SxOUZCwCWXeZ-EW-Ki35uijuIU,2583025
40
- pycarlo-0.10.75.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- pycarlo-0.10.75.dist-info/METADATA,sha256=Moou1kqoPK0Z_YcEOaOGIjUpzXgmQPsONeRlpVr954E,8741
42
- pycarlo-0.10.75.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
- pycarlo-0.10.75.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
- pycarlo-0.10.75.dist-info/RECORD,,
38
+ pycarlo/lib/schema.json,sha256=p7_YSiX2GP33weDxmv5NBLD5DXQFdVWI0_VZ1bPTOHs,6006369
39
+ pycarlo/lib/schema.py,sha256=nId4LyUDsBCsWydwkoEI1smwUtF4OyBb6bK_ALbwdBo,2593609
40
+ pycarlo-0.10.77.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ pycarlo-0.10.77.dist-info/METADATA,sha256=klay0In2v2EruKq6-WJNjzoLv5YZgrjB4vLS3w57cqE,8741
42
+ pycarlo-0.10.77.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
43
+ pycarlo-0.10.77.dist-info/top_level.txt,sha256=TIE04H4pgzGaFxAB-gvkmVAUOAoHxxFfhnEcpuQ5bF4,8
44
+ pycarlo-0.10.77.dist-info/RECORD,,