From e7263be0a7733ff14c12e7aee2b636b96fa0bda6 Mon Sep 17 00:00:00 2001 From: "mc-ci-cd-app[bot]" <127546454+mc-ci-cd-app[bot]@users.noreply.github.com> Date: Sat, 24 Oct 2026 00:35:54 +0000 Subject: [PATCH] Regenerate from api-codegen c6023e6af1 --- .api-codegen-source.json | 12 ++++++------ docs/ConnectionIn.md | 2 +- pycarlo2/models/connection_in.py | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.api-codegen-source.json b/.api-codegen-source.json index b4de80c..07d3656 100644 --- a/.api-codegen-source.json +++ b/.api-codegen-source.json @@ -1,9 +1,9 @@ { - "api_codegen_commit": "b9fdacd68be04eb9a5faaad578feddcd9473554f", - "api_codegen_run_id": 40019114408, - "generated_at": "2026-10-23T20:26:22Z", + "api_codegen_commit": "c6023e6af1b2bf5f3e1ff6707fc0f92944fab642", + "api_codegen_run_id": 40045713538, + "generated_at": "2026-10-24T00:35:50Z", "generator_version": "7.23.0", - "monolith_commit": "a0f20333c2f99443f97e74076e78de04ad1e4598", - "monolith_run_id": 40018283606, - "exported_at": "2026-10-23T20:22:20Z" + "monolith_commit": "67bbf87431e895daa349c6c9910d4e3b6b9aa575", + "monolith_run_id": 40045206910, + "exported_at": "2026-10-24T00:32:10Z" } diff --git a/docs/ConnectionIn.md b/docs/ConnectionIn.md index 73cc01f..747428d 100644 --- a/docs/ConnectionIn.md +++ b/docs/ConnectionIn.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **warehouse_id** | **UUID** | The warehouse to add the connection to. Its type has to match what the credentials are for. Send exactly one of this, `bi_container_id` and `etl_container_id`. | [optional] **bi_container_id** | **UUID** | The BI container to add the connection to, for Tableau, Looker or Power BI credentials. Its type has to match what the credentials are for: a `looker` container takes both `looker` and `looker-git-clone` credentials. A `custom-bi-connector` container takes a custom BI connector's credentials, or none when it has no deployment. Send exactly one of this, `warehouse_id` and `etl_container_id`. | [optional] **etl_container_id** | **UUID** | The ETL container to add the connection to, for ETL tool credentials such as Fivetran or Airflow. The container's type has to equal the credentials' type, and the container must not have a connection yet. A `custom-etl-connector` container takes a custom ETL connector's credentials, or none when it has no deployment. Send exactly one of this, `warehouse_id` and `bi_container_id`. | [optional] -**credentials_id** | **UUID** | The credentials the connection reads with. They also decide the connection's type. Create them first, through one of the credentials endpoints. Required, except on a push-only container: a `custom-etl-connector` or `custom-bi-connector` container with no deployment. Its connection takes no credentials, and has the container's type. | [optional] +**credentials_id** | **UUID** | The credentials the connection reads with. They also decide the connection's type. Create them first, through one of the credentials endpoints. Required to create a connection, except on a push-only container: a `custom-etl-connector` or `custom-bi-connector` container with no deployment. Its connection takes no credentials, and has the container's type. A connection created outside this API, such as in the Monte Carlo app, has none until an update sets them. | [optional] **job_types** | **List[str]** | The jobs to run on this connection. Omit it to run what the connection type runs by default, which is what the app does. Which values are accepted depends on the connection type. `etl` on a Snowflake, Power BI or Salesforce Data Cloud connection also creates its ETL container. An empty list is not accepted; omit the field to take the defaults. | [optional] **dbt_cloud** | [**DbtCloudSettingsIn**](DbtCloudSettingsIn.md) | Which dbt Cloud runs a dbt Cloud webhook connection processes. A dbt Cloud webhook reports runs from every environment in the dbt account. These settings decide which of them Monte Carlo processes for the connection's warehouse. Only a dbt Cloud webhook connection takes it. Omit it to process every run. | [optional] diff --git a/pycarlo2/models/connection_in.py b/pycarlo2/models/connection_in.py index 023e805..d1b2e26 100644 --- a/pycarlo2/models/connection_in.py +++ b/pycarlo2/models/connection_in.py @@ -27,7 +27,7 @@ class ConnectionIn(BaseModel): warehouse_id: Optional[UUID] = Field(default=None, description="The warehouse to add the connection to. Its type has to match what the credentials are for. Send exactly one of this, `bi_container_id` and `etl_container_id`.") bi_container_id: Optional[UUID] = Field(default=None, description="The BI container to add the connection to, for Tableau, Looker or Power BI credentials. Its type has to match what the credentials are for: a `looker` container takes both `looker` and `looker-git-clone` credentials. A `custom-bi-connector` container takes a custom BI connector's credentials, or none when it has no deployment. Send exactly one of this, `warehouse_id` and `etl_container_id`.") etl_container_id: Optional[UUID] = Field(default=None, description="The ETL container to add the connection to, for ETL tool credentials such as Fivetran or Airflow. The container's type has to equal the credentials' type, and the container must not have a connection yet. A `custom-etl-connector` container takes a custom ETL connector's credentials, or none when it has no deployment. Send exactly one of this, `warehouse_id` and `bi_container_id`.") - credentials_id: Optional[UUID] = Field(default=None, description="The credentials the connection reads with. They also decide the connection's type. Create them first, through one of the credentials endpoints. Required, except on a push-only container: a `custom-etl-connector` or `custom-bi-connector` container with no deployment. Its connection takes no credentials, and has the container's type.") + credentials_id: Optional[UUID] = Field(default=None, description="The credentials the connection reads with. They also decide the connection's type. Create them first, through one of the credentials endpoints. Required to create a connection, except on a push-only container: a `custom-etl-connector` or `custom-bi-connector` container with no deployment. Its connection takes no credentials, and has the container's type. A connection created outside this API, such as in the Monte Carlo app, has none until an update sets them.") job_types: Optional[Annotated[List[StrictStr], Field(min_length=1)]] = Field(default=None, description="The jobs to run on this connection. Omit it to run what the connection type runs by default, which is what the app does. Which values are accepted depends on the connection type. `etl` on a Snowflake, Power BI or Salesforce Data Cloud connection also creates its ETL container. An empty list is not accepted; omit the field to take the defaults.") dbt_cloud: Optional[DbtCloudSettingsIn] = Field(default=None, description="Which dbt Cloud runs a dbt Cloud webhook connection processes. A dbt Cloud webhook reports runs from every environment in the dbt account. These settings decide which of them Monte Carlo processes for the connection's warehouse. Only a dbt Cloud webhook connection takes it. Omit it to process every run.") __properties: ClassVar[List[str]] = ["name", "warehouse_id", "bi_container_id", "etl_container_id", "credentials_id", "job_types", "dbt_cloud"]