From c4a0e9904f7e31b2a2c1f9f796e9613a7e3553c2 Mon Sep 17 00:00:00 2001 From: Sid Patel Date: Wed, 27 Sep 2023 16:16:58 -0400 Subject: [PATCH] Converting hologram to drf serializers then generating the open api schema --- openapi-v2.yaml | 8885 +------- openapi-v3.yaml | 53830 +--------------------------------------------- 2 files changed, 1703 insertions(+), 61012 deletions(-) diff --git a/openapi-v2.yaml b/openapi-v2.yaml index 6d4aca6..7b605a8 100644 --- a/openapi-v2.yaml +++ b/openapi-v2.yaml @@ -2,12 +2,11 @@ openapi: 3.0.3 info: title: dbt Cloud API v2 version: 2.0.0 - description: "# How to use this API\n\nThe dbt Cloud API is intended for enqueuing\ - \ runs from a job, polling for run progress,\nand downloading artifacts after\ - \ jobs have completed running. Operational endpoints around\ncreating, modifying,\ - \ and deleting _objects_ in dbt Cloud are still in flux. These endpoints\nare\ - \ largely undocumented in API v2.\n\nThe API docs are generated from an openapi\ - \ spec defined in the\n[dbt-cloud-openapi-spec](https://github.com/dbt-labs/dbt-cloud-openapi-spec)\n\ + description: "# How to use this API\n\nThe dbt Cloud API v2 contains endpoints for\ + \ enqueuing runs from a job, polling for run progress,\nand downloading artifacts\ + \ after jobs have completed running. For operational endpoints to\ncreate, modify,\ + \ and delete _objects_ in dbt Cloud, consider using [API v3](/dbt-cloud/api-v3#/)\n\ + \nThe API docs are generated from an openapi spec defined in the\n[dbt-cloud-openapi-spec](https://github.com/dbt-labs/dbt-cloud-openapi-spec/blob/master/openapi-v2.yaml)\n\ repository. If you find issues in these docs or have questions about using the\ \ dbt Cloud\nAPI, please open an issue in the dbt-cloud-openapi-spec repo or contact\ \ support@getdbt.com.\n\n# Authentication\n\nTo authenticate an application with\ @@ -35,6 +34,26 @@ info: contact: email: support@getdbt.com paths: + /api/v2/accounts/{account_id}/billing/cards/: + get: + operationId: Retrieve Billing Card + parameters: + - in: path + name: account_id + schema: + type: integer + required: true + tags: + - Billing + security: + - BearerAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Defaults' + description: '' /api/v2/accounts/{account_id}/connections/: get: operationId: List Connections @@ -506,6 +525,31 @@ paths: items: $ref: '#/components/schemas/EnvironmentV2Enveloped' description: '' + /api/v2/accounts/{account_id}/environments/{environment_id}/develop/: + get: + operationId: Retrieve Environments Develop + parameters: + - in: path + name: account_id + schema: + type: integer + required: true + - in: path + name: environment_id + schema: + type: integer + required: true + tags: + - Environments + security: + - BearerAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Defaults' + description: '' /api/v2/accounts/{account_id}/environments/{id}/: get: operationId: Retrieve Environment @@ -1767,6 +1811,10 @@ paths: name: project_id__in schema: type: array + - in: query + name: state + schema: + type: integer - in: query name: status schema: @@ -1866,6 +1914,10 @@ paths: name: project_id__in schema: type: array + - in: query + name: state + schema: + type: integer - in: query name: status schema: @@ -2204,14 +2256,58 @@ components: additionalProperties: false definitions: {} $schema: http://json-schema.org/draft-07/schema# - ConnectionEncryption: + BaseConnectionV3: + type: object + properties: + id: + type: integer + account_id: + type: integer + project_id: + type: integer + name: + type: string + created_by_id: + type: integer + created_by_service_token_id: + type: integer + state: + type: integer + private_link_endpoint_id: + type: string + required: + - account_id + - name + - project_id + - state + BaseConnectionV3Request: type: object + properties: + id: + type: integer + account_id: + type: integer + project_id: + type: integer + name: + type: string + minLength: 1 + created_by_id: + type: integer + created_by_service_token_id: + type: integer + state: + type: integer + private_link_endpoint_id: + type: string + minLength: 1 required: - account_id - - connection_id - - username - - port - - hostname + - name + - project_id + - state + ConnectionEncryption: + type: object properties: account_id: type: integer @@ -2224,32 +2320,29 @@ components: hostname: type: string public_key: - oneOf: - - type: string - - type: 'null' + type: string state: type: integer - default: 1 id: - oneOf: - - type: integer - - type: 'null' - readOnly: true - additionalProperties: false - description: 'ConnectionEncryption(account_id: int, connection_id: int, username: - str, port: int, hostname: str, public_key: Union[str, NoneType] = None, state: - int = 1, id: Union[int, NoneType] = None, private_key: Union[str, NoneType] - = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None)' - definitions: {} - $schema: http://json-schema.org/draft-07/schema# + type: integer + private_key: + type: string + _private_key: + allOf: + - $ref: '#/components/schemas/DataclassEncryptedField' + title: ' private key' + required: + - account_id + - connection_id + - hostname + - port + - state + - username ConnectionEncryptionEnveloped: type: object properties: data: - type: array - items: - $ref: '#/components/schemas/ConnectionEncryption' + $ref: '#/components/schemas/ConnectionEncryption' status: $ref: '#/components/schemas/Status' required: @@ -2257,12 +2350,6 @@ components: - status ConnectionEncryptionRequest: type: object - required: - - account_id - - connection_id - - username - - port - - hostname properties: account_id: type: integer @@ -2270,30 +2357,114 @@ components: type: integer username: type: string + minLength: 1 port: type: integer hostname: type: string + minLength: 1 public_key: - oneOf: - - type: string - - type: 'null' + type: string + minLength: 1 state: type: integer - default: 1 + id: + type: integer private_key: - oneOf: - - type: string - - type: 'null' - writeOnly: true - additionalProperties: false - description: 'ConnectionEncryption(account_id: int, connection_id: int, username: - str, port: int, hostname: str, public_key: Union[str, NoneType] = None, state: - int = 1, id: Union[int, NoneType] = None, private_key: Union[str, NoneType] - = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None)' - definitions: {} - $schema: http://json-schema.org/draft-07/schema# + type: string + minLength: 1 + _private_key: + allOf: + - $ref: '#/components/schemas/DataclassEncryptedFieldRequest' + title: ' private key' + required: + - account_id + - connection_id + - hostname + - port + - state + - username + CustomEnvironmentVariable: + type: object + properties: + account_id: + type: integer + project_id: + type: integer + name: + type: string + state: + type: integer + user_id: + type: integer + environment_id: + type: integer + job_definition_id: + type: integer + raw_value: + type: string + _raw_value: + allOf: + - $ref: '#/components/schemas/DataclassEncryptedField' + title: ' raw value' + display_value: + type: string + id: + type: integer + required: + - account_id + - name + - project_id + CustomEnvironmentVariableRequest: + type: object + properties: + account_id: + type: integer + project_id: + type: integer + name: + type: string + minLength: 1 + state: + type: integer + user_id: + type: integer + environment_id: + type: integer + job_definition_id: + type: integer + raw_value: + type: string + minLength: 1 + _raw_value: + allOf: + - $ref: '#/components/schemas/DataclassEncryptedFieldRequest' + title: ' raw value' + display_value: + type: string + minLength: 1 + id: + type: integer + required: + - account_id + - name + - project_id + DataclassEncryptedField: + type: object + properties: + plaintext: + type: string + ciphertext: + type: string + DataclassEncryptedFieldRequest: + type: object + properties: + plaintext: + type: string + minLength: 1 + ciphertext: + type: string + minLength: 1 Defaults: type: object properties: @@ -2393,6 +2564,10 @@ components: - type: string format: date-time readOnly: true + extended_attributes_id: + oneOf: + - type: 'null' + - type: integer additionalProperties: false definitions: {} $schema: http://json-schema.org/draft-07/schema# @@ -2490,57 +2665,128 @@ components: oneOf: - type: 'null' - {} + extended_attributes_id: + oneOf: + - type: 'null' + - type: integer additionalProperties: false definitions: {} $schema: http://json-schema.org/draft-07/schema# - InternalJobDefinition: + GitProvider: type: object + properties: + account_id: + type: integer + state: + type: integer + id: + type: integer required: - - id - - environment_id - account_id - - project_id - - name - - dbt_version - - triggers - - schedule - - settings - - execution - state - - generate_docs - - run_generate_sources + GitProviderRequest: + type: object properties: - id: - oneOf: - - type: 'null' - - type: integer - environment_id: - type: integer - deferring_job_definition_id: - oneOf: - - type: 'null' - - type: integer - deferring_environment_id: - oneOf: - - type: 'null' - - type: integer - lifecycle_webhooks: - oneOf: - - type: boolean - - type: 'null' - lifecycle_webhooks_url: - oneOf: - - type: string - - type: 'null' account_id: type: integer - project_id: + state: type: integer - name: + id: + type: integer + required: + - account_id + - state + GroupPermission: + type: object + properties: + account_id: + type: integer + group_id: + type: integer + project_id: + type: integer + permission_level: + type: integer + id: + type: integer + state: + type: integer + required: + - account_id + - group_id + - state + GroupPermissionRequest: + type: object + properties: + account_id: + type: integer + group_id: + type: integer + project_id: + type: integer + permission_level: + type: integer + id: + type: integer + state: + type: integer + required: + - account_id + - group_id + - state + InternalJobDefinition: + type: object + required: + - id + - environment_id + - account_id + - project_id + - name + - dbt_version + - triggers + - schedule + - settings + - execution + - state + - generate_docs + - run_generate_sources + properties: + id: + oneOf: + - type: 'null' + - type: integer + environment_id: + type: integer + deferring_job_definition_id: + oneOf: + - type: 'null' + - type: integer + deferring_environment_id: + oneOf: + - type: 'null' + - type: integer + lifecycle_webhooks: + oneOf: + - type: boolean + - type: 'null' + lifecycle_webhooks_url: + oneOf: + - type: string + - type: 'null' + account_id: + type: integer + project_id: + type: integer + name: allOf: - type: string - minLength: 1 maxLength: 255 + description: + allOf: + - type: string + - minLength: 0 + maxLength: 255 dbt_version: oneOf: - type: string @@ -2607,6 +2853,8 @@ components: - {} - {} - type: 'null' + triggers_on_draft_pr: + type: boolean additionalProperties: false definitions: {} $schema: http://json-schema.org/draft-07/schema# @@ -2670,6 +2918,11 @@ components: - type: string - minLength: 1 maxLength: 255 + description: + allOf: + - type: string + - minLength: 0 + maxLength: 255 dbt_version: oneOf: - type: string @@ -2728,9 +2981,159 @@ components: - {} - {} - type: 'null' + triggers_on_draft_pr: + type: boolean additionalProperties: false definitions: {} $schema: http://json-schema.org/draft-07/schema# + JobDefinitionExecution: + type: object + properties: + timeout_seconds: + type: integer + required: + - timeout_seconds + JobDefinitionExecutionRequest: + type: object + properties: + timeout_seconds: + type: integer + required: + - timeout_seconds + JobDefinitionSchedule: + type: object + properties: + cron: + type: string + required: + - cron + JobDefinitionScheduleRequest: + type: object + properties: + cron: + type: string + minLength: 1 + required: + - cron + JobDefinitionSettings: + type: object + properties: + threads: + type: integer + target_name: + type: string + required: + - target_name + - threads + JobDefinitionSettingsRequest: + type: object + properties: + threads: + type: integer + target_name: + type: string + minLength: 1 + required: + - target_name + - threads + JobDefinitionV2: + type: object + properties: + environment_id: + type: integer + account_id: + type: integer + project_id: + type: integer + name: + type: string + description: + type: string + state: + type: integer + dbt_version: + type: string + raw_dbt_version: + type: string + id: + type: integer + run_failure_count: + type: integer + settings: + $ref: '#/components/schemas/JobDefinitionSettings' + execution: + $ref: '#/components/schemas/JobDefinitionExecution' + schedule: + $ref: '#/components/schemas/JobDefinitionSchedule' + execute_steps: + type: array + items: {} + most_recent_run: + $ref: '#/components/schemas/Run' + most_recent_completed_run: + $ref: '#/components/schemas/Run' + custom_environment_variables: + type: array + items: + $ref: '#/components/schemas/CustomEnvironmentVariable' + required: + - account_id + - environment_id + - name + - project_id + - run_failure_count + - state + JobDefinitionV2Request: + type: object + properties: + environment_id: + type: integer + account_id: + type: integer + project_id: + type: integer + name: + type: string + minLength: 1 + description: + type: string + minLength: 1 + state: + type: integer + dbt_version: + type: string + minLength: 1 + raw_dbt_version: + type: string + minLength: 1 + id: + type: integer + run_failure_count: + type: integer + settings: + $ref: '#/components/schemas/JobDefinitionSettingsRequest' + execution: + $ref: '#/components/schemas/JobDefinitionExecutionRequest' + schedule: + $ref: '#/components/schemas/JobDefinitionScheduleRequest' + execute_steps: + type: array + items: {} + most_recent_run: + $ref: '#/components/schemas/RunRequest' + most_recent_completed_run: + $ref: '#/components/schemas/RunRequest' + custom_environment_variables: + type: array + items: + $ref: '#/components/schemas/CustomEnvironmentVariableRequest' + required: + - account_id + - environment_id + - name + - project_id + - run_failure_count + - state JobNotificationSettings: type: object required: @@ -2845,3822 +3248,49 @@ components: $schema: http://json-schema.org/draft-07/schema# Project: type: object - required: - - name - - account_id properties: name: type: string account_id: type: integer + description: id of account this project belongs to connection_id: - oneOf: - - type: integer - - type: 'null' + type: integer repository_id: - oneOf: - - type: integer - - type: 'null' + type: integer semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' + type: integer id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false + type: integer state: type: integer - default: 1 dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' + type: string connection: - oneOf: - - $ref: '#/definitions/BaseConnectionV3' - - type: 'null' - readOnly: true + $ref: '#/components/schemas/BaseConnectionV3' repository: - oneOf: - - $ref: '#/definitions/RepositoryV3' - - type: 'null' - readOnly: true + $ref: '#/components/schemas/RepositoryV3' group_permissions: - oneOf: - - type: array - items: - $ref: '#/definitions/GroupPermission' - - type: 'null' - readOnly: true + type: array + items: + $ref: '#/components/schemas/GroupPermission' docs_job_id: - oneOf: - - type: integer - - type: 'null' + type: integer freshness_job_id: - oneOf: - - type: integer - - type: 'null' + type: integer docs_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - readOnly: true + $ref: '#/components/schemas/JobDefinitionV2' freshness_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - readOnly: true - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: int - = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: Union[models.connection.common.BaseConnectionV3, - NoneType] = None, repository: Union[models.repository.RepositoryV3, NoneType] - = None, group_permissions: Union[List[models.permissions.group_permission.GroupPermission], - NoneType] = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: - Union[int, NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - definitions: - BaseConnectionV3: - type: object - required: - - account_id - - project_id - - name - - type - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - postgres - - redshift - - snowflake - - bigquery - - adapter - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - details: - oneOf: - - oneOf: - - $ref: '#/definitions/PostgresConnectionV3' - - $ref: '#/definitions/SnowflakeConnectionV3' - - $ref: '#/definitions/BigqueryConnectionV3' - - $ref: '#/definitions/DbtAdapterConnection' - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - private_link_endpoint_id: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BaseConnectionV3(id: Union[int, NoneType], account_id: int, - project_id: int, name: str, type: models.connection.common.ConnectionType, - created_by_id: Union[int, NoneType] = None, created_by_service_token_id: - Union[int, NoneType] = None, details: Union[ForwardRef(''AnyConnection''), - NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None, - private_link_endpoint_id: Union[str, NoneType] = None)' - PostgresConnectionV3: - type: object - required: - - hostname - - dbname - - port - - tunnel_enabled - properties: - hostname: - type: string - dbname: - type: string - port: - type: integer - tunnel_enabled: - type: boolean - encryption: - oneOf: - - $ref: '#/definitions/ConnectionEncryption' - - type: 'null' - additionalProperties: false - description: 'PostgresConnectionV3(hostname: str, dbname: str, port: int, - tunnel_enabled: bool, encryption: Union[models.connection.encryption.ConnectionEncryption, - NoneType] = None)' - ConnectionEncryption: - type: object - required: - - account_id - - connection_id - - username - - port - - hostname - properties: - account_id: - type: integer - connection_id: - type: integer - username: - type: string - port: - type: integer - hostname: - type: string - public_key: - oneOf: - - type: string - - type: 'null' - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'ConnectionEncryption(account_id: int, connection_id: int, - username: str, port: int, hostname: str, public_key: Union[str, NoneType] - = None, state: int = 1, id: Union[int, NoneType] = None, private_key: - Union[str, NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None)' - SnowflakeConnectionV3: - type: object - required: - - account - - database - - warehouse - - allow_sso - - client_session_keep_alive - properties: - account: - type: string - database: - type: string - warehouse: - type: string - allow_sso: - type: boolean - client_session_keep_alive: - type: boolean - role: - oneOf: - - type: string - - type: 'null' - oauth_client_id: - oneOf: - - type: string - - type: 'null' - oauth_client_secret: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SnowflakeConnectionV3(account: str, database: str, warehouse: - str, allow_sso: bool, client_session_keep_alive: bool, role: Union[str, - NoneType] = None, oauth_client_id: Union[str, NoneType] = None, _oauth_client_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - oauth_client_secret: Union[str, NoneType] = None, _oauth_client_secret: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None)' - BigqueryConnectionV3: - type: object - required: - - project_id - - timeout_seconds - - private_key_id - - client_email - - client_id - - auth_uri - - token_uri - - auth_provider_x509_cert_url - - client_x509_cert_url - properties: - project_id: - type: string - timeout_seconds: - type: integer - private_key_id: - type: string - client_email: - type: string - client_id: - type: string - auth_uri: - type: string - token_uri: - type: string - auth_provider_x509_cert_url: - type: string - client_x509_cert_url: - type: string - priority: - oneOf: - - type: string - - type: 'null' - retries: - type: integer - default: 1 - scopes: - oneOf: - - type: array - items: - type: string - - type: 'null' - location: - oneOf: - - type: string - - type: 'null' - maximum_bytes_billed: - oneOf: - - type: integer - - type: 'null' - execution_project: - oneOf: - - type: string - - type: 'null' - impersonate_service_account: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - job_retry_deadline_seconds: - oneOf: - - type: integer - - type: 'null' - job_creation_timeout_seconds: - oneOf: - - type: integer - - type: 'null' - application_id: - oneOf: - - type: string - - type: 'null' - application_secret: - oneOf: - - type: string - - type: 'null' - is_configured_for_oauth: - type: boolean - default: false - gcs_bucket: - oneOf: - - type: string - - type: 'null' - dataproc_region: - oneOf: - - type: string - - type: 'null' - dataproc_cluster_name: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BigqueryConnectionV3(project_id: str, timeout_seconds: int, - private_key_id: str, client_email: str, client_id: str, auth_uri: str, - token_uri: str, auth_provider_x509_cert_url: str, client_x509_cert_url: - str, priority: Union[str, NoneType] = None, retries: int = 1, scopes: - Union[List[str], NoneType] = None, location: Union[str, NoneType] = None, - maximum_bytes_billed: Union[int, NoneType] = None, execution_project: - Union[str, NoneType] = None, impersonate_service_account: Union[str, NoneType] - = None, private_key: Union[str, NoneType] = None, job_retry_deadline_seconds: - Union[int, NoneType] = None, job_creation_timeout_seconds: Union[int, - NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, application_id: Union[str, NoneType] = None, application_secret: - Union[str, NoneType] = None, is_configured_for_oauth: bool = False, _application_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - _application_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, gcs_bucket: Union[str, NoneType] = None, dataproc_region: - Union[str, NoneType] = None, dataproc_cluster_name: Union[str, NoneType] - = None)' - DbtAdapterConnection: - type: object - required: - - connection_details - properties: - adapter_id: - oneOf: - - type: integer - - type: 'null' - connection_details: - oneOf: - - $ref: '#/definitions/ApacheSparkConnectionSchema' - - $ref: '#/definitions/DatabricksSparkConnectionSchema' - - $ref: '#/definitions/DatabricksConnectionSchema' - - $ref: '#/definitions/TrinoConnectionSchema' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterConnection(adapter_id: Union[int, NoneType], connection_details: - Union[schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionSchema, - schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionSchema, - schemas.adapters.databricks.connection_schema.DatabricksConnectionSchema, - schemas.adapters.trino.connection_schema.TrinoConnectionSchema], created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - ApacheSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/ApacheSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'ApacheSparkConnectionSchema(fields: schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionFields - = ApacheSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''HTTP'', value=''http''), - SelectOption(label=''Thrift'', value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''Port number of host.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description=''Organization id'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), auth=TextField(metadata=TextFieldMetadata(label=''Auth'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - ApacheSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - $ref: '#/definitions/TextField' - default: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'ApacheSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''HTTP'', value=''http''), SelectOption(label=''Thrift'', - value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''Port - number of host.'', field_type=''number'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization: Union[schemas.fields.TextField.TextField, NoneType] - = TextField(metadata=TextFieldMetadata(label=''Organization'', description=''Organization - id'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), auth: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Auth'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TextField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: string - additionalProperties: false - description: 'TextField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: str = None)' - TextFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: text - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'TextFieldMetadata(label: str, description: str, field_type: - str = ''text'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - validation: schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - GenericTextValidation: - type: object - required: [] - properties: - min_length: - oneOf: - - type: integer - - type: 'null' - max_length: - oneOf: - - type: integer - - type: 'null' - required: - oneOf: - - type: boolean - - type: 'null' - default: false - pattern: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'GenericTextValidation(min_length: Union[int, NoneType] = None, - max_length: Union[int, NoneType] = None, required: Union[bool, NoneType] - = False, pattern: Union[str, NoneType] = None)' - SelectField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/SelectFieldMetadata' - value: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SelectField(metadata: schemas.fields.SelectField.SelectFieldMetadata, - value: Union[str, NoneType] = None)' - SelectFieldMetadata: - type: object - required: - - label - - description - - options - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: select - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - options: - type: array - items: - $ref: '#/definitions/SelectOption' - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'SelectFieldMetadata(label: str, description: str, field_type: - str = ''select'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - options: List[schemas.fields.SelectField.SelectOption] = None, validation: - schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - SelectOption: - type: object - required: - - label - - value - properties: - label: - type: string - value: - oneOf: - - type: string - - type: integer - additionalProperties: false - description: 'SelectOption(label: str, value: Union[str, int])' - LegacyIntegerField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: integer - additionalProperties: false - description: 'LegacyIntegerField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: int = None)' - DatabricksSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect - to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if - using a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if - using Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksSparkConnectionSchema(fields: schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionFields - = DatabricksSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''ODBC'', value=''odbc'')], - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''odbc''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to Databricks for this connection.'', - field_type=''number'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericIntegerValidation(required=True)), value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint=TextField(metadata=TextFieldMetadata(label=''Endpoint'', - description=''The ID of the endpoint to connect to (required if using - Databricks SQL Analytics)'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', - description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - DatabricksSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if using - a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - $ref: '#/definitions/TextField' - default: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if using - Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - $ref: '#/definitions/TextField' - default: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''ODBC'', value=''odbc'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''odbc''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to Databricks for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Endpoint'', description=''The - ID of the endpoint to connect to (required if using Databricks SQL Analytics)'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), driver: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Driver'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization: Union[schemas.fields.TextField.TextField, NoneType] = TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''))' - DatabricksConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksConnectionSchema(fields: schemas.adapters.databricks.connection_schema.DatabricksConnectionFields - = DatabricksConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''databricks''), - host=TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path=TextField(metadata=TextFieldMetadata(label=''HTTP Path'', description=''The - HTTP path of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_http_path'')), value=''''), - catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value='''')), field_order: List[str] = - )' - DatabricksConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - $ref: '#/definitions/TextField' - default: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''databricks''), host: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''HTTP - Path'', description=''The HTTP path of the Databricks cluster or SQL warehouse.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_http_path'')), value=''''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value=''''))' - TrinoConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'TrinoConnectionSchema(fields: schemas.adapters.trino.connection_schema.TrinoConnectionFields - = TrinoConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''trino''), method=TextField(metadata=TextFieldMetadata(label=''Method'', - description=''The auth method to use.'', field_type=''hidden'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host=TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443)), field_order: List[str] = )' - TrinoConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - $ref: '#/definitions/TextField' - default: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - additionalProperties: false - description: 'TrinoConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''trino''), method: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Method'', description=''The - auth method to use.'', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443))' - RepositoryV3: - type: object - required: - - account_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - full_name: - oneOf: - - type: string - - type: 'null' - remote_url: - oneOf: - - type: string - pattern: ^\S+[/:](?P[^\s/]+?)(?:\.git)?$ - - type: 'null' - remote_backend: - oneOf: - - type: string - enum: - - azure_active_directory - - github - - managed - - gitlab - - manual_config - - type: 'null' - git_clone_strategy: - oneOf: - - type: string - enum: - - azure_active_directory_app - - deploy_key - - deploy_token - - github_app - - git_token - - type: 'null' - deploy_key_id: - oneOf: - - type: integer - - type: 'null' - repository_credentials_id: - oneOf: - - type: integer - - type: 'null' - github_installation_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_secret: - oneOf: - - type: string - - type: 'null' - pull_request_url_template: - oneOf: - - type: string - pattern: ^(http|https)://(.*) - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - deploy_key: - oneOf: - - type: object - - type: 'null' - github_repo: - oneOf: - - type: string - - type: 'null' - name: - oneOf: - - type: string - - type: 'null' - git_provider_id: - oneOf: - - type: integer - - type: 'null' - gitlab: - oneOf: - - $ref: '#/definitions/RepositoryGitlab' - - type: 'null' - git_provider: - oneOf: - - $ref: '#/definitions/GitProvider' - - type: 'null' - additionalProperties: false - description: 'RepositoryV3(id: Union[int, NoneType], account_id: int, project_id: - Union[int, NoneType] = None, full_name: Union[str, NoneType] = None, remote_url: - Union[RemoteUrl, NoneType] = None, remote_backend: Union[models.repository.GitRemoteBackend, - NoneType] = None, git_clone_strategy: Union[models.repository.GitCloneStrategy, - NoneType] = None, deploy_key_id: Union[int, NoneType] = None, repository_credentials_id: - Union[int, NoneType] = None, github_installation_id: Union[int, NoneType] - = None, github_webhook_id: Union[int, NoneType] = None, github_webhook_secret: - Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, - NoneType] = None, git_provider: Union[models.git_provider.GitProvider, - NoneType] = None)' - RepositoryGitlab: - type: object - required: - - account_id - - gitlab_project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - repository_id: - oneOf: - - type: integer - - type: 'null' - gitlab_project_id: - type: integer - state: - type: integer - default: 1 - project_access_token_id: - oneOf: - - type: integer - - type: 'null' - project_access_token: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RepositoryGitlab(id: Union[int, NoneType], account_id: int, - repository_id: Union[int, NoneType], gitlab_project_id: int, state: int - = 1, project_access_token_id: Union[int, NoneType] = None, project_access_token: - Union[str, NoneType] = None, _project_access_token: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - GitProvider: - type: object - required: - - account_id - - provider_type - properties: - account_id: - type: integer - provider_type: - type: string - enum: - - azure_active_directory - - github - - gitlab - - git_url - - managed_github - - manual_config - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This class represents a git provider integration the\ - \ user\n has setup and will interact with via the dbt Cloud IDE.\n\ - \ " - GroupPermission: - type: object - required: - - account_id - - group_id - - all_projects - - permission_set - properties: - account_id: - type: integer - group_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - all_projects: - type: boolean - permission_set: - type: string - enum: - - owner - - member - - account_admin - - security_admin - - billing_admin - - admin - - database_admin - - git_admin - - team_admin - - job_admin - - job_viewer - - analyst - - developer - - stakeholder - - readonly - - project_creator - - account_viewer - - metadata_only - - semantic_layer_only - - webhooks_only - permission_level: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'GroupPermission(account_id: int, group_id: int, project_id: - Union[int, NoneType], all_projects: bool, permission_set: models.permissions.sets.PredefinedPermissionSet, - permission_level: Union[int, NoneType] = None, id: Union[int, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - JobDefinitionV2: - type: object - required: - - environment_id - - account_id - - project_id - - name - - generate_docs - - run_generate_sources - - state - properties: - environment_id: - type: integer - account_id: - type: integer - project_id: - type: integer - name: - type: string - generate_docs: - type: boolean - run_generate_sources: - type: boolean - state: - type: integer - dbt_version: - oneOf: - - type: string - - type: 'null' - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - deactivated: - type: boolean - default: false - run_failure_count: - type: integer - default: 0 - triggers: - oneOf: - - $ref: '#/definitions/JobDefinitionTriggers' - - type: 'null' - settings: - oneOf: - - $ref: '#/definitions/JobDefinitionSettings' - - type: 'null' - execution: - oneOf: - - $ref: '#/definitions/JobDefinitionExecution' - - type: 'null' - schedule: - oneOf: - - $ref: '#/definitions/JobDefinitionSchedule' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - execute_steps: - oneOf: - - type: array - items: - type: string - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - most_recent_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - most_recent_completed_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - job_type: - oneOf: - - type: string - enum: - - ci - - scheduled - - other - - type: 'null' - additionalProperties: false - description: 'JobDefinitionV2(environment_id: int, account_id: int, project_id: - int, name: str, generate_docs: bool, run_generate_sources: bool, state: - int, dbt_version: Union[str, NoneType], raw_dbt_version: Union[str, NoneType] - = None, id: Union[int, NoneType] = None, deactivated: bool = False, run_failure_count: - int = 0, triggers: Union[models.job_definition.JobDefinitionTriggers, - NoneType] = None, settings: Union[models.job_definition.JobDefinitionSettings, - NoneType] = None, execution: Union[models.job_definition.JobDefinitionExecution, - NoneType] = None, schedule: Union[models.job_definition.JobDefinitionSchedule, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, execute_steps: - Union[List[str], NoneType] = None, environment: ''Optional[models.environment.EnvironmentV3]'' - = None, most_recent_run: Union[models.run.Run, NoneType] = None, most_recent_completed_run: - Union[models.run.Run, NoneType] = None, custom_environment_variables: - Union[List[models.custom_environment_variable.CustomEnvironmentVariable], - NoneType] = None, job_type: Union[common.constants.JobType, NoneType] - = None)' - JobDefinitionTriggers: - type: object - required: - - github_webhook - - schedule - properties: - github_webhook: - type: boolean - schedule: - type: boolean - git_provider_webhook: - oneOf: - - type: boolean - - type: 'null' - custom_branch_only: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'JobDefinitionTriggers(github_webhook: bool, schedule: bool, - git_provider_webhook: Union[bool, NoneType] = None, custom_branch_only: - Union[bool, NoneType] = None)' - JobDefinitionSettings: - type: object - required: - - threads - - target_name - properties: - threads: - type: integer - target_name: - type: string - additionalProperties: false - description: 'JobDefinitionSettings(threads: int, target_name: str)' - JobDefinitionExecution: - type: object - required: - - timeout_seconds - properties: - timeout_seconds: - type: integer - additionalProperties: false - description: 'JobDefinitionExecution(timeout_seconds: int)' - JobDefinitionSchedule: - type: object - required: - - cron - - date - - time - properties: - cron: - type: string - date: - type: string - enum: - - every_day - - days_of_week - - custom_cron - time: - type: string - enum: - - every_hour - - at_exact_hours - additionalProperties: false - description: 'JobDefinitionSchedule(cron: str, date: models.job_definition.DateStrategy, - time: models.job_definition.TimeStrategy)' - EnvironmentV3: - type: object - required: - - account_id - - project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - credentials_id: - oneOf: - - type: integer - - type: 'null' - name: - type: string - default: New Environment - dbt_version: - type: string - default: 1.6.0-latest - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - type: - type: string - enum: - - development - - deployment - default: deployment - use_custom_branch: - type: boolean - default: false - custom_branch: - oneOf: - - type: string - - type: 'null' - supports_docs: - type: boolean - default: false - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - project: - oneOf: - - $ref: '#/definitions/Project' - - type: 'null' - jobs: - oneOf: - - type: array - items: - type: object - additionalProperties: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - - type: 'null' - credentials: - oneOf: - - $ref: '#/definitions/PostgresCredentials' - - $ref: '#/definitions/RedshiftCredentials' - - $ref: '#/definitions/SnowflakeCredentials' - - $ref: '#/definitions/BigqueryCredentials' - - $ref: '#/definitions/DbtAdapterCredentials' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - deployment_type: - oneOf: - - type: string - enum: - - production - - type: 'null' - additionalProperties: false - description: "\n An environment is a collection of settings within a\ - \ project that defines how dbt is run.\n Use it to define the version\ - \ controlled branch and warehouse connection that dbt will run on.\n \ - \ " - Project: - type: object - required: - - name - - account_id - properties: - name: - type: string - account_id: - type: integer - connection_id: - oneOf: - - type: integer - - type: 'null' - repository_id: - oneOf: - - type: integer - - type: 'null' - semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false - state: - type: integer - default: 1 - dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' - connection: - oneOf: - - $ref: '#/definitions/BaseConnectionV3' - - type: 'null' - repository: - oneOf: - - $ref: '#/definitions/RepositoryV3' - - type: 'null' - group_permissions: - oneOf: - - type: array - items: - $ref: '#/definitions/GroupPermission' - - type: 'null' - docs_job_id: - oneOf: - - type: integer - - type: 'null' - freshness_job_id: - oneOf: - - type: integer - - type: 'null' - docs_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - freshness_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: - int = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: - Union[models.connection.common.BaseConnectionV3, NoneType] = None, repository: - Union[models.repository.RepositoryV3, NoneType] = None, group_permissions: - Union[List[models.permissions.group_permission.GroupPermission], NoneType] - = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: Union[int, - NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - Run: - type: object - required: - - account_id - - environment_id - - project_id - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - trigger_id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - environment_id: - type: integer - project_id: - type: integer - job_definition_id: - type: integer - status: - type: integer - default: 1 - dbt_version: - type: string - default: 1.6.0-latest - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - status_message: - oneOf: - - type: string - - type: 'null' - owner_thread_id: - oneOf: - - type: string - - type: 'null' - executed_by_thread_id: - oneOf: - - type: string - - type: 'null' - deferring_run_id: - oneOf: - - type: integer - - type: 'null' - artifacts_saved: - type: boolean - default: false - artifact_s3_path: - oneOf: - - type: string - - type: 'null' - has_docs_generated: - type: boolean - default: false - has_sources_generated: - type: boolean - default: false - notifications_sent: - type: boolean - default: false - blocked_by: - type: array - items: - type: integer - default: [] - scribe_enabled: - type: boolean - default: false - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - dequeued_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_checked_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_heartbeat_at: - oneOf: - - type: string - format: date-time - - type: 'null' - should_start_at: - oneOf: - - type: string - format: date-time - - type: 'null' - trigger: - oneOf: - - $ref: '#/definitions/RunTrigger' - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - environment: - oneOf: - - type: object - - type: 'null' - run_steps: - oneOf: - - type: array - items: - $ref: '#/definitions/RunStep' - - type: 'null' - default: [] - status_humanized: - oneOf: - - type: string - - type: 'null' - in_progress: - oneOf: - - type: boolean - - type: 'null' - is_complete: - oneOf: - - type: boolean - - type: 'null' - is_success: - oneOf: - - type: boolean - - type: 'null' - is_error: - oneOf: - - type: boolean - - type: 'null' - is_cancelled: - oneOf: - - type: boolean - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - queued_duration: - oneOf: - - type: string - - type: 'null' - run_duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - queued_duration_humanized: - oneOf: - - type: string - - type: 'null' - run_duration_humanized: - oneOf: - - type: string - - type: 'null' - created_at_humanized: - oneOf: - - type: string - - type: 'null' - finished_at_humanized: - oneOf: - - type: string - - type: 'null' - job_id: - oneOf: - - type: integer - - type: 'null' - is_running: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: "\n Represents a run of a job definition.\n " - RunTrigger: - type: object - required: - - cause - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - cause: - type: string - job_definition_id: - type: integer - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - azure_pull_request_id: - oneOf: - - type: integer - - type: 'null' - github_pull_request_id: - oneOf: - - type: integer - - type: 'null' - gitlab_merge_request_id: - oneOf: - - type: integer - - type: 'null' - schema_override: - oneOf: - - type: string - - type: 'null' - dbt_version_override: - oneOf: - - type: string - - type: 'null' - threads_override: - oneOf: - - type: integer - - type: 'null' - target_name_override: - oneOf: - - type: string - - type: 'null' - generate_docs_override: - oneOf: - - type: boolean - - type: 'null' - timeout_seconds_override: - oneOf: - - type: integer - - type: 'null' - steps_override: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - cause_humanized: - oneOf: - - type: string - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - additionalProperties: false - description: 'RunTrigger(id: Union[int, NoneType], cause: str, job_definition_id: - int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] - = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: - Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None)' - RunStep: - type: object - required: - - run_id - - account_id - - index - - status - - name - properties: - id: - oneOf: - - type: integer - - type: 'null' - run_id: - type: integer - account_id: - type: integer - index: - type: integer - status: - type: integer - name: - type: string - logs: - oneOf: - - type: string - - type: 'null' - debug_logs: - oneOf: - - type: string - - type: 'null' - log_location: - oneOf: - - type: string - enum: - - legacy - - s3 - - db - - empty - - type: 'null' - default: db - log_path: - oneOf: - - type: string - - type: 'null' - debug_log_path: - oneOf: - - type: string - - type: 'null' - log_archive_type: - oneOf: - - type: string - - type: 'null' - default: db_flushed - truncated_debug_logs: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - status_color: - oneOf: - - type: string - - type: 'null' - status_humanized: - oneOf: - - type: string - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: - int, index: int, status: int, name: str, logs: Union[str, NoneType] = - None, debug_logs: Union[str, NoneType] = None, log_location: Union[models.run_step.RunStepLogLocation, - NoneType] = , log_path: Union[str, NoneType] - = None, debug_log_path: Union[str, NoneType] = None, log_archive_type: - Union[str, NoneType] = , truncated_debug_logs: - Union[str, NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, started_at: - Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, - NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: - Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' - PostgresCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - postgres - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'PostgresCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str = None, default_schema: str = - None, target_name: str = ''default'', password: Union[str, NoneType] = - None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - RedshiftCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - redshift - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RedshiftCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str, default_schema: str, target_name: - str = ''default'', password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - SnowflakeCredentials: - type: object - required: - - account_id - - type - - state - - threads - - auth_type - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - snowflake - state: - type: integer - threads: - type: integer - auth_type: - type: string - enum: - - password - - sso - - keypair - schema: - type: string - user: - oneOf: - - type: string - - type: 'null' - target_name: - type: string - default: default - role: - oneOf: - - type: string - - type: 'null' - database: - oneOf: - - type: string - - type: 'null' - warehouse: - oneOf: - - type: string - - type: 'null' - password: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - private_key_passphrase: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'SnowflakeCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, auth_type: models.credentials.snowflake.SnowflakeAuthenticationType, - schema: str, user: Union[str, NoneType] = None, target_name: str = ''default'', - role: Union[str, NoneType] = None, database: Union[str, NoneType] = None, - warehouse: Union[str, NoneType] = None, _refresh_token: Union[str, NoneType] - = None, password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, private_key: Union[str, NoneType] = None, _private_key: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - BigqueryCredentials: - type: object - required: - - account_id - - type - - state - - threads - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - bigquery - state: - type: integer - threads: - type: integer - schema: - type: string - target_name: - type: string - default: default - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - username: - oneOf: - - type: string - - type: 'null' - has_refresh_token: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'BigqueryCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, schema: str, target_name: str = ''default'', - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' - DbtAdapterCredentials: - type: object - required: - - account_id - - type - - state - - threads - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - adapter - state: - type: integer - threads: - type: integer - adapter_id: - oneOf: - - type: integer - - type: 'null' - credential_details: - oneOf: - - $ref: '#/definitions/BaseSparkAdapterCredentialsSchema' - - $ref: '#/definitions/DatabricksCredentialsSchema' - - $ref: '#/definitions/TrinoCredentialsSchema' - - type: 'null' - unencrypted_credential_details: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: 'null' - target_name: - type: string - default: default - adapter: - oneOf: - - $ref: '#/definitions/DbtAdapter' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, adapter_id: Union[int, NoneType], credential_details: - Union[schemas.adapters.base_spark.BaseSparkAdapterCredentialsSchema, schemas.adapters.databricks.credentials_schema.DatabricksCredentialsSchema, - schemas.adapters.trino.credentials_schema.TrinoCredentialsSchema, NoneType] - = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' - BaseSparkAdapterCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/BaseSparkAdapterCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'BaseSparkAdapterCredentialsSchema(fields: schemas.adapters.base_spark.BaseSparkAdapterCredentialFields - = BaseSparkAdapterCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - BaseSparkAdapterCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'BaseSparkAdapterCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DatabricksCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'DatabricksCredentialsSchema(fields: schemas.adapters.databricks.credentials_schema.DatabricksCredentialFields - = DatabricksCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - Union[List[str], NoneType] = None)' - DatabricksCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TrinoCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoCredentialFields' - default: - user: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'TrinoCredentialsSchema(fields: schemas.adapters.trino.credentials_schema.TrinoCredentialFields - = TrinoCredentialFields(user=TextField(metadata=TextFieldMetadata(label=''User'', - description=''The username of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password=TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - TrinoCredentialFields: - type: object - required: [] - properties: - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - $ref: '#/definitions/TextField' - default: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - $ref: '#/definitions/TextField' - default: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'TrinoCredentialFields(user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description=''The - username of the account to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DbtAdapter: - type: object - required: - - account_id - - project_id - - adapter_version - - metadata_json - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - adapter_version: - type: string - enum: - - apache_spark_v0 - - databricks_spark_v0 - - databricks_v0 - - trino_v0 - - snowflake_v0 - - bigquery_v0 - - postgres_v0 - - redshift_v0 - metadata_json: - type: object - additionalProperties: - type: string - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapter(id: Union[int, NoneType], account_id: int, project_id: - int, created_by_id: Union[int, NoneType], created_by_service_token_id: - Union[int, NoneType], adapter_version: schemas.adapter.DbtAdapterVersion, - metadata_json: Dict[str, str], state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' - CustomEnvironmentVariable: - type: object - required: - - account_id - - project_id - - name - - type - properties: - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - project - - environment - - job - - user - state: - oneOf: - - type: integer - - type: 'null' - default: 1 - user_id: - oneOf: - - type: integer - - type: 'null' - environment_id: - oneOf: - - type: integer - - type: 'null' - job_definition_id: - oneOf: - - type: integer - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - raw_value: - oneOf: - - type: string - - type: 'null' - display_value: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This model represents a user-defined environment variable,\ - \ which can be\n set on the account, job or user-level and leveraged\ - \ in both the IDE and\n scheduled Runs.\n " - $schema: http://json-schema.org/draft-07/schema# + $ref: '#/components/schemas/JobDefinitionV2' + required: + - account_id + - name + - state ProjectEnveloped: type: object properties: data: - type: array - items: - $ref: '#/components/schemas/Project' + $ref: '#/components/schemas/Project' status: $ref: '#/components/schemas/Status' required: @@ -6668,3776 +3298,97 @@ components: - status ProjectRequest: type: object - required: - - name - - account_id properties: name: type: string + minLength: 1 account_id: type: integer + description: id of account this project belongs to connection_id: - oneOf: - - type: integer - - type: 'null' + type: integer repository_id: - oneOf: - - type: integer - - type: 'null' + type: integer semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' + type: integer id: - oneOf: - - type: integer - - type: 'null' - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false + type: integer state: type: integer - default: 1 dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' + type: string + minLength: 1 + connection: + $ref: '#/components/schemas/BaseConnectionV3Request' + repository: + $ref: '#/components/schemas/RepositoryV3Request' + group_permissions: + type: array + items: + $ref: '#/components/schemas/GroupPermissionRequest' docs_job_id: - oneOf: - - type: integer - - type: 'null' + type: integer freshness_job_id: - oneOf: - - type: integer - - type: 'null' - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: int - = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: Union[models.connection.common.BaseConnectionV3, - NoneType] = None, repository: Union[models.repository.RepositoryV3, NoneType] - = None, group_permissions: Union[List[models.permissions.group_permission.GroupPermission], - NoneType] = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: - Union[int, NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - definitions: - BaseConnectionV3: - type: object - required: - - account_id - - project_id - - name - - type - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - postgres - - redshift - - snowflake - - bigquery - - adapter - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - details: - oneOf: - - oneOf: - - $ref: '#/definitions/PostgresConnectionV3' - - $ref: '#/definitions/SnowflakeConnectionV3' - - $ref: '#/definitions/BigqueryConnectionV3' - - $ref: '#/definitions/DbtAdapterConnection' - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - private_link_endpoint_id: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BaseConnectionV3(id: Union[int, NoneType], account_id: int, - project_id: int, name: str, type: models.connection.common.ConnectionType, - created_by_id: Union[int, NoneType] = None, created_by_service_token_id: - Union[int, NoneType] = None, details: Union[ForwardRef(''AnyConnection''), - NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None, - private_link_endpoint_id: Union[str, NoneType] = None)' - PostgresConnectionV3: - type: object - required: - - hostname - - dbname - - port - - tunnel_enabled - properties: - hostname: - type: string - dbname: - type: string - port: - type: integer - tunnel_enabled: - type: boolean - encryption: - oneOf: - - $ref: '#/definitions/ConnectionEncryption' - - type: 'null' - additionalProperties: false - description: 'PostgresConnectionV3(hostname: str, dbname: str, port: int, - tunnel_enabled: bool, encryption: Union[models.connection.encryption.ConnectionEncryption, - NoneType] = None)' - ConnectionEncryption: - type: object - required: - - account_id - - connection_id - - username - - port - - hostname - properties: - account_id: - type: integer - connection_id: - type: integer - username: - type: string - port: - type: integer - hostname: - type: string - public_key: - oneOf: - - type: string - - type: 'null' - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'ConnectionEncryption(account_id: int, connection_id: int, - username: str, port: int, hostname: str, public_key: Union[str, NoneType] - = None, state: int = 1, id: Union[int, NoneType] = None, private_key: - Union[str, NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None)' - SnowflakeConnectionV3: - type: object - required: - - account - - database - - warehouse - - allow_sso - - client_session_keep_alive - properties: - account: - type: string - database: - type: string - warehouse: - type: string - allow_sso: - type: boolean - client_session_keep_alive: - type: boolean - role: - oneOf: - - type: string - - type: 'null' - oauth_client_id: - oneOf: - - type: string - - type: 'null' - oauth_client_secret: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SnowflakeConnectionV3(account: str, database: str, warehouse: - str, allow_sso: bool, client_session_keep_alive: bool, role: Union[str, - NoneType] = None, oauth_client_id: Union[str, NoneType] = None, _oauth_client_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - oauth_client_secret: Union[str, NoneType] = None, _oauth_client_secret: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None)' - BigqueryConnectionV3: - type: object - required: - - project_id - - timeout_seconds - - private_key_id - - client_email - - client_id - - auth_uri - - token_uri - - auth_provider_x509_cert_url - - client_x509_cert_url - properties: - project_id: - type: string - timeout_seconds: - type: integer - private_key_id: - type: string - client_email: - type: string - client_id: - type: string - auth_uri: - type: string - token_uri: - type: string - auth_provider_x509_cert_url: - type: string - client_x509_cert_url: - type: string - priority: - oneOf: - - type: string - - type: 'null' - retries: - type: integer - default: 1 - scopes: - oneOf: - - type: array - items: - type: string - - type: 'null' - location: - oneOf: - - type: string - - type: 'null' - maximum_bytes_billed: - oneOf: - - type: integer - - type: 'null' - execution_project: - oneOf: - - type: string - - type: 'null' - impersonate_service_account: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - job_retry_deadline_seconds: - oneOf: - - type: integer - - type: 'null' - job_creation_timeout_seconds: - oneOf: - - type: integer - - type: 'null' - application_id: - oneOf: - - type: string - - type: 'null' - application_secret: - oneOf: - - type: string - - type: 'null' - is_configured_for_oauth: - type: boolean - default: false - gcs_bucket: - oneOf: - - type: string - - type: 'null' - dataproc_region: - oneOf: - - type: string - - type: 'null' - dataproc_cluster_name: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BigqueryConnectionV3(project_id: str, timeout_seconds: int, - private_key_id: str, client_email: str, client_id: str, auth_uri: str, - token_uri: str, auth_provider_x509_cert_url: str, client_x509_cert_url: - str, priority: Union[str, NoneType] = None, retries: int = 1, scopes: - Union[List[str], NoneType] = None, location: Union[str, NoneType] = None, - maximum_bytes_billed: Union[int, NoneType] = None, execution_project: - Union[str, NoneType] = None, impersonate_service_account: Union[str, NoneType] - = None, private_key: Union[str, NoneType] = None, job_retry_deadline_seconds: - Union[int, NoneType] = None, job_creation_timeout_seconds: Union[int, - NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, application_id: Union[str, NoneType] = None, application_secret: - Union[str, NoneType] = None, is_configured_for_oauth: bool = False, _application_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - _application_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, gcs_bucket: Union[str, NoneType] = None, dataproc_region: - Union[str, NoneType] = None, dataproc_cluster_name: Union[str, NoneType] - = None)' - DbtAdapterConnection: - type: object - required: - - connection_details - properties: - adapter_id: - oneOf: - - type: integer - - type: 'null' - connection_details: - oneOf: - - $ref: '#/definitions/ApacheSparkConnectionSchema' - - $ref: '#/definitions/DatabricksSparkConnectionSchema' - - $ref: '#/definitions/DatabricksConnectionSchema' - - $ref: '#/definitions/TrinoConnectionSchema' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterConnection(adapter_id: Union[int, NoneType], connection_details: - Union[schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionSchema, - schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionSchema, - schemas.adapters.databricks.connection_schema.DatabricksConnectionSchema, - schemas.adapters.trino.connection_schema.TrinoConnectionSchema], created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - ApacheSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/ApacheSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'ApacheSparkConnectionSchema(fields: schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionFields - = ApacheSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''HTTP'', value=''http''), - SelectOption(label=''Thrift'', value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''Port number of host.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description=''Organization id'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), auth=TextField(metadata=TextFieldMetadata(label=''Auth'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - ApacheSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - $ref: '#/definitions/TextField' - default: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'ApacheSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''HTTP'', value=''http''), SelectOption(label=''Thrift'', - value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''Port - number of host.'', field_type=''number'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization: Union[schemas.fields.TextField.TextField, NoneType] - = TextField(metadata=TextFieldMetadata(label=''Organization'', description=''Organization - id'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), auth: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Auth'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TextField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: string - additionalProperties: false - description: 'TextField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: str = None)' - TextFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: text - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'TextFieldMetadata(label: str, description: str, field_type: - str = ''text'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - validation: schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - GenericTextValidation: - type: object - required: [] - properties: - min_length: - oneOf: - - type: integer - - type: 'null' - max_length: - oneOf: - - type: integer - - type: 'null' - required: - oneOf: - - type: boolean - - type: 'null' - default: false - pattern: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'GenericTextValidation(min_length: Union[int, NoneType] = None, - max_length: Union[int, NoneType] = None, required: Union[bool, NoneType] - = False, pattern: Union[str, NoneType] = None)' - SelectField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/SelectFieldMetadata' - value: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SelectField(metadata: schemas.fields.SelectField.SelectFieldMetadata, - value: Union[str, NoneType] = None)' - SelectFieldMetadata: - type: object - required: - - label - - description - - options - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: select - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - options: - type: array - items: - $ref: '#/definitions/SelectOption' - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'SelectFieldMetadata(label: str, description: str, field_type: - str = ''select'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - options: List[schemas.fields.SelectField.SelectOption] = None, validation: - schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - SelectOption: - type: object - required: - - label - - value - properties: - label: - type: string - value: - oneOf: - - type: string - - type: integer - additionalProperties: false - description: 'SelectOption(label: str, value: Union[str, int])' - LegacyIntegerField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: integer - additionalProperties: false - description: 'LegacyIntegerField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: int = None)' - DatabricksSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect - to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if - using a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if - using Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksSparkConnectionSchema(fields: schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionFields - = DatabricksSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''ODBC'', value=''odbc'')], - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''odbc''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to Databricks for this connection.'', - field_type=''number'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericIntegerValidation(required=True)), value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint=TextField(metadata=TextFieldMetadata(label=''Endpoint'', - description=''The ID of the endpoint to connect to (required if using - Databricks SQL Analytics)'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', - description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - DatabricksSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if using - a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - $ref: '#/definitions/TextField' - default: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if using - Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - $ref: '#/definitions/TextField' - default: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''ODBC'', value=''odbc'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''odbc''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to Databricks for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Endpoint'', description=''The - ID of the endpoint to connect to (required if using Databricks SQL Analytics)'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), driver: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Driver'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization: Union[schemas.fields.TextField.TextField, NoneType] = TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''))' - DatabricksConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksConnectionSchema(fields: schemas.adapters.databricks.connection_schema.DatabricksConnectionFields - = DatabricksConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''databricks''), - host=TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path=TextField(metadata=TextFieldMetadata(label=''HTTP Path'', description=''The - HTTP path of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_http_path'')), value=''''), - catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value='''')), field_order: List[str] = - )' - DatabricksConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - $ref: '#/definitions/TextField' - default: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''databricks''), host: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''HTTP - Path'', description=''The HTTP path of the Databricks cluster or SQL warehouse.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_http_path'')), value=''''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value=''''))' - TrinoConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'TrinoConnectionSchema(fields: schemas.adapters.trino.connection_schema.TrinoConnectionFields - = TrinoConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''trino''), method=TextField(metadata=TextFieldMetadata(label=''Method'', - description=''The auth method to use.'', field_type=''hidden'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host=TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443)), field_order: List[str] = )' - TrinoConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - $ref: '#/definitions/TextField' - default: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - additionalProperties: false - description: 'TrinoConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''trino''), method: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Method'', description=''The - auth method to use.'', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443))' - RepositoryV3: - type: object - required: - - account_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - full_name: - oneOf: - - type: string - - type: 'null' - remote_url: - oneOf: - - type: string - pattern: ^\S+[/:](?P[^\s/]+?)(?:\.git)?$ - - type: 'null' - remote_backend: - oneOf: - - type: string - enum: - - azure_active_directory - - github - - managed - - gitlab - - manual_config - - type: 'null' - git_clone_strategy: - oneOf: - - type: string - enum: - - azure_active_directory_app - - deploy_key - - deploy_token - - github_app - - git_token - - type: 'null' - deploy_key_id: - oneOf: - - type: integer - - type: 'null' - repository_credentials_id: - oneOf: - - type: integer - - type: 'null' - github_installation_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_secret: - oneOf: - - type: string - - type: 'null' - pull_request_url_template: - oneOf: - - type: string - pattern: ^(http|https)://(.*) - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - deploy_key: - oneOf: - - type: object - - type: 'null' - github_repo: - oneOf: - - type: string - - type: 'null' - name: - oneOf: - - type: string - - type: 'null' - git_provider_id: - oneOf: - - type: integer - - type: 'null' - gitlab: - oneOf: - - $ref: '#/definitions/RepositoryGitlab' - - type: 'null' - git_provider: - oneOf: - - $ref: '#/definitions/GitProvider' - - type: 'null' - additionalProperties: false - description: 'RepositoryV3(id: Union[int, NoneType], account_id: int, project_id: - Union[int, NoneType] = None, full_name: Union[str, NoneType] = None, remote_url: - Union[RemoteUrl, NoneType] = None, remote_backend: Union[models.repository.GitRemoteBackend, - NoneType] = None, git_clone_strategy: Union[models.repository.GitCloneStrategy, - NoneType] = None, deploy_key_id: Union[int, NoneType] = None, repository_credentials_id: - Union[int, NoneType] = None, github_installation_id: Union[int, NoneType] - = None, github_webhook_id: Union[int, NoneType] = None, github_webhook_secret: - Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, - NoneType] = None, git_provider: Union[models.git_provider.GitProvider, - NoneType] = None)' - RepositoryGitlab: - type: object - required: - - account_id - - gitlab_project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - repository_id: - oneOf: - - type: integer - - type: 'null' - gitlab_project_id: - type: integer - state: - type: integer - default: 1 - project_access_token_id: - oneOf: - - type: integer - - type: 'null' - project_access_token: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RepositoryGitlab(id: Union[int, NoneType], account_id: int, - repository_id: Union[int, NoneType], gitlab_project_id: int, state: int - = 1, project_access_token_id: Union[int, NoneType] = None, project_access_token: - Union[str, NoneType] = None, _project_access_token: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - GitProvider: - type: object - required: - - account_id - - provider_type - properties: - account_id: - type: integer - provider_type: - type: string - enum: - - azure_active_directory - - github - - gitlab - - git_url - - managed_github - - manual_config - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This class represents a git provider integration the\ - \ user\n has setup and will interact with via the dbt Cloud IDE.\n\ - \ " - GroupPermission: - type: object - required: - - account_id - - group_id - - all_projects - - permission_set - properties: - account_id: - type: integer - group_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - all_projects: - type: boolean - permission_set: - type: string - enum: - - owner - - member - - account_admin - - security_admin - - billing_admin - - admin - - database_admin - - git_admin - - team_admin - - job_admin - - job_viewer - - analyst - - developer - - stakeholder - - readonly - - project_creator - - account_viewer - - metadata_only - - semantic_layer_only - - webhooks_only - permission_level: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'GroupPermission(account_id: int, group_id: int, project_id: - Union[int, NoneType], all_projects: bool, permission_set: models.permissions.sets.PredefinedPermissionSet, - permission_level: Union[int, NoneType] = None, id: Union[int, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - JobDefinitionV2: - type: object - required: - - environment_id - - account_id - - project_id - - name - - generate_docs - - run_generate_sources - - state - properties: - environment_id: - type: integer - account_id: - type: integer - project_id: - type: integer - name: - type: string - generate_docs: - type: boolean - run_generate_sources: - type: boolean - state: - type: integer - dbt_version: - oneOf: - - type: string - - type: 'null' - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - deactivated: - type: boolean - default: false - run_failure_count: - type: integer - default: 0 - triggers: - oneOf: - - $ref: '#/definitions/JobDefinitionTriggers' - - type: 'null' - settings: - oneOf: - - $ref: '#/definitions/JobDefinitionSettings' - - type: 'null' - execution: - oneOf: - - $ref: '#/definitions/JobDefinitionExecution' - - type: 'null' - schedule: - oneOf: - - $ref: '#/definitions/JobDefinitionSchedule' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - execute_steps: - oneOf: - - type: array - items: - type: string - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - most_recent_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - most_recent_completed_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - job_type: - oneOf: - - type: string - enum: - - ci - - scheduled - - other - - type: 'null' - additionalProperties: false - description: 'JobDefinitionV2(environment_id: int, account_id: int, project_id: - int, name: str, generate_docs: bool, run_generate_sources: bool, state: - int, dbt_version: Union[str, NoneType], raw_dbt_version: Union[str, NoneType] - = None, id: Union[int, NoneType] = None, deactivated: bool = False, run_failure_count: - int = 0, triggers: Union[models.job_definition.JobDefinitionTriggers, - NoneType] = None, settings: Union[models.job_definition.JobDefinitionSettings, - NoneType] = None, execution: Union[models.job_definition.JobDefinitionExecution, - NoneType] = None, schedule: Union[models.job_definition.JobDefinitionSchedule, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, execute_steps: - Union[List[str], NoneType] = None, environment: ''Optional[models.environment.EnvironmentV3]'' - = None, most_recent_run: Union[models.run.Run, NoneType] = None, most_recent_completed_run: - Union[models.run.Run, NoneType] = None, custom_environment_variables: - Union[List[models.custom_environment_variable.CustomEnvironmentVariable], - NoneType] = None, job_type: Union[common.constants.JobType, NoneType] - = None)' - JobDefinitionTriggers: - type: object - required: - - github_webhook - - schedule - properties: - github_webhook: - type: boolean - schedule: - type: boolean - git_provider_webhook: - oneOf: - - type: boolean - - type: 'null' - custom_branch_only: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'JobDefinitionTriggers(github_webhook: bool, schedule: bool, - git_provider_webhook: Union[bool, NoneType] = None, custom_branch_only: - Union[bool, NoneType] = None)' - JobDefinitionSettings: - type: object - required: - - threads - - target_name - properties: - threads: - type: integer - target_name: - type: string - additionalProperties: false - description: 'JobDefinitionSettings(threads: int, target_name: str)' - JobDefinitionExecution: - type: object - required: - - timeout_seconds - properties: - timeout_seconds: - type: integer - additionalProperties: false - description: 'JobDefinitionExecution(timeout_seconds: int)' - JobDefinitionSchedule: - type: object - required: - - cron - - date - - time - properties: - cron: - type: string - date: - type: string - enum: - - every_day - - days_of_week - - custom_cron - time: - type: string - enum: - - every_hour - - at_exact_hours - additionalProperties: false - description: 'JobDefinitionSchedule(cron: str, date: models.job_definition.DateStrategy, - time: models.job_definition.TimeStrategy)' - EnvironmentV3: - type: object - required: - - account_id - - project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - credentials_id: - oneOf: - - type: integer - - type: 'null' - name: - type: string - default: New Environment - dbt_version: - type: string - default: 1.6.0-latest - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - type: - type: string - enum: - - development - - deployment - default: deployment - use_custom_branch: - type: boolean - default: false - custom_branch: - oneOf: - - type: string - - type: 'null' - supports_docs: - type: boolean - default: false - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - project: - oneOf: - - $ref: '#/definitions/Project' - - type: 'null' - jobs: - oneOf: - - type: array - items: - type: object - additionalProperties: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - - type: 'null' - credentials: - oneOf: - - $ref: '#/definitions/PostgresCredentials' - - $ref: '#/definitions/RedshiftCredentials' - - $ref: '#/definitions/SnowflakeCredentials' - - $ref: '#/definitions/BigqueryCredentials' - - $ref: '#/definitions/DbtAdapterCredentials' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - deployment_type: - oneOf: - - type: string - enum: - - production - - type: 'null' - additionalProperties: false - description: "\n An environment is a collection of settings within a\ - \ project that defines how dbt is run.\n Use it to define the version\ - \ controlled branch and warehouse connection that dbt will run on.\n \ - \ " - Project: - type: object - required: - - name - - account_id - properties: - name: - type: string - account_id: - type: integer - connection_id: - oneOf: - - type: integer - - type: 'null' - repository_id: - oneOf: - - type: integer - - type: 'null' - semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false - state: - type: integer - default: 1 - dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' - connection: - oneOf: - - $ref: '#/definitions/BaseConnectionV3' - - type: 'null' - repository: - oneOf: - - $ref: '#/definitions/RepositoryV3' - - type: 'null' - group_permissions: - oneOf: - - type: array - items: - $ref: '#/definitions/GroupPermission' - - type: 'null' - docs_job_id: - oneOf: - - type: integer - - type: 'null' - freshness_job_id: - oneOf: - - type: integer - - type: 'null' - docs_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - freshness_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: - int = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: - Union[models.connection.common.BaseConnectionV3, NoneType] = None, repository: - Union[models.repository.RepositoryV3, NoneType] = None, group_permissions: - Union[List[models.permissions.group_permission.GroupPermission], NoneType] - = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: Union[int, - NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - Run: - type: object - required: - - account_id - - environment_id - - project_id - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - trigger_id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - environment_id: - type: integer - project_id: - type: integer - job_definition_id: - type: integer - status: - type: integer - default: 1 - dbt_version: - type: string - default: 1.6.0-latest - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - status_message: - oneOf: - - type: string - - type: 'null' - owner_thread_id: - oneOf: - - type: string - - type: 'null' - executed_by_thread_id: - oneOf: - - type: string - - type: 'null' - deferring_run_id: - oneOf: - - type: integer - - type: 'null' - artifacts_saved: - type: boolean - default: false - artifact_s3_path: - oneOf: - - type: string - - type: 'null' - has_docs_generated: - type: boolean - default: false - has_sources_generated: - type: boolean - default: false - notifications_sent: - type: boolean - default: false - blocked_by: - type: array - items: - type: integer - default: [] - scribe_enabled: - type: boolean - default: false - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - dequeued_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_checked_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_heartbeat_at: - oneOf: - - type: string - format: date-time - - type: 'null' - should_start_at: - oneOf: - - type: string - format: date-time - - type: 'null' - trigger: - oneOf: - - $ref: '#/definitions/RunTrigger' - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - environment: - oneOf: - - type: object - - type: 'null' - run_steps: - oneOf: - - type: array - items: - $ref: '#/definitions/RunStep' - - type: 'null' - default: [] - status_humanized: - oneOf: - - type: string - - type: 'null' - in_progress: - oneOf: - - type: boolean - - type: 'null' - is_complete: - oneOf: - - type: boolean - - type: 'null' - is_success: - oneOf: - - type: boolean - - type: 'null' - is_error: - oneOf: - - type: boolean - - type: 'null' - is_cancelled: - oneOf: - - type: boolean - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - queued_duration: - oneOf: - - type: string - - type: 'null' - run_duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - queued_duration_humanized: - oneOf: - - type: string - - type: 'null' - run_duration_humanized: - oneOf: - - type: string - - type: 'null' - created_at_humanized: - oneOf: - - type: string - - type: 'null' - finished_at_humanized: - oneOf: - - type: string - - type: 'null' - job_id: - oneOf: - - type: integer - - type: 'null' - is_running: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: "\n Represents a run of a job definition.\n " - RunTrigger: - type: object - required: - - cause - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - cause: - type: string - job_definition_id: - type: integer - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - azure_pull_request_id: - oneOf: - - type: integer - - type: 'null' - github_pull_request_id: - oneOf: - - type: integer - - type: 'null' - gitlab_merge_request_id: - oneOf: - - type: integer - - type: 'null' - schema_override: - oneOf: - - type: string - - type: 'null' - dbt_version_override: - oneOf: - - type: string - - type: 'null' - threads_override: - oneOf: - - type: integer - - type: 'null' - target_name_override: - oneOf: - - type: string - - type: 'null' - generate_docs_override: - oneOf: - - type: boolean - - type: 'null' - timeout_seconds_override: - oneOf: - - type: integer - - type: 'null' - steps_override: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - cause_humanized: - oneOf: - - type: string - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - additionalProperties: false - description: 'RunTrigger(id: Union[int, NoneType], cause: str, job_definition_id: - int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] - = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: - Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None)' - RunStep: - type: object - required: - - run_id - - account_id - - index - - status - - name - properties: - id: - oneOf: - - type: integer - - type: 'null' - run_id: - type: integer - account_id: - type: integer - index: - type: integer - status: - type: integer - name: - type: string - logs: - oneOf: - - type: string - - type: 'null' - debug_logs: - oneOf: - - type: string - - type: 'null' - log_location: - oneOf: - - type: string - enum: - - legacy - - s3 - - db - - empty - - type: 'null' - default: db - log_path: - oneOf: - - type: string - - type: 'null' - debug_log_path: - oneOf: - - type: string - - type: 'null' - log_archive_type: - oneOf: - - type: string - - type: 'null' - default: db_flushed - truncated_debug_logs: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - status_color: - oneOf: - - type: string - - type: 'null' - status_humanized: - oneOf: - - type: string - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: - int, index: int, status: int, name: str, logs: Union[str, NoneType] = - None, debug_logs: Union[str, NoneType] = None, log_location: Union[models.run_step.RunStepLogLocation, - NoneType] = , log_path: Union[str, NoneType] - = None, debug_log_path: Union[str, NoneType] = None, log_archive_type: - Union[str, NoneType] = , truncated_debug_logs: - Union[str, NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, started_at: - Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, - NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: - Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' - PostgresCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - postgres - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'PostgresCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str = None, default_schema: str = - None, target_name: str = ''default'', password: Union[str, NoneType] = - None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - RedshiftCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - redshift - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RedshiftCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str, default_schema: str, target_name: - str = ''default'', password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - SnowflakeCredentials: - type: object - required: - - account_id - - type - - state - - threads - - auth_type - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - snowflake - state: - type: integer - threads: - type: integer - auth_type: - type: string - enum: - - password - - sso - - keypair - schema: - type: string - user: - oneOf: - - type: string - - type: 'null' - target_name: - type: string - default: default - role: - oneOf: - - type: string - - type: 'null' - database: - oneOf: - - type: string - - type: 'null' - warehouse: - oneOf: - - type: string - - type: 'null' - password: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - private_key_passphrase: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'SnowflakeCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, auth_type: models.credentials.snowflake.SnowflakeAuthenticationType, - schema: str, user: Union[str, NoneType] = None, target_name: str = ''default'', - role: Union[str, NoneType] = None, database: Union[str, NoneType] = None, - warehouse: Union[str, NoneType] = None, _refresh_token: Union[str, NoneType] - = None, password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, private_key: Union[str, NoneType] = None, _private_key: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - BigqueryCredentials: - type: object - required: - - account_id - - type - - state - - threads - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - bigquery - state: - type: integer - threads: - type: integer - schema: - type: string - target_name: - type: string - default: default - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - username: - oneOf: - - type: string - - type: 'null' - has_refresh_token: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'BigqueryCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, schema: str, target_name: str = ''default'', - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' - DbtAdapterCredentials: - type: object - required: - - account_id - - type - - state - - threads - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - adapter - state: - type: integer - threads: - type: integer - adapter_id: - oneOf: - - type: integer - - type: 'null' - credential_details: - oneOf: - - $ref: '#/definitions/BaseSparkAdapterCredentialsSchema' - - $ref: '#/definitions/DatabricksCredentialsSchema' - - $ref: '#/definitions/TrinoCredentialsSchema' - - type: 'null' - unencrypted_credential_details: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: 'null' - target_name: - type: string - default: default - adapter: - oneOf: - - $ref: '#/definitions/DbtAdapter' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, adapter_id: Union[int, NoneType], credential_details: - Union[schemas.adapters.base_spark.BaseSparkAdapterCredentialsSchema, schemas.adapters.databricks.credentials_schema.DatabricksCredentialsSchema, - schemas.adapters.trino.credentials_schema.TrinoCredentialsSchema, NoneType] - = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' - BaseSparkAdapterCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/BaseSparkAdapterCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'BaseSparkAdapterCredentialsSchema(fields: schemas.adapters.base_spark.BaseSparkAdapterCredentialFields - = BaseSparkAdapterCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - BaseSparkAdapterCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'BaseSparkAdapterCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DatabricksCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'DatabricksCredentialsSchema(fields: schemas.adapters.databricks.credentials_schema.DatabricksCredentialFields - = DatabricksCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - Union[List[str], NoneType] = None)' - DatabricksCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TrinoCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoCredentialFields' - default: - user: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'TrinoCredentialsSchema(fields: schemas.adapters.trino.credentials_schema.TrinoCredentialFields - = TrinoCredentialFields(user=TextField(metadata=TextFieldMetadata(label=''User'', - description=''The username of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password=TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - TrinoCredentialFields: - type: object - required: [] - properties: - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - $ref: '#/definitions/TextField' - default: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - $ref: '#/definitions/TextField' - default: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'TrinoCredentialFields(user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description=''The - username of the account to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DbtAdapter: - type: object - required: - - account_id - - project_id - - adapter_version - - metadata_json - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - adapter_version: - type: string - enum: - - apache_spark_v0 - - databricks_spark_v0 - - databricks_v0 - - trino_v0 - - snowflake_v0 - - bigquery_v0 - - postgres_v0 - - redshift_v0 - metadata_json: - type: object - additionalProperties: - type: string - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapter(id: Union[int, NoneType], account_id: int, project_id: - int, created_by_id: Union[int, NoneType], created_by_service_token_id: - Union[int, NoneType], adapter_version: schemas.adapter.DbtAdapterVersion, - metadata_json: Dict[str, str], state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' - CustomEnvironmentVariable: - type: object - required: - - account_id - - project_id - - name - - type - properties: - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - project - - environment - - job - - user - state: - oneOf: - - type: integer - - type: 'null' - default: 1 - user_id: - oneOf: - - type: integer - - type: 'null' - environment_id: - oneOf: - - type: integer - - type: 'null' - job_definition_id: - oneOf: - - type: integer - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - raw_value: - oneOf: - - type: string - - type: 'null' - display_value: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This model represents a user-defined environment variable,\ - \ which can be\n set on the account, job or user-level and leveraged\ - \ in both the IDE and\n scheduled Runs.\n " - $schema: http://json-schema.org/draft-07/schema# + type: integer + docs_job: + $ref: '#/components/schemas/JobDefinitionV2Request' + freshness_job: + $ref: '#/components/schemas/JobDefinitionV2Request' + required: + - account_id + - name + - state + RepositoryGitlab: + type: object + properties: + id: + type: integer + account_id: + type: integer + repository_id: + type: integer + gitlab_project_id: + type: integer + state: + type: integer + project_access_token_id: + type: integer + project_access_token: + type: string + _project_access_token: + allOf: + - $ref: '#/components/schemas/DataclassEncryptedField' + title: ' project access token' + required: + - account_id + - gitlab_project_id + - state + RepositoryGitlabRequest: + type: object + properties: + id: + type: integer + account_id: + type: integer + repository_id: + type: integer + gitlab_project_id: + type: integer + state: + type: integer + project_access_token_id: + type: integer + project_access_token: + type: string + minLength: 1 + _project_access_token: + allOf: + - $ref: '#/components/schemas/DataclassEncryptedFieldRequest' + title: ' project access token' + required: + - account_id + - gitlab_project_id + - state RepositoryV2: type: object required: @@ -10612,446 +3563,244 @@ components: additionalProperties: false definitions: {} $schema: http://json-schema.org/draft-07/schema# - Run: + RepositoryV3: type: object + properties: + id: + type: integer + account_id: + type: integer + project_id: + type: integer + full_name: + type: string + deploy_key_id: + type: integer + repository_credentials_id: + type: integer + github_installation_id: + type: integer + github_webhook_id: + type: integer + github_webhook_secret: + type: string + _github_webhook_secret: + allOf: + - $ref: '#/components/schemas/DataclassEncryptedField' + title: ' github webhook secret' + state: + type: integer + github_repo: + type: string + name: + type: string + git_provider_id: + type: integer + gitlab: + $ref: '#/components/schemas/RepositoryGitlab' + git_provider: + $ref: '#/components/schemas/GitProvider' required: - account_id - - environment_id - - project_id - - job_definition_id + - state + RepositoryV3Request: + type: object properties: id: - oneOf: - - type: integer - - type: 'null' - trigger_id: - oneOf: - - type: integer - - type: 'null' - account_id: type: integer - environment_id: + account_id: type: integer project_id: type: integer - job_definition_id: + full_name: + type: string + minLength: 1 + deploy_key_id: type: integer - status: + repository_credentials_id: type: integer - default: 1 - dbt_version: + github_installation_id: + type: integer + github_webhook_id: + type: integer + github_webhook_secret: + type: string + minLength: 1 + _github_webhook_secret: + allOf: + - $ref: '#/components/schemas/DataclassEncryptedFieldRequest' + title: ' github webhook secret' + state: + type: integer + github_repo: + type: string + minLength: 1 + name: + type: string + minLength: 1 + git_provider_id: + type: integer + gitlab: + $ref: '#/components/schemas/RepositoryGitlabRequest' + git_provider: + $ref: '#/components/schemas/GitProviderRequest' + required: + - account_id + - state + Run: + type: object + properties: + id: + type: integer + trigger_id: + type: integer + account_id: + type: integer + environment_id: + type: integer + project_id: + type: integer + job_definition_id: + type: integer + status: + type: integer + dbt_version: type: string - default: 1.6.0-latest git_branch: - oneOf: - - type: string - - type: 'null' + type: string git_sha: - oneOf: - - type: string - - type: 'null' + type: string status_message: - oneOf: - - type: string - - type: 'null' + type: string owner_thread_id: - oneOf: - - type: string - - type: 'null' + type: string executed_by_thread_id: - oneOf: - - type: string - - type: 'null' + type: string deferring_run_id: - oneOf: - - type: integer - - type: 'null' - artifacts_saved: - type: boolean - default: false + type: integer artifact_s3_path: - oneOf: - - type: string - - type: 'null' - has_docs_generated: - type: boolean - default: false - has_sources_generated: - type: boolean - default: false - notifications_sent: - type: boolean - default: false + type: string blocked_by: type: array - items: - type: integer - default: [] - scribe_enabled: - type: boolean - default: false - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - dequeued_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - last_checked_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - last_heartbeat_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - should_start_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - trigger: - oneOf: - - $ref: '#/definitions/RunTrigger' - - type: 'null' - readOnly: true - job: - oneOf: - - type: object - - type: 'null' - readOnly: true - environment: - oneOf: - - type: object - - type: 'null' - readOnly: true - run_steps: - oneOf: - - type: array - items: - $ref: '#/definitions/RunStep' - - type: 'null' - default: [] - readOnly: true + items: {} status_humanized: - oneOf: - - type: string - - type: 'null' - readOnly: true - in_progress: - oneOf: - - type: boolean - - type: 'null' - readOnly: true - is_complete: - oneOf: - - type: boolean - - type: 'null' - readOnly: true - is_success: - oneOf: - - type: boolean - - type: 'null' - readOnly: true - is_error: - oneOf: - - type: boolean - - type: 'null' - readOnly: true - is_cancelled: - oneOf: - - type: boolean - - type: 'null' - readOnly: true + type: string duration: - oneOf: - - type: string - - type: 'null' - readOnly: true + type: string queued_duration: - oneOf: - - type: string - - type: 'null' - readOnly: true + type: string run_duration: - oneOf: - - type: string - - type: 'null' - readOnly: true + type: string duration_humanized: - oneOf: - - type: string - - type: 'null' - readOnly: true + type: string queued_duration_humanized: - oneOf: - - type: string - - type: 'null' - readOnly: true + type: string run_duration_humanized: - oneOf: - - type: string - - type: 'null' - readOnly: true + type: string created_at_humanized: - oneOf: - - type: string - - type: 'null' - readOnly: true + type: string finished_at_humanized: - oneOf: - - type: string - - type: 'null' - readOnly: true + type: string job_id: - oneOf: - - type: integer - - type: 'null' - readOnly: true - is_running: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: "\n Represents a run of a job definition.\n " - definitions: - RunTrigger: - type: object - required: - - cause - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - cause: - type: string - job_definition_id: - type: integer - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - azure_pull_request_id: - oneOf: - - type: integer - - type: 'null' - github_pull_request_id: - oneOf: - - type: integer - - type: 'null' - gitlab_merge_request_id: - oneOf: - - type: integer - - type: 'null' - schema_override: - oneOf: - - type: string - - type: 'null' - dbt_version_override: - oneOf: - - type: string - - type: 'null' - threads_override: - oneOf: - - type: integer - - type: 'null' - target_name_override: - oneOf: - - type: string - - type: 'null' - generate_docs_override: - oneOf: - - type: boolean - - type: 'null' - timeout_seconds_override: - oneOf: - - type: integer - - type: 'null' - steps_override: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - cause_humanized: - oneOf: - - type: string - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - additionalProperties: false - description: 'RunTrigger(id: Union[int, NoneType], cause: str, job_definition_id: - int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] - = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: - Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None)' - RunStep: - type: object - required: - - run_id - - account_id - - index - - status - - name - properties: - id: - oneOf: - - type: integer - - type: 'null' - run_id: - type: integer - account_id: - type: integer - index: - type: integer - status: - type: integer - name: - type: string - logs: - oneOf: - - type: string - - type: 'null' - debug_logs: - oneOf: - - type: string - - type: 'null' - log_location: - oneOf: - - type: string - enum: - - legacy - - s3 - - db - - empty - - type: 'null' - default: db - log_path: - oneOf: - - type: string - - type: 'null' - debug_log_path: - oneOf: - - type: string - - type: 'null' - log_archive_type: - oneOf: - - type: string - - type: 'null' - default: db_flushed - truncated_debug_logs: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - status_color: - oneOf: - - type: string - - type: 'null' - status_humanized: - oneOf: - - type: string - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: - int, index: int, status: int, name: str, logs: Union[str, NoneType] = - None, debug_logs: Union[str, NoneType] = None, log_location: Union[models.run_step.RunStepLogLocation, - NoneType] = , log_path: Union[str, NoneType] - = None, debug_log_path: Union[str, NoneType] = None, log_archive_type: - Union[str, NoneType] = , truncated_debug_logs: - Union[str, NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, started_at: - Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, - NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: - Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' - $schema: http://json-schema.org/draft-07/schema# + type: integer + required: + - account_id + - blocked_by + - dbt_version + - environment_id + - job_definition_id + - project_id + - status RunEnveloped: type: object properties: data: - type: array - items: - $ref: '#/components/schemas/Run' + $ref: '#/components/schemas/Run' status: $ref: '#/components/schemas/Status' required: - data - status + RunRequest: + type: object + properties: + id: + type: integer + trigger_id: + type: integer + account_id: + type: integer + environment_id: + type: integer + project_id: + type: integer + job_definition_id: + type: integer + status: + type: integer + dbt_version: + type: string + minLength: 1 + git_branch: + type: string + minLength: 1 + git_sha: + type: string + minLength: 1 + status_message: + type: string + minLength: 1 + owner_thread_id: + type: string + minLength: 1 + executed_by_thread_id: + type: string + minLength: 1 + deferring_run_id: + type: integer + artifact_s3_path: + type: string + minLength: 1 + blocked_by: + type: array + items: {} + status_humanized: + type: string + minLength: 1 + duration: + type: string + minLength: 1 + queued_duration: + type: string + minLength: 1 + run_duration: + type: string + minLength: 1 + duration_humanized: + type: string + minLength: 1 + queued_duration_humanized: + type: string + minLength: 1 + run_duration_humanized: + type: string + minLength: 1 + created_at_humanized: + type: string + minLength: 1 + finished_at_humanized: + type: string + minLength: 1 + job_id: + type: integer + required: + - account_id + - blocked_by + - dbt_version + - environment_id + - job_definition_id + - project_id + - status Status: type: object properties: @@ -11070,58 +3819,40 @@ components: - user_message TriggerRunRequestRequest: type: object - required: - - cause properties: cause: type: string + minLength: 1 git_sha: - oneOf: - - type: string - - type: 'null' + type: string + minLength: 1 git_branch: - oneOf: - - type: string - - type: 'null' + type: string + minLength: 1 + azure_pull_request_id: + type: integer github_pull_request_id: - oneOf: - - type: integer - - type: 'null' + type: integer + gitlab_merge_request_id: + type: integer schema_override: - oneOf: - - type: string - - type: 'null' + type: string + minLength: 1 dbt_version_override: - oneOf: - - type: string - - type: 'null' + type: string + minLength: 1 threads_override: - oneOf: - - type: integer - - type: 'null' + type: integer target_name_override: - oneOf: - - type: string - - type: 'null' - generate_docs_override: - oneOf: - - type: boolean - - type: 'null' + type: string + minLength: 1 timeout_seconds_override: - oneOf: - - type: integer - - type: 'null' + type: integer steps_override: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: true - description: "\n Represents a request to trigger a run of a job definition.\n\ - \ " - definitions: {} - $schema: http://json-schema.org/draft-07/schema# + type: array + items: {} + required: + - cause User: type: object required: diff --git a/openapi-v3.yaml b/openapi-v3.yaml index 6849cb6..9b7f71c 100644 --- a/openapi-v3.yaml +++ b/openapi-v3.yaml @@ -2,12 +2,12 @@ openapi: 3.0.3 info: title: dbt Cloud API v3 version: 3.0.0 - description: "# How to use this API\n\nThe dbt Cloud API is intended for enqueuing\ - \ runs from a job, polling for run progress,\nand downloading artifacts after\ - \ jobs have completed running. Operational endpoints around\ncreating, modifying,\ - \ and deleting _objects_ in dbt Cloud are still in flux. These endpoints\nare\ - \ largely undocumented in API v2.\n\nThe API docs are generated from an openapi\ - \ spec defined in the\n[dbt-cloud-openapi-spec](https://github.com/dbt-labs/dbt-cloud-openapi-spec)\n\ + description: "# How to use this API\n\nThe dbt Cloud API v3 contains endpoints for\ + \ programmatic administration of your dbt Cloud account.\nWith it, you can replicate\ + \ resources across projects, accounts, and environments, or standardize project\n\ + creation for business teams. For endpoints related to jobs and runs, refer to\ + \ the\n[Discovery API](/docs/dbt-cloud-apis/discovery-api) or [dbt Cloud API v2](/dbt-cloud/api-v2#/).\n\ + \nThe API docs are generated from an openapi spec defined in the\n[dbt-cloud-openapi-spec](https://github.com/dbt-labs/dbt-cloud-openapi-spec/blob/master/openapi-v3.yaml)\n\ repository. If you find issues in these docs or have questions about using the\ \ dbt Cloud\nAPI, please open an issue in the dbt-cloud-openapi-spec repo or contact\ \ support@getdbt.com.\n\n# Authentication\n\nTo authenticate an application with\ @@ -1850,13 +1850,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CustomEnvironmentVariableRequest' + $ref: '#/components/schemas/CustomEnvironmentVariableBulkRequestRequest' application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/CustomEnvironmentVariableRequest' + $ref: '#/components/schemas/CustomEnvironmentVariableBulkRequestRequest' multipart/form-data: schema: - $ref: '#/components/schemas/CustomEnvironmentVariableRequest' + $ref: '#/components/schemas/CustomEnvironmentVariableBulkRequestRequest' required: true security: - BearerAuthentication: [] @@ -1865,7 +1865,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CustomEnvironmentVariableEnveloped' + $ref: '#/components/schemas/CustomEnvironmentVariableBulkResponseEnveloped' + description: '' + '400': + content: + application/json: + schema: + $ref: '#/components/schemas/CustomEnvironmentVariableBulkResponseFailEnveloped' description: '' put: operationId: Update Projects Environment Variables Bulk @@ -2771,6 +2777,26 @@ paths: responses: '204': description: No response body + /api/v3/accounts/{account_id}/reports/: + get: + operationId: Retrieve Report + parameters: + - in: path + name: account_id + schema: + type: integer + required: true + tags: + - Reports + security: + - BearerAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/Defaults' + description: '' /api/v3/accounts/{account_id}/service-tokens/: get: operationId: List Service Tokens @@ -3584,3796 +3610,35 @@ components: required: - data - status - AdapterVersionEnum: - type: string - enum: - - apache_spark_v0 - - databricks_spark_v0 - - databricks_v0 - - trino_v0 - - snowflake_v0 - - bigquery_v0 - - postgres_v0 - - redshift_v0 BaseConnectionV3: type: object - required: - - account_id - - project_id - - name - - type properties: id: - oneOf: - - type: integer - - type: 'null' + type: integer account_id: type: integer project_id: type: integer name: type: string - type: - $ref: '#/components/schemas/BaseConnectionV3TypeEnum' created_by_id: - oneOf: - - type: integer - - type: 'null' + type: integer created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - details: - oneOf: - - oneOf: - - $ref: '#/definitions/PostgresConnectionV3' - - $ref: '#/definitions/SnowflakeConnectionV3' - - $ref: '#/definitions/BigqueryConnectionV3' - - $ref: '#/definitions/DbtAdapterConnection' - - type: 'null' + type: integer state: type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true private_link_endpoint_id: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BaseConnectionV3(id: Union[int, NoneType], account_id: int, project_id: - int, name: str, type: models.connection.common.ConnectionType, created_by_id: - Union[int, NoneType] = None, created_by_service_token_id: Union[int, NoneType] - = None, details: Union[ForwardRef(''AnyConnection''), NoneType] = None, state: - int = 1, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: Union[str, - NoneType] = None)' - definitions: - BaseConnectionV3: - type: object - required: - - account_id - - project_id - - name - - type - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - $ref: '#/components/schemas/BaseConnectionV3TypeEnum' - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - details: - oneOf: - - oneOf: - - $ref: '#/definitions/PostgresConnectionV3' - - $ref: '#/definitions/SnowflakeConnectionV3' - - $ref: '#/definitions/BigqueryConnectionV3' - - $ref: '#/definitions/DbtAdapterConnection' - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - private_link_endpoint_id: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BaseConnectionV3(id: Union[int, NoneType], account_id: int, - project_id: int, name: str, type: models.connection.common.ConnectionType, - created_by_id: Union[int, NoneType] = None, created_by_service_token_id: - Union[int, NoneType] = None, details: Union[ForwardRef(''AnyConnection''), - NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None, - private_link_endpoint_id: Union[str, NoneType] = None)' - PostgresConnectionV3: - type: object - required: - - hostname - - dbname - - port - - tunnel_enabled - properties: - hostname: - type: string - dbname: - type: string - port: - type: integer - tunnel_enabled: - type: boolean - encryption: - oneOf: - - $ref: '#/definitions/ConnectionEncryption' - - type: 'null' - additionalProperties: false - description: 'PostgresConnectionV3(hostname: str, dbname: str, port: int, - tunnel_enabled: bool, encryption: Union[models.connection.encryption.ConnectionEncryption, - NoneType] = None)' - ConnectionEncryption: - type: object - required: - - account_id - - connection_id - - username - - port - - hostname - properties: - account_id: - type: integer - connection_id: - type: integer - username: - type: string - port: - type: integer - hostname: - type: string - public_key: - oneOf: - - type: string - - type: 'null' - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'ConnectionEncryption(account_id: int, connection_id: int, - username: str, port: int, hostname: str, public_key: Union[str, NoneType] - = None, state: int = 1, id: Union[int, NoneType] = None, private_key: - Union[str, NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None)' - SnowflakeConnectionV3: - type: object - required: - - account - - database - - warehouse - - allow_sso - - client_session_keep_alive - properties: - account: - type: string - database: - type: string - warehouse: - type: string - allow_sso: - type: boolean - client_session_keep_alive: - type: boolean - role: - oneOf: - - type: string - - type: 'null' - oauth_client_id: - oneOf: - - type: string - - type: 'null' - oauth_client_secret: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SnowflakeConnectionV3(account: str, database: str, warehouse: - str, allow_sso: bool, client_session_keep_alive: bool, role: Union[str, - NoneType] = None, oauth_client_id: Union[str, NoneType] = None, _oauth_client_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - oauth_client_secret: Union[str, NoneType] = None, _oauth_client_secret: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None)' - BigqueryConnectionV3: - type: object - required: - - project_id - - timeout_seconds - - private_key_id - - client_email - - client_id - - auth_uri - - token_uri - - auth_provider_x509_cert_url - - client_x509_cert_url - properties: - project_id: - type: string - timeout_seconds: - type: integer - private_key_id: - type: string - client_email: - type: string - client_id: - type: string - auth_uri: - type: string - token_uri: - type: string - auth_provider_x509_cert_url: - type: string - client_x509_cert_url: - type: string - priority: - oneOf: - - type: string - - type: 'null' - retries: - type: integer - default: 1 - scopes: - oneOf: - - type: array - items: - type: string - - type: 'null' - location: - oneOf: - - type: string - - type: 'null' - maximum_bytes_billed: - oneOf: - - type: integer - - type: 'null' - execution_project: - oneOf: - - type: string - - type: 'null' - impersonate_service_account: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - job_retry_deadline_seconds: - oneOf: - - type: integer - - type: 'null' - job_creation_timeout_seconds: - oneOf: - - type: integer - - type: 'null' - application_id: - oneOf: - - type: string - - type: 'null' - application_secret: - oneOf: - - type: string - - type: 'null' - is_configured_for_oauth: - type: boolean - default: false - gcs_bucket: - oneOf: - - type: string - - type: 'null' - dataproc_region: - oneOf: - - type: string - - type: 'null' - dataproc_cluster_name: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BigqueryConnectionV3(project_id: str, timeout_seconds: int, - private_key_id: str, client_email: str, client_id: str, auth_uri: str, - token_uri: str, auth_provider_x509_cert_url: str, client_x509_cert_url: - str, priority: Union[str, NoneType] = None, retries: int = 1, scopes: - Union[List[str], NoneType] = None, location: Union[str, NoneType] = None, - maximum_bytes_billed: Union[int, NoneType] = None, execution_project: - Union[str, NoneType] = None, impersonate_service_account: Union[str, NoneType] - = None, private_key: Union[str, NoneType] = None, job_retry_deadline_seconds: - Union[int, NoneType] = None, job_creation_timeout_seconds: Union[int, - NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, application_id: Union[str, NoneType] = None, application_secret: - Union[str, NoneType] = None, is_configured_for_oauth: bool = False, _application_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - _application_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, gcs_bucket: Union[str, NoneType] = None, dataproc_region: - Union[str, NoneType] = None, dataproc_cluster_name: Union[str, NoneType] - = None)' - DbtAdapterConnection: - type: object - required: - - connection_details - properties: - adapter_id: - oneOf: - - type: integer - - type: 'null' - connection_details: - oneOf: - - $ref: '#/definitions/ApacheSparkConnectionSchema' - - $ref: '#/definitions/DatabricksSparkConnectionSchema' - - $ref: '#/definitions/DatabricksConnectionSchema' - - $ref: '#/definitions/TrinoConnectionSchema' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterConnection(adapter_id: Union[int, NoneType], connection_details: - Union[schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionSchema, - schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionSchema, - schemas.adapters.databricks.connection_schema.DatabricksConnectionSchema, - schemas.adapters.trino.connection_schema.TrinoConnectionSchema], created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - ApacheSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/ApacheSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'ApacheSparkConnectionSchema(fields: schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionFields - = ApacheSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''HTTP'', value=''http''), - SelectOption(label=''Thrift'', value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''Port number of host.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description=''Organization id'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), auth=TextField(metadata=TextFieldMetadata(label=''Auth'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - ApacheSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - $ref: '#/definitions/TextField' - default: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'ApacheSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''HTTP'', value=''http''), SelectOption(label=''Thrift'', - value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''Port - number of host.'', field_type=''number'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization: Union[schemas.fields.TextField.TextField, NoneType] - = TextField(metadata=TextFieldMetadata(label=''Organization'', description=''Organization - id'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), auth: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Auth'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TextField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: string - additionalProperties: false - description: 'TextField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: str = None)' - TextFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: text - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'TextFieldMetadata(label: str, description: str, field_type: - str = ''text'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - validation: schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - GenericTextValidation: - type: object - required: [] - properties: - min_length: - oneOf: - - type: integer - - type: 'null' - max_length: - oneOf: - - type: integer - - type: 'null' - required: - oneOf: - - type: boolean - - type: 'null' - default: false - pattern: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'GenericTextValidation(min_length: Union[int, NoneType] = None, - max_length: Union[int, NoneType] = None, required: Union[bool, NoneType] - = False, pattern: Union[str, NoneType] = None)' - SelectField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/SelectFieldMetadata' - value: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SelectField(metadata: schemas.fields.SelectField.SelectFieldMetadata, - value: Union[str, NoneType] = None)' - SelectFieldMetadata: - type: object - required: - - label - - description - - options - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: select - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - options: - type: array - items: - $ref: '#/definitions/SelectOption' - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'SelectFieldMetadata(label: str, description: str, field_type: - str = ''select'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - options: List[schemas.fields.SelectField.SelectOption] = None, validation: - schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - SelectOption: - type: object - required: - - label - - value - properties: - label: - type: string - value: - oneOf: - - type: string - - type: integer - additionalProperties: false - description: 'SelectOption(label: str, value: Union[str, int])' - LegacyIntegerField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: integer - additionalProperties: false - description: 'LegacyIntegerField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: int = None)' - DatabricksSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect - to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if - using a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if - using Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksSparkConnectionSchema(fields: schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionFields - = DatabricksSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''ODBC'', value=''odbc'')], - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''odbc''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to Databricks for this connection.'', - field_type=''number'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericIntegerValidation(required=True)), value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint=TextField(metadata=TextFieldMetadata(label=''Endpoint'', - description=''The ID of the endpoint to connect to (required if using - Databricks SQL Analytics)'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', - description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - DatabricksSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if using - a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - $ref: '#/definitions/TextField' - default: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if using - Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - $ref: '#/definitions/TextField' - default: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''ODBC'', value=''odbc'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''odbc''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to Databricks for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Endpoint'', description=''The - ID of the endpoint to connect to (required if using Databricks SQL Analytics)'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), driver: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Driver'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization: Union[schemas.fields.TextField.TextField, NoneType] = TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''))' - DatabricksConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksConnectionSchema(fields: schemas.adapters.databricks.connection_schema.DatabricksConnectionFields - = DatabricksConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''databricks''), - host=TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path=TextField(metadata=TextFieldMetadata(label=''HTTP Path'', description=''The - HTTP path of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_http_path'')), value=''''), - catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value='''')), field_order: List[str] = - )' - DatabricksConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - $ref: '#/definitions/TextField' - default: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''databricks''), host: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''HTTP - Path'', description=''The HTTP path of the Databricks cluster or SQL warehouse.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_http_path'')), value=''''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value=''''))' - TrinoConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'TrinoConnectionSchema(fields: schemas.adapters.trino.connection_schema.TrinoConnectionFields - = TrinoConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''trino''), method=TextField(metadata=TextFieldMetadata(label=''Method'', - description=''The auth method to use.'', field_type=''hidden'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host=TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443)), field_order: List[str] = )' - TrinoConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - $ref: '#/definitions/TextField' - default: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - additionalProperties: false - description: 'TrinoConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''trino''), method: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Method'', description=''The - auth method to use.'', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443))' - RepositoryV3: - type: object - required: - - account_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - full_name: - oneOf: - - type: string - - type: 'null' - remote_url: - oneOf: - - type: string - pattern: ^\S+[/:](?P[^\s/]+?)(?:\.git)?$ - - type: 'null' - remote_backend: - oneOf: - - type: string - enum: - - azure_active_directory - - github - - managed - - gitlab - - manual_config - - type: 'null' - git_clone_strategy: - oneOf: - - type: string - enum: - - azure_active_directory_app - - deploy_key - - deploy_token - - github_app - - git_token - - type: 'null' - deploy_key_id: - oneOf: - - type: integer - - type: 'null' - repository_credentials_id: - oneOf: - - type: integer - - type: 'null' - github_installation_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_secret: - oneOf: - - type: string - - type: 'null' - pull_request_url_template: - oneOf: - - type: string - pattern: ^(http|https)://(.*) - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - deploy_key: - oneOf: - - type: object - - type: 'null' - github_repo: - oneOf: - - type: string - - type: 'null' - name: - oneOf: - - type: string - - type: 'null' - git_provider_id: - oneOf: - - type: integer - - type: 'null' - gitlab: - oneOf: - - $ref: '#/definitions/RepositoryGitlab' - - type: 'null' - git_provider: - oneOf: - - $ref: '#/definitions/GitProvider' - - type: 'null' - additionalProperties: false - description: 'RepositoryV3(id: Union[int, NoneType], account_id: int, project_id: - Union[int, NoneType] = None, full_name: Union[str, NoneType] = None, remote_url: - Union[RemoteUrl, NoneType] = None, remote_backend: Union[models.repository.GitRemoteBackend, - NoneType] = None, git_clone_strategy: Union[models.repository.GitCloneStrategy, - NoneType] = None, deploy_key_id: Union[int, NoneType] = None, repository_credentials_id: - Union[int, NoneType] = None, github_installation_id: Union[int, NoneType] - = None, github_webhook_id: Union[int, NoneType] = None, github_webhook_secret: - Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, - NoneType] = None, git_provider: Union[models.git_provider.GitProvider, - NoneType] = None)' - RepositoryGitlab: - type: object - required: - - account_id - - gitlab_project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - repository_id: - oneOf: - - type: integer - - type: 'null' - gitlab_project_id: - type: integer - state: - type: integer - default: 1 - project_access_token_id: - oneOf: - - type: integer - - type: 'null' - project_access_token: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RepositoryGitlab(id: Union[int, NoneType], account_id: int, - repository_id: Union[int, NoneType], gitlab_project_id: int, state: int - = 1, project_access_token_id: Union[int, NoneType] = None, project_access_token: - Union[str, NoneType] = None, _project_access_token: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - GitProvider: - type: object - required: - - account_id - - provider_type - properties: - account_id: - type: integer - provider_type: - type: string - enum: - - azure_active_directory - - github - - gitlab - - git_url - - managed_github - - manual_config - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This class represents a git provider integration the\ - \ user\n has setup and will interact with via the dbt Cloud IDE.\n\ - \ " - GroupPermission: - type: object - required: - - account_id - - group_id - - all_projects - - permission_set - properties: - account_id: - type: integer - group_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - all_projects: - type: boolean - permission_set: - type: string - enum: - - owner - - member - - account_admin - - security_admin - - billing_admin - - admin - - database_admin - - git_admin - - team_admin - - job_admin - - job_viewer - - analyst - - developer - - stakeholder - - readonly - - project_creator - - account_viewer - - metadata_only - - semantic_layer_only - - webhooks_only - permission_level: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'GroupPermission(account_id: int, group_id: int, project_id: - Union[int, NoneType], all_projects: bool, permission_set: models.permissions.sets.PredefinedPermissionSet, - permission_level: Union[int, NoneType] = None, id: Union[int, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - JobDefinitionV2: - type: object - required: - - environment_id - - account_id - - project_id - - name - - generate_docs - - run_generate_sources - - state - properties: - environment_id: - type: integer - account_id: - type: integer - project_id: - type: integer - name: - type: string - generate_docs: - type: boolean - run_generate_sources: - type: boolean - state: - type: integer - dbt_version: - oneOf: - - type: string - - type: 'null' - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - deactivated: - type: boolean - default: false - run_failure_count: - type: integer - default: 0 - triggers: - oneOf: - - $ref: '#/definitions/JobDefinitionTriggers' - - type: 'null' - settings: - oneOf: - - $ref: '#/definitions/JobDefinitionSettings' - - type: 'null' - execution: - oneOf: - - $ref: '#/definitions/JobDefinitionExecution' - - type: 'null' - schedule: - oneOf: - - $ref: '#/definitions/JobDefinitionSchedule' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - execute_steps: - oneOf: - - type: array - items: - type: string - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - most_recent_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - most_recent_completed_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - job_type: - oneOf: - - type: string - enum: - - ci - - scheduled - - other - - type: 'null' - additionalProperties: false - description: 'JobDefinitionV2(environment_id: int, account_id: int, project_id: - int, name: str, generate_docs: bool, run_generate_sources: bool, state: - int, dbt_version: Union[str, NoneType], raw_dbt_version: Union[str, NoneType] - = None, id: Union[int, NoneType] = None, deactivated: bool = False, run_failure_count: - int = 0, triggers: Union[models.job_definition.JobDefinitionTriggers, - NoneType] = None, settings: Union[models.job_definition.JobDefinitionSettings, - NoneType] = None, execution: Union[models.job_definition.JobDefinitionExecution, - NoneType] = None, schedule: Union[models.job_definition.JobDefinitionSchedule, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, execute_steps: - Union[List[str], NoneType] = None, environment: ''Optional[models.environment.EnvironmentV3]'' - = None, most_recent_run: Union[models.run.Run, NoneType] = None, most_recent_completed_run: - Union[models.run.Run, NoneType] = None, custom_environment_variables: - Union[List[models.custom_environment_variable.CustomEnvironmentVariable], - NoneType] = None, job_type: Union[common.constants.JobType, NoneType] - = None)' - JobDefinitionTriggers: - type: object - required: - - github_webhook - - schedule - properties: - github_webhook: - type: boolean - schedule: - type: boolean - git_provider_webhook: - oneOf: - - type: boolean - - type: 'null' - custom_branch_only: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'JobDefinitionTriggers(github_webhook: bool, schedule: bool, - git_provider_webhook: Union[bool, NoneType] = None, custom_branch_only: - Union[bool, NoneType] = None)' - JobDefinitionSettings: - type: object - required: - - threads - - target_name - properties: - threads: - type: integer - target_name: - type: string - additionalProperties: false - description: 'JobDefinitionSettings(threads: int, target_name: str)' - JobDefinitionExecution: - type: object - required: - - timeout_seconds - properties: - timeout_seconds: - type: integer - additionalProperties: false - description: 'JobDefinitionExecution(timeout_seconds: int)' - JobDefinitionSchedule: - type: object - required: - - cron - - date - - time - properties: - cron: - type: string - date: - type: string - enum: - - every_day - - days_of_week - - custom_cron - time: - type: string - enum: - - every_hour - - at_exact_hours - additionalProperties: false - description: 'JobDefinitionSchedule(cron: str, date: models.job_definition.DateStrategy, - time: models.job_definition.TimeStrategy)' - EnvironmentV3: - type: object - required: - - account_id - - project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - credentials_id: - oneOf: - - type: integer - - type: 'null' - name: - type: string - default: New Environment - dbt_version: - type: string - default: 1.6.0-latest - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - type: - type: string - enum: - - development - - deployment - default: deployment - use_custom_branch: - type: boolean - default: false - custom_branch: - oneOf: - - type: string - - type: 'null' - supports_docs: - type: boolean - default: false - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - project: - oneOf: - - $ref: '#/definitions/Project' - - type: 'null' - jobs: - oneOf: - - type: array - items: - type: object - additionalProperties: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - - type: 'null' - credentials: - oneOf: - - $ref: '#/definitions/PostgresCredentials' - - $ref: '#/definitions/RedshiftCredentials' - - $ref: '#/definitions/SnowflakeCredentials' - - $ref: '#/definitions/BigqueryCredentials' - - $ref: '#/definitions/DbtAdapterCredentials' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - deployment_type: - oneOf: - - type: string - enum: - - production - - type: 'null' - additionalProperties: false - description: "\n An environment is a collection of settings within a\ - \ project that defines how dbt is run.\n Use it to define the version\ - \ controlled branch and warehouse connection that dbt will run on.\n \ - \ " - Project: - type: object - required: - - name - - account_id - properties: - name: - type: string - account_id: - type: integer - connection_id: - oneOf: - - type: integer - - type: 'null' - repository_id: - oneOf: - - type: integer - - type: 'null' - semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false - state: - type: integer - default: 1 - dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' - connection: - oneOf: - - $ref: '#/definitions/BaseConnectionV3' - - type: 'null' - repository: - oneOf: - - $ref: '#/definitions/RepositoryV3' - - type: 'null' - group_permissions: - oneOf: - - type: array - items: - $ref: '#/definitions/GroupPermission' - - type: 'null' - docs_job_id: - oneOf: - - type: integer - - type: 'null' - freshness_job_id: - oneOf: - - type: integer - - type: 'null' - docs_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - freshness_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: - int = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: - Union[models.connection.common.BaseConnectionV3, NoneType] = None, repository: - Union[models.repository.RepositoryV3, NoneType] = None, group_permissions: - Union[List[models.permissions.group_permission.GroupPermission], NoneType] - = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: Union[int, - NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - Run: - type: object - required: - - account_id - - environment_id - - project_id - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - trigger_id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - environment_id: - type: integer - project_id: - type: integer - job_definition_id: - type: integer - status: - type: integer - default: 1 - dbt_version: - type: string - default: 1.6.0-latest - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - status_message: - oneOf: - - type: string - - type: 'null' - owner_thread_id: - oneOf: - - type: string - - type: 'null' - executed_by_thread_id: - oneOf: - - type: string - - type: 'null' - deferring_run_id: - oneOf: - - type: integer - - type: 'null' - artifacts_saved: - type: boolean - default: false - artifact_s3_path: - oneOf: - - type: string - - type: 'null' - has_docs_generated: - type: boolean - default: false - has_sources_generated: - type: boolean - default: false - notifications_sent: - type: boolean - default: false - blocked_by: - type: array - items: - type: integer - default: [] - scribe_enabled: - type: boolean - default: false - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - dequeued_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_checked_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_heartbeat_at: - oneOf: - - type: string - format: date-time - - type: 'null' - should_start_at: - oneOf: - - type: string - format: date-time - - type: 'null' - trigger: - oneOf: - - $ref: '#/definitions/RunTrigger' - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - environment: - oneOf: - - type: object - - type: 'null' - run_steps: - oneOf: - - type: array - items: - $ref: '#/definitions/RunStep' - - type: 'null' - default: [] - status_humanized: - oneOf: - - type: string - - type: 'null' - in_progress: - oneOf: - - type: boolean - - type: 'null' - is_complete: - oneOf: - - type: boolean - - type: 'null' - is_success: - oneOf: - - type: boolean - - type: 'null' - is_error: - oneOf: - - type: boolean - - type: 'null' - is_cancelled: - oneOf: - - type: boolean - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - queued_duration: - oneOf: - - type: string - - type: 'null' - run_duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - queued_duration_humanized: - oneOf: - - type: string - - type: 'null' - run_duration_humanized: - oneOf: - - type: string - - type: 'null' - created_at_humanized: - oneOf: - - type: string - - type: 'null' - finished_at_humanized: - oneOf: - - type: string - - type: 'null' - job_id: - oneOf: - - type: integer - - type: 'null' - is_running: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: "\n Represents a run of a job definition.\n " - RunTrigger: - type: object - required: - - cause - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - cause: - type: string - job_definition_id: - type: integer - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - azure_pull_request_id: - oneOf: - - type: integer - - type: 'null' - github_pull_request_id: - oneOf: - - type: integer - - type: 'null' - gitlab_merge_request_id: - oneOf: - - type: integer - - type: 'null' - schema_override: - oneOf: - - type: string - - type: 'null' - dbt_version_override: - oneOf: - - type: string - - type: 'null' - threads_override: - oneOf: - - type: integer - - type: 'null' - target_name_override: - oneOf: - - type: string - - type: 'null' - generate_docs_override: - oneOf: - - type: boolean - - type: 'null' - timeout_seconds_override: - oneOf: - - type: integer - - type: 'null' - steps_override: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - cause_humanized: - oneOf: - - type: string - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - additionalProperties: false - description: 'RunTrigger(id: Union[int, NoneType], cause: str, job_definition_id: - int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] - = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: - Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None)' - RunStep: - type: object - required: - - run_id - - account_id - - index - - status - - name - properties: - id: - oneOf: - - type: integer - - type: 'null' - run_id: - type: integer - account_id: - type: integer - index: - type: integer - status: - type: integer - name: - type: string - logs: - oneOf: - - type: string - - type: 'null' - debug_logs: - oneOf: - - type: string - - type: 'null' - log_location: - oneOf: - - type: string - enum: - - legacy - - s3 - - db - - empty - - type: 'null' - default: db - log_path: - oneOf: - - type: string - - type: 'null' - debug_log_path: - oneOf: - - type: string - - type: 'null' - log_archive_type: - oneOf: - - type: string - - type: 'null' - default: db_flushed - truncated_debug_logs: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - status_color: - oneOf: - - type: string - - type: 'null' - status_humanized: - oneOf: - - type: string - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: - int, index: int, status: int, name: str, logs: Union[str, NoneType] = - None, debug_logs: Union[str, NoneType] = None, log_location: Union[models.run_step.RunStepLogLocation, - NoneType] = , log_path: Union[str, NoneType] - = None, debug_log_path: Union[str, NoneType] = None, log_archive_type: - Union[str, NoneType] = , truncated_debug_logs: - Union[str, NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, started_at: - Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, - NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: - Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' - PostgresCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - postgres - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'PostgresCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str = None, default_schema: str = - None, target_name: str = ''default'', password: Union[str, NoneType] = - None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - RedshiftCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - redshift - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RedshiftCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str, default_schema: str, target_name: - str = ''default'', password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - SnowflakeCredentials: - type: object - required: - - account_id - - type - - state - - threads - - auth_type - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - snowflake - state: - type: integer - threads: - type: integer - auth_type: - type: string - enum: - - password - - sso - - keypair - schema: - type: string - user: - oneOf: - - type: string - - type: 'null' - target_name: - type: string - default: default - role: - oneOf: - - type: string - - type: 'null' - database: - oneOf: - - type: string - - type: 'null' - warehouse: - oneOf: - - type: string - - type: 'null' - password: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - private_key_passphrase: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'SnowflakeCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, auth_type: models.credentials.snowflake.SnowflakeAuthenticationType, - schema: str, user: Union[str, NoneType] = None, target_name: str = ''default'', - role: Union[str, NoneType] = None, database: Union[str, NoneType] = None, - warehouse: Union[str, NoneType] = None, _refresh_token: Union[str, NoneType] - = None, password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, private_key: Union[str, NoneType] = None, _private_key: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - BigqueryCredentials: - type: object - required: - - account_id - - type - - state - - threads - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - bigquery - state: - type: integer - threads: - type: integer - schema: - type: string - target_name: - type: string - default: default - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - username: - oneOf: - - type: string - - type: 'null' - has_refresh_token: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'BigqueryCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, schema: str, target_name: str = ''default'', - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' - DbtAdapterCredentials: - type: object - required: - - account_id - - type - - state - - threads - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - adapter - state: - type: integer - threads: - type: integer - adapter_id: - oneOf: - - type: integer - - type: 'null' - credential_details: - oneOf: - - $ref: '#/definitions/BaseSparkAdapterCredentialsSchema' - - $ref: '#/definitions/DatabricksCredentialsSchema' - - $ref: '#/definitions/TrinoCredentialsSchema' - - type: 'null' - unencrypted_credential_details: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: 'null' - target_name: - type: string - default: default - adapter: - oneOf: - - $ref: '#/definitions/DbtAdapter' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, adapter_id: Union[int, NoneType], credential_details: - Union[schemas.adapters.base_spark.BaseSparkAdapterCredentialsSchema, schemas.adapters.databricks.credentials_schema.DatabricksCredentialsSchema, - schemas.adapters.trino.credentials_schema.TrinoCredentialsSchema, NoneType] - = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' - BaseSparkAdapterCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/BaseSparkAdapterCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'BaseSparkAdapterCredentialsSchema(fields: schemas.adapters.base_spark.BaseSparkAdapterCredentialFields - = BaseSparkAdapterCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - BaseSparkAdapterCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'BaseSparkAdapterCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DatabricksCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'DatabricksCredentialsSchema(fields: schemas.adapters.databricks.credentials_schema.DatabricksCredentialFields - = DatabricksCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - Union[List[str], NoneType] = None)' - DatabricksCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TrinoCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoCredentialFields' - default: - user: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'TrinoCredentialsSchema(fields: schemas.adapters.trino.credentials_schema.TrinoCredentialFields - = TrinoCredentialFields(user=TextField(metadata=TextFieldMetadata(label=''User'', - description=''The username of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password=TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - TrinoCredentialFields: - type: object - required: [] - properties: - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - $ref: '#/definitions/TextField' - default: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - $ref: '#/definitions/TextField' - default: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'TrinoCredentialFields(user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description=''The - username of the account to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DbtAdapter: - type: object - required: - - account_id - - project_id - - adapter_version - - metadata_json - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - adapter_version: - type: string - enum: - - apache_spark_v0 - - databricks_spark_v0 - - databricks_v0 - - trino_v0 - - snowflake_v0 - - bigquery_v0 - - postgres_v0 - - redshift_v0 - metadata_json: - type: object - additionalProperties: - type: string - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapter(id: Union[int, NoneType], account_id: int, project_id: - int, created_by_id: Union[int, NoneType], created_by_service_token_id: - Union[int, NoneType], adapter_version: schemas.adapter.DbtAdapterVersion, - metadata_json: Dict[str, str], state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' - CustomEnvironmentVariable: - type: object - required: - - account_id - - project_id - - name - - type - properties: - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - project - - environment - - job - - user - state: - oneOf: - - type: integer - - type: 'null' - default: 1 - user_id: - oneOf: - - type: integer - - type: 'null' - environment_id: - oneOf: - - type: integer - - type: 'null' - job_definition_id: - oneOf: - - type: integer - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - raw_value: - oneOf: - - type: string - - type: 'null' - display_value: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This model represents a user-defined environment variable,\ - \ which can be\n set on the account, job or user-level and leveraged\ - \ in both the IDE and\n scheduled Runs.\n " - $schema: http://json-schema.org/draft-07/schema# + type: string + required: + - account_id + - name + - project_id + - state BaseConnectionV3Enveloped: type: object properties: data: - type: array - items: - $ref: '#/components/schemas/BaseConnectionV3' + $ref: '#/components/schemas/BaseConnectionV3' status: $ref: '#/components/schemas/Status' required: @@ -7381,3767 +3646,32 @@ components: - status BaseConnectionV3Request: type: object - required: - - account_id - - project_id - - name - - type properties: id: - oneOf: - - type: integer - - type: 'null' + type: integer account_id: type: integer project_id: type: integer name: type: string - type: - $ref: '#/components/schemas/BaseConnectionV3TypeEnum' + minLength: 1 created_by_id: - oneOf: - - type: integer - - type: 'null' + type: integer created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - details: - oneOf: - - oneOf: - - $ref: '#/definitions/PostgresConnectionV3' - - $ref: '#/definitions/SnowflakeConnectionV3' - - $ref: '#/definitions/BigqueryConnectionV3' - - $ref: '#/definitions/DbtAdapterConnection' - - type: 'null' + type: integer state: type: integer - default: 1 private_link_endpoint_id: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BaseConnectionV3(id: Union[int, NoneType], account_id: int, project_id: - int, name: str, type: models.connection.common.ConnectionType, created_by_id: - Union[int, NoneType] = None, created_by_service_token_id: Union[int, NoneType] - = None, details: Union[ForwardRef(''AnyConnection''), NoneType] = None, state: - int = 1, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: Union[str, - NoneType] = None)' - definitions: - BaseConnectionV3: - type: object - required: - - account_id - - project_id - - name - - type - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - $ref: '#/components/schemas/BaseConnectionV3TypeEnum' - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - details: - oneOf: - - oneOf: - - $ref: '#/definitions/PostgresConnectionV3' - - $ref: '#/definitions/SnowflakeConnectionV3' - - $ref: '#/definitions/BigqueryConnectionV3' - - $ref: '#/definitions/DbtAdapterConnection' - - type: 'null' - state: - type: integer - default: 1 - private_link_endpoint_id: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BaseConnectionV3(id: Union[int, NoneType], account_id: int, - project_id: int, name: str, type: models.connection.common.ConnectionType, - created_by_id: Union[int, NoneType] = None, created_by_service_token_id: - Union[int, NoneType] = None, details: Union[ForwardRef(''AnyConnection''), - NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None, - private_link_endpoint_id: Union[str, NoneType] = None)' - PostgresConnectionV3: - type: object - required: - - hostname - - dbname - - port - - tunnel_enabled - properties: - hostname: - type: string - dbname: - type: string - port: - type: integer - tunnel_enabled: - type: boolean - encryption: - oneOf: - - $ref: '#/definitions/ConnectionEncryption' - - type: 'null' - additionalProperties: false - description: 'PostgresConnectionV3(hostname: str, dbname: str, port: int, - tunnel_enabled: bool, encryption: Union[models.connection.encryption.ConnectionEncryption, - NoneType] = None)' - ConnectionEncryption: - type: object - required: - - account_id - - connection_id - - username - - port - - hostname - properties: - account_id: - type: integer - connection_id: - type: integer - username: - type: string - port: - type: integer - hostname: - type: string - public_key: - oneOf: - - type: string - - type: 'null' - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'ConnectionEncryption(account_id: int, connection_id: int, - username: str, port: int, hostname: str, public_key: Union[str, NoneType] - = None, state: int = 1, id: Union[int, NoneType] = None, private_key: - Union[str, NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None)' - SnowflakeConnectionV3: - type: object - required: - - account - - database - - warehouse - - allow_sso - - client_session_keep_alive - properties: - account: - type: string - database: - type: string - warehouse: - type: string - allow_sso: - type: boolean - client_session_keep_alive: - type: boolean - role: - oneOf: - - type: string - - type: 'null' - oauth_client_id: - oneOf: - - type: string - - type: 'null' - oauth_client_secret: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SnowflakeConnectionV3(account: str, database: str, warehouse: - str, allow_sso: bool, client_session_keep_alive: bool, role: Union[str, - NoneType] = None, oauth_client_id: Union[str, NoneType] = None, _oauth_client_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - oauth_client_secret: Union[str, NoneType] = None, _oauth_client_secret: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None)' - BigqueryConnectionV3: - type: object - required: - - project_id - - timeout_seconds - - private_key_id - - client_email - - client_id - - auth_uri - - token_uri - - auth_provider_x509_cert_url - - client_x509_cert_url - properties: - project_id: - type: string - timeout_seconds: - type: integer - private_key_id: - type: string - client_email: - type: string - client_id: - type: string - auth_uri: - type: string - token_uri: - type: string - auth_provider_x509_cert_url: - type: string - client_x509_cert_url: - type: string - priority: - oneOf: - - type: string - - type: 'null' - retries: - type: integer - default: 1 - scopes: - oneOf: - - type: array - items: - type: string - - type: 'null' - location: - oneOf: - - type: string - - type: 'null' - maximum_bytes_billed: - oneOf: - - type: integer - - type: 'null' - execution_project: - oneOf: - - type: string - - type: 'null' - impersonate_service_account: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - job_retry_deadline_seconds: - oneOf: - - type: integer - - type: 'null' - job_creation_timeout_seconds: - oneOf: - - type: integer - - type: 'null' - application_id: - oneOf: - - type: string - - type: 'null' - application_secret: - oneOf: - - type: string - - type: 'null' - is_configured_for_oauth: - type: boolean - default: false - gcs_bucket: - oneOf: - - type: string - - type: 'null' - dataproc_region: - oneOf: - - type: string - - type: 'null' - dataproc_cluster_name: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BigqueryConnectionV3(project_id: str, timeout_seconds: int, - private_key_id: str, client_email: str, client_id: str, auth_uri: str, - token_uri: str, auth_provider_x509_cert_url: str, client_x509_cert_url: - str, priority: Union[str, NoneType] = None, retries: int = 1, scopes: - Union[List[str], NoneType] = None, location: Union[str, NoneType] = None, - maximum_bytes_billed: Union[int, NoneType] = None, execution_project: - Union[str, NoneType] = None, impersonate_service_account: Union[str, NoneType] - = None, private_key: Union[str, NoneType] = None, job_retry_deadline_seconds: - Union[int, NoneType] = None, job_creation_timeout_seconds: Union[int, - NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, application_id: Union[str, NoneType] = None, application_secret: - Union[str, NoneType] = None, is_configured_for_oauth: bool = False, _application_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - _application_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, gcs_bucket: Union[str, NoneType] = None, dataproc_region: - Union[str, NoneType] = None, dataproc_cluster_name: Union[str, NoneType] - = None)' - DbtAdapterConnection: - type: object - required: - - connection_details - properties: - adapter_id: - oneOf: - - type: integer - - type: 'null' - connection_details: - oneOf: - - $ref: '#/definitions/ApacheSparkConnectionSchema' - - $ref: '#/definitions/DatabricksSparkConnectionSchema' - - $ref: '#/definitions/DatabricksConnectionSchema' - - $ref: '#/definitions/TrinoConnectionSchema' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterConnection(adapter_id: Union[int, NoneType], connection_details: - Union[schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionSchema, - schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionSchema, - schemas.adapters.databricks.connection_schema.DatabricksConnectionSchema, - schemas.adapters.trino.connection_schema.TrinoConnectionSchema], created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - ApacheSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/ApacheSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'ApacheSparkConnectionSchema(fields: schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionFields - = ApacheSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''HTTP'', value=''http''), - SelectOption(label=''Thrift'', value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''Port number of host.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description=''Organization id'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), auth=TextField(metadata=TextFieldMetadata(label=''Auth'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - ApacheSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - $ref: '#/definitions/TextField' - default: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'ApacheSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''HTTP'', value=''http''), SelectOption(label=''Thrift'', - value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''Port - number of host.'', field_type=''number'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization: Union[schemas.fields.TextField.TextField, NoneType] - = TextField(metadata=TextFieldMetadata(label=''Organization'', description=''Organization - id'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), auth: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Auth'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TextField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: string - additionalProperties: false - description: 'TextField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: str = None)' - TextFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: text - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'TextFieldMetadata(label: str, description: str, field_type: - str = ''text'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - validation: schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - GenericTextValidation: - type: object - required: [] - properties: - min_length: - oneOf: - - type: integer - - type: 'null' - max_length: - oneOf: - - type: integer - - type: 'null' - required: - oneOf: - - type: boolean - - type: 'null' - default: false - pattern: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'GenericTextValidation(min_length: Union[int, NoneType] = None, - max_length: Union[int, NoneType] = None, required: Union[bool, NoneType] - = False, pattern: Union[str, NoneType] = None)' - SelectField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/SelectFieldMetadata' - value: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SelectField(metadata: schemas.fields.SelectField.SelectFieldMetadata, - value: Union[str, NoneType] = None)' - SelectFieldMetadata: - type: object - required: - - label - - description - - options - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: select - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - options: - type: array - items: - $ref: '#/definitions/SelectOption' - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'SelectFieldMetadata(label: str, description: str, field_type: - str = ''select'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - options: List[schemas.fields.SelectField.SelectOption] = None, validation: - schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - SelectOption: - type: object - required: - - label - - value - properties: - label: - type: string - value: - oneOf: - - type: string - - type: integer - additionalProperties: false - description: 'SelectOption(label: str, value: Union[str, int])' - LegacyIntegerField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: integer - additionalProperties: false - description: 'LegacyIntegerField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: int = None)' - DatabricksSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect - to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if - using a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if - using Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksSparkConnectionSchema(fields: schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionFields - = DatabricksSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''ODBC'', value=''odbc'')], - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''odbc''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to Databricks for this connection.'', - field_type=''number'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericIntegerValidation(required=True)), value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint=TextField(metadata=TextFieldMetadata(label=''Endpoint'', - description=''The ID of the endpoint to connect to (required if using - Databricks SQL Analytics)'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', - description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - DatabricksSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if using - a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - $ref: '#/definitions/TextField' - default: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if using - Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - $ref: '#/definitions/TextField' - default: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''ODBC'', value=''odbc'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''odbc''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to Databricks for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Endpoint'', description=''The - ID of the endpoint to connect to (required if using Databricks SQL Analytics)'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), driver: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Driver'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization: Union[schemas.fields.TextField.TextField, NoneType] = TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''))' - DatabricksConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksConnectionSchema(fields: schemas.adapters.databricks.connection_schema.DatabricksConnectionFields - = DatabricksConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''databricks''), - host=TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path=TextField(metadata=TextFieldMetadata(label=''HTTP Path'', description=''The - HTTP path of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_http_path'')), value=''''), - catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value='''')), field_order: List[str] = - )' - DatabricksConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - $ref: '#/definitions/TextField' - default: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''databricks''), host: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''HTTP - Path'', description=''The HTTP path of the Databricks cluster or SQL warehouse.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_http_path'')), value=''''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value=''''))' - TrinoConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'TrinoConnectionSchema(fields: schemas.adapters.trino.connection_schema.TrinoConnectionFields - = TrinoConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''trino''), method=TextField(metadata=TextFieldMetadata(label=''Method'', - description=''The auth method to use.'', field_type=''hidden'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host=TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443)), field_order: List[str] = )' - TrinoConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - $ref: '#/definitions/TextField' - default: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - additionalProperties: false - description: 'TrinoConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''trino''), method: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Method'', description=''The - auth method to use.'', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443))' - RepositoryV3: - type: object - required: - - account_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - full_name: - oneOf: - - type: string - - type: 'null' - remote_url: - oneOf: - - type: string - pattern: ^\S+[/:](?P[^\s/]+?)(?:\.git)?$ - - type: 'null' - remote_backend: - oneOf: - - type: string - enum: - - azure_active_directory - - github - - managed - - gitlab - - manual_config - - type: 'null' - git_clone_strategy: - oneOf: - - type: string - enum: - - azure_active_directory_app - - deploy_key - - deploy_token - - github_app - - git_token - - type: 'null' - deploy_key_id: - oneOf: - - type: integer - - type: 'null' - repository_credentials_id: - oneOf: - - type: integer - - type: 'null' - github_installation_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_secret: - oneOf: - - type: string - - type: 'null' - pull_request_url_template: - oneOf: - - type: string - pattern: ^(http|https)://(.*) - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - deploy_key: - oneOf: - - type: object - - type: 'null' - github_repo: - oneOf: - - type: string - - type: 'null' - name: - oneOf: - - type: string - - type: 'null' - git_provider_id: - oneOf: - - type: integer - - type: 'null' - gitlab: - oneOf: - - $ref: '#/definitions/RepositoryGitlab' - - type: 'null' - git_provider: - oneOf: - - $ref: '#/definitions/GitProvider' - - type: 'null' - additionalProperties: false - description: 'RepositoryV3(id: Union[int, NoneType], account_id: int, project_id: - Union[int, NoneType] = None, full_name: Union[str, NoneType] = None, remote_url: - Union[RemoteUrl, NoneType] = None, remote_backend: Union[models.repository.GitRemoteBackend, - NoneType] = None, git_clone_strategy: Union[models.repository.GitCloneStrategy, - NoneType] = None, deploy_key_id: Union[int, NoneType] = None, repository_credentials_id: - Union[int, NoneType] = None, github_installation_id: Union[int, NoneType] - = None, github_webhook_id: Union[int, NoneType] = None, github_webhook_secret: - Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, - NoneType] = None, git_provider: Union[models.git_provider.GitProvider, - NoneType] = None)' - RepositoryGitlab: - type: object - required: - - account_id - - gitlab_project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - repository_id: - oneOf: - - type: integer - - type: 'null' - gitlab_project_id: - type: integer - state: - type: integer - default: 1 - project_access_token_id: - oneOf: - - type: integer - - type: 'null' - project_access_token: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RepositoryGitlab(id: Union[int, NoneType], account_id: int, - repository_id: Union[int, NoneType], gitlab_project_id: int, state: int - = 1, project_access_token_id: Union[int, NoneType] = None, project_access_token: - Union[str, NoneType] = None, _project_access_token: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - GitProvider: - type: object - required: - - account_id - - provider_type - properties: - account_id: - type: integer - provider_type: - type: string - enum: - - azure_active_directory - - github - - gitlab - - git_url - - managed_github - - manual_config - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This class represents a git provider integration the\ - \ user\n has setup and will interact with via the dbt Cloud IDE.\n\ - \ " - GroupPermission: - type: object - required: - - account_id - - group_id - - all_projects - - permission_set - properties: - account_id: - type: integer - group_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - all_projects: - type: boolean - permission_set: - type: string - enum: - - owner - - member - - account_admin - - security_admin - - billing_admin - - admin - - database_admin - - git_admin - - team_admin - - job_admin - - job_viewer - - analyst - - developer - - stakeholder - - readonly - - project_creator - - account_viewer - - metadata_only - - semantic_layer_only - - webhooks_only - permission_level: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'GroupPermission(account_id: int, group_id: int, project_id: - Union[int, NoneType], all_projects: bool, permission_set: models.permissions.sets.PredefinedPermissionSet, - permission_level: Union[int, NoneType] = None, id: Union[int, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - JobDefinitionV2: - type: object - required: - - environment_id - - account_id - - project_id - - name - - generate_docs - - run_generate_sources - - state - properties: - environment_id: - type: integer - account_id: - type: integer - project_id: - type: integer - name: - type: string - generate_docs: - type: boolean - run_generate_sources: - type: boolean - state: - type: integer - dbt_version: - oneOf: - - type: string - - type: 'null' - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - deactivated: - type: boolean - default: false - run_failure_count: - type: integer - default: 0 - triggers: - oneOf: - - $ref: '#/definitions/JobDefinitionTriggers' - - type: 'null' - settings: - oneOf: - - $ref: '#/definitions/JobDefinitionSettings' - - type: 'null' - execution: - oneOf: - - $ref: '#/definitions/JobDefinitionExecution' - - type: 'null' - schedule: - oneOf: - - $ref: '#/definitions/JobDefinitionSchedule' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - execute_steps: - oneOf: - - type: array - items: - type: string - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - most_recent_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - most_recent_completed_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - job_type: - oneOf: - - type: string - enum: - - ci - - scheduled - - other - - type: 'null' - additionalProperties: false - description: 'JobDefinitionV2(environment_id: int, account_id: int, project_id: - int, name: str, generate_docs: bool, run_generate_sources: bool, state: - int, dbt_version: Union[str, NoneType], raw_dbt_version: Union[str, NoneType] - = None, id: Union[int, NoneType] = None, deactivated: bool = False, run_failure_count: - int = 0, triggers: Union[models.job_definition.JobDefinitionTriggers, - NoneType] = None, settings: Union[models.job_definition.JobDefinitionSettings, - NoneType] = None, execution: Union[models.job_definition.JobDefinitionExecution, - NoneType] = None, schedule: Union[models.job_definition.JobDefinitionSchedule, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, execute_steps: - Union[List[str], NoneType] = None, environment: ''Optional[models.environment.EnvironmentV3]'' - = None, most_recent_run: Union[models.run.Run, NoneType] = None, most_recent_completed_run: - Union[models.run.Run, NoneType] = None, custom_environment_variables: - Union[List[models.custom_environment_variable.CustomEnvironmentVariable], - NoneType] = None, job_type: Union[common.constants.JobType, NoneType] - = None)' - JobDefinitionTriggers: - type: object - required: - - github_webhook - - schedule - properties: - github_webhook: - type: boolean - schedule: - type: boolean - git_provider_webhook: - oneOf: - - type: boolean - - type: 'null' - custom_branch_only: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'JobDefinitionTriggers(github_webhook: bool, schedule: bool, - git_provider_webhook: Union[bool, NoneType] = None, custom_branch_only: - Union[bool, NoneType] = None)' - JobDefinitionSettings: - type: object - required: - - threads - - target_name - properties: - threads: - type: integer - target_name: - type: string - additionalProperties: false - description: 'JobDefinitionSettings(threads: int, target_name: str)' - JobDefinitionExecution: - type: object - required: - - timeout_seconds - properties: - timeout_seconds: - type: integer - additionalProperties: false - description: 'JobDefinitionExecution(timeout_seconds: int)' - JobDefinitionSchedule: - type: object - required: - - cron - - date - - time - properties: - cron: - type: string - date: - type: string - enum: - - every_day - - days_of_week - - custom_cron - time: - type: string - enum: - - every_hour - - at_exact_hours - additionalProperties: false - description: 'JobDefinitionSchedule(cron: str, date: models.job_definition.DateStrategy, - time: models.job_definition.TimeStrategy)' - EnvironmentV3: - type: object - required: - - account_id - - project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - credentials_id: - oneOf: - - type: integer - - type: 'null' - name: - type: string - default: New Environment - dbt_version: - type: string - default: 1.6.0-latest - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - type: - type: string - enum: - - development - - deployment - default: deployment - use_custom_branch: - type: boolean - default: false - custom_branch: - oneOf: - - type: string - - type: 'null' - supports_docs: - type: boolean - default: false - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - project: - oneOf: - - $ref: '#/definitions/Project' - - type: 'null' - jobs: - oneOf: - - type: array - items: - type: object - additionalProperties: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - - type: 'null' - credentials: - oneOf: - - $ref: '#/definitions/PostgresCredentials' - - $ref: '#/definitions/RedshiftCredentials' - - $ref: '#/definitions/SnowflakeCredentials' - - $ref: '#/definitions/BigqueryCredentials' - - $ref: '#/definitions/DbtAdapterCredentials' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - deployment_type: - oneOf: - - type: string - enum: - - production - - type: 'null' - additionalProperties: false - description: "\n An environment is a collection of settings within a\ - \ project that defines how dbt is run.\n Use it to define the version\ - \ controlled branch and warehouse connection that dbt will run on.\n \ - \ " - Project: - type: object - required: - - name - - account_id - properties: - name: - type: string - account_id: - type: integer - connection_id: - oneOf: - - type: integer - - type: 'null' - repository_id: - oneOf: - - type: integer - - type: 'null' - semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false - state: - type: integer - default: 1 - dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' - connection: - oneOf: - - $ref: '#/definitions/BaseConnectionV3' - - type: 'null' - repository: - oneOf: - - $ref: '#/definitions/RepositoryV3' - - type: 'null' - group_permissions: - oneOf: - - type: array - items: - $ref: '#/definitions/GroupPermission' - - type: 'null' - docs_job_id: - oneOf: - - type: integer - - type: 'null' - freshness_job_id: - oneOf: - - type: integer - - type: 'null' - docs_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - freshness_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: - int = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: - Union[models.connection.common.BaseConnectionV3, NoneType] = None, repository: - Union[models.repository.RepositoryV3, NoneType] = None, group_permissions: - Union[List[models.permissions.group_permission.GroupPermission], NoneType] - = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: Union[int, - NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - Run: - type: object - required: - - account_id - - environment_id - - project_id - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - trigger_id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - environment_id: - type: integer - project_id: - type: integer - job_definition_id: - type: integer - status: - type: integer - default: 1 - dbt_version: - type: string - default: 1.6.0-latest - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - status_message: - oneOf: - - type: string - - type: 'null' - owner_thread_id: - oneOf: - - type: string - - type: 'null' - executed_by_thread_id: - oneOf: - - type: string - - type: 'null' - deferring_run_id: - oneOf: - - type: integer - - type: 'null' - artifacts_saved: - type: boolean - default: false - artifact_s3_path: - oneOf: - - type: string - - type: 'null' - has_docs_generated: - type: boolean - default: false - has_sources_generated: - type: boolean - default: false - notifications_sent: - type: boolean - default: false - blocked_by: - type: array - items: - type: integer - default: [] - scribe_enabled: - type: boolean - default: false - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - dequeued_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_checked_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_heartbeat_at: - oneOf: - - type: string - format: date-time - - type: 'null' - should_start_at: - oneOf: - - type: string - format: date-time - - type: 'null' - trigger: - oneOf: - - $ref: '#/definitions/RunTrigger' - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - environment: - oneOf: - - type: object - - type: 'null' - run_steps: - oneOf: - - type: array - items: - $ref: '#/definitions/RunStep' - - type: 'null' - default: [] - status_humanized: - oneOf: - - type: string - - type: 'null' - in_progress: - oneOf: - - type: boolean - - type: 'null' - is_complete: - oneOf: - - type: boolean - - type: 'null' - is_success: - oneOf: - - type: boolean - - type: 'null' - is_error: - oneOf: - - type: boolean - - type: 'null' - is_cancelled: - oneOf: - - type: boolean - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - queued_duration: - oneOf: - - type: string - - type: 'null' - run_duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - queued_duration_humanized: - oneOf: - - type: string - - type: 'null' - run_duration_humanized: - oneOf: - - type: string - - type: 'null' - created_at_humanized: - oneOf: - - type: string - - type: 'null' - finished_at_humanized: - oneOf: - - type: string - - type: 'null' - job_id: - oneOf: - - type: integer - - type: 'null' - is_running: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: "\n Represents a run of a job definition.\n " - RunTrigger: - type: object - required: - - cause - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - cause: - type: string - job_definition_id: - type: integer - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - azure_pull_request_id: - oneOf: - - type: integer - - type: 'null' - github_pull_request_id: - oneOf: - - type: integer - - type: 'null' - gitlab_merge_request_id: - oneOf: - - type: integer - - type: 'null' - schema_override: - oneOf: - - type: string - - type: 'null' - dbt_version_override: - oneOf: - - type: string - - type: 'null' - threads_override: - oneOf: - - type: integer - - type: 'null' - target_name_override: - oneOf: - - type: string - - type: 'null' - generate_docs_override: - oneOf: - - type: boolean - - type: 'null' - timeout_seconds_override: - oneOf: - - type: integer - - type: 'null' - steps_override: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - cause_humanized: - oneOf: - - type: string - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - additionalProperties: false - description: 'RunTrigger(id: Union[int, NoneType], cause: str, job_definition_id: - int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] - = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: - Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None)' - RunStep: - type: object - required: - - run_id - - account_id - - index - - status - - name - properties: - id: - oneOf: - - type: integer - - type: 'null' - run_id: - type: integer - account_id: - type: integer - index: - type: integer - status: - type: integer - name: - type: string - logs: - oneOf: - - type: string - - type: 'null' - debug_logs: - oneOf: - - type: string - - type: 'null' - log_location: - oneOf: - - type: string - enum: - - legacy - - s3 - - db - - empty - - type: 'null' - default: db - log_path: - oneOf: - - type: string - - type: 'null' - debug_log_path: - oneOf: - - type: string - - type: 'null' - log_archive_type: - oneOf: - - type: string - - type: 'null' - default: db_flushed - truncated_debug_logs: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - status_color: - oneOf: - - type: string - - type: 'null' - status_humanized: - oneOf: - - type: string - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: - int, index: int, status: int, name: str, logs: Union[str, NoneType] = - None, debug_logs: Union[str, NoneType] = None, log_location: Union[models.run_step.RunStepLogLocation, - NoneType] = , log_path: Union[str, NoneType] - = None, debug_log_path: Union[str, NoneType] = None, log_archive_type: - Union[str, NoneType] = , truncated_debug_logs: - Union[str, NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, started_at: - Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, - NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: - Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' - PostgresCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - postgres - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'PostgresCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str = None, default_schema: str = - None, target_name: str = ''default'', password: Union[str, NoneType] = - None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - RedshiftCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - redshift - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RedshiftCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str, default_schema: str, target_name: - str = ''default'', password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - SnowflakeCredentials: - type: object - required: - - account_id - - type - - state - - threads - - auth_type - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - snowflake - state: - type: integer - threads: - type: integer - auth_type: - type: string - enum: - - password - - sso - - keypair - schema: - type: string - user: - oneOf: - - type: string - - type: 'null' - target_name: - type: string - default: default - role: - oneOf: - - type: string - - type: 'null' - database: - oneOf: - - type: string - - type: 'null' - warehouse: - oneOf: - - type: string - - type: 'null' - password: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - private_key_passphrase: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'SnowflakeCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, auth_type: models.credentials.snowflake.SnowflakeAuthenticationType, - schema: str, user: Union[str, NoneType] = None, target_name: str = ''default'', - role: Union[str, NoneType] = None, database: Union[str, NoneType] = None, - warehouse: Union[str, NoneType] = None, _refresh_token: Union[str, NoneType] - = None, password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, private_key: Union[str, NoneType] = None, _private_key: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - BigqueryCredentials: - type: object - required: - - account_id - - type - - state - - threads - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - bigquery - state: - type: integer - threads: - type: integer - schema: - type: string - target_name: - type: string - default: default - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - username: - oneOf: - - type: string - - type: 'null' - has_refresh_token: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'BigqueryCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, schema: str, target_name: str = ''default'', - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' - DbtAdapterCredentials: - type: object - required: - - account_id - - type - - state - - threads - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - adapter - state: - type: integer - threads: - type: integer - adapter_id: - oneOf: - - type: integer - - type: 'null' - credential_details: - oneOf: - - $ref: '#/definitions/BaseSparkAdapterCredentialsSchema' - - $ref: '#/definitions/DatabricksCredentialsSchema' - - $ref: '#/definitions/TrinoCredentialsSchema' - - type: 'null' - unencrypted_credential_details: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: 'null' - target_name: - type: string - default: default - adapter: - oneOf: - - $ref: '#/definitions/DbtAdapter' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, adapter_id: Union[int, NoneType], credential_details: - Union[schemas.adapters.base_spark.BaseSparkAdapterCredentialsSchema, schemas.adapters.databricks.credentials_schema.DatabricksCredentialsSchema, - schemas.adapters.trino.credentials_schema.TrinoCredentialsSchema, NoneType] - = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' - BaseSparkAdapterCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/BaseSparkAdapterCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'BaseSparkAdapterCredentialsSchema(fields: schemas.adapters.base_spark.BaseSparkAdapterCredentialFields - = BaseSparkAdapterCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - BaseSparkAdapterCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'BaseSparkAdapterCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DatabricksCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'DatabricksCredentialsSchema(fields: schemas.adapters.databricks.credentials_schema.DatabricksCredentialFields - = DatabricksCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - Union[List[str], NoneType] = None)' - DatabricksCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TrinoCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoCredentialFields' - default: - user: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'TrinoCredentialsSchema(fields: schemas.adapters.trino.credentials_schema.TrinoCredentialFields - = TrinoCredentialFields(user=TextField(metadata=TextFieldMetadata(label=''User'', - description=''The username of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password=TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - TrinoCredentialFields: - type: object - required: [] - properties: - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - $ref: '#/definitions/TextField' - default: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - $ref: '#/definitions/TextField' - default: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'TrinoCredentialFields(user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description=''The - username of the account to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DbtAdapter: - type: object - required: - - account_id - - project_id - - adapter_version - - metadata_json - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - adapter_version: - type: string - enum: - - apache_spark_v0 - - databricks_spark_v0 - - databricks_v0 - - trino_v0 - - snowflake_v0 - - bigquery_v0 - - postgres_v0 - - redshift_v0 - metadata_json: - type: object - additionalProperties: - type: string - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapter(id: Union[int, NoneType], account_id: int, project_id: - int, created_by_id: Union[int, NoneType], created_by_service_token_id: - Union[int, NoneType], adapter_version: schemas.adapter.DbtAdapterVersion, - metadata_json: Dict[str, str], state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' - CustomEnvironmentVariable: - type: object - required: - - account_id - - project_id - - name - - type - properties: - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - project - - environment - - job - - user - state: - oneOf: - - type: integer - - type: 'null' - default: 1 - user_id: - oneOf: - - type: integer - - type: 'null' - environment_id: - oneOf: - - type: integer - - type: 'null' - job_definition_id: - oneOf: - - type: integer - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - raw_value: - oneOf: - - type: string - - type: 'null' - display_value: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This model represents a user-defined environment variable,\ - \ which can be\n set on the account, job or user-level and leveraged\ - \ in both the IDE and\n scheduled Runs.\n " - $schema: http://json-schema.org/draft-07/schema# - BaseConnectionV3TypeEnum: - type: string - enum: - - postgres - - redshift - - snowflake - - bigquery - - adapter - CustomEnvironmentVariable: - type: object + type: string + minLength: 1 required: - account_id - - project_id - name - - type + - project_id + - state + CustomEnvironmentVariable: + type: object properties: account_id: type: integer @@ -11149,3782 +3679,126 @@ components: type: integer name: type: string - type: - $ref: '#/components/schemas/CustomEnvironmentVariableTypeEnum' state: - oneOf: - - type: integer - - type: 'null' - default: 1 + type: integer user_id: - oneOf: - - type: integer - - type: 'null' + type: integer environment_id: - oneOf: - - type: integer - - type: 'null' + type: integer job_definition_id: - oneOf: - - type: integer - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - readOnly: true + type: integer + raw_value: + type: string + _raw_value: + allOf: + - $ref: '#/components/schemas/DataclassEncryptedField' + title: ' raw value' display_value: - oneOf: - - type: string - - type: 'null' + type: string id: - oneOf: - - type: integer - - type: 'null' - readOnly: true - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - additionalProperties: false - description: "\n This model represents a user-defined environment variable,\ - \ which can be\n set on the account, job or user-level and leveraged in\ - \ both the IDE and\n scheduled Runs.\n " - definitions: - BaseConnectionV3: - type: object - required: - - account_id - - project_id - - name - - type - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - postgres - - redshift - - snowflake - - bigquery - - adapter - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - details: - oneOf: - - oneOf: - - $ref: '#/definitions/PostgresConnectionV3' - - $ref: '#/definitions/SnowflakeConnectionV3' - - $ref: '#/definitions/BigqueryConnectionV3' - - $ref: '#/definitions/DbtAdapterConnection' - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - private_link_endpoint_id: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BaseConnectionV3(id: Union[int, NoneType], account_id: int, - project_id: int, name: str, type: models.connection.common.ConnectionType, - created_by_id: Union[int, NoneType] = None, created_by_service_token_id: - Union[int, NoneType] = None, details: Union[ForwardRef(''AnyConnection''), - NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None, - private_link_endpoint_id: Union[str, NoneType] = None)' - PostgresConnectionV3: - type: object - required: - - hostname - - dbname - - port - - tunnel_enabled - properties: - hostname: - type: string - dbname: - type: string - port: - type: integer - tunnel_enabled: - type: boolean - encryption: - oneOf: - - $ref: '#/definitions/ConnectionEncryption' - - type: 'null' - additionalProperties: false - description: 'PostgresConnectionV3(hostname: str, dbname: str, port: int, - tunnel_enabled: bool, encryption: Union[models.connection.encryption.ConnectionEncryption, - NoneType] = None)' - ConnectionEncryption: - type: object - required: - - account_id - - connection_id - - username - - port - - hostname - properties: - account_id: - type: integer - connection_id: - type: integer - username: - type: string - port: - type: integer - hostname: - type: string - public_key: - oneOf: - - type: string - - type: 'null' - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'ConnectionEncryption(account_id: int, connection_id: int, - username: str, port: int, hostname: str, public_key: Union[str, NoneType] - = None, state: int = 1, id: Union[int, NoneType] = None, private_key: - Union[str, NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None)' - SnowflakeConnectionV3: - type: object - required: - - account - - database - - warehouse - - allow_sso - - client_session_keep_alive - properties: - account: - type: string - database: - type: string - warehouse: - type: string - allow_sso: - type: boolean - client_session_keep_alive: - type: boolean - role: - oneOf: - - type: string - - type: 'null' - oauth_client_id: - oneOf: - - type: string - - type: 'null' - oauth_client_secret: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SnowflakeConnectionV3(account: str, database: str, warehouse: - str, allow_sso: bool, client_session_keep_alive: bool, role: Union[str, - NoneType] = None, oauth_client_id: Union[str, NoneType] = None, _oauth_client_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - oauth_client_secret: Union[str, NoneType] = None, _oauth_client_secret: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None)' - BigqueryConnectionV3: - type: object - required: - - project_id - - timeout_seconds - - private_key_id - - client_email - - client_id - - auth_uri - - token_uri - - auth_provider_x509_cert_url - - client_x509_cert_url - properties: - project_id: - type: string - timeout_seconds: - type: integer - private_key_id: - type: string - client_email: - type: string - client_id: - type: string - auth_uri: - type: string - token_uri: - type: string - auth_provider_x509_cert_url: - type: string - client_x509_cert_url: - type: string - priority: - oneOf: - - type: string - - type: 'null' - retries: - type: integer - default: 1 - scopes: - oneOf: - - type: array - items: - type: string - - type: 'null' - location: - oneOf: - - type: string - - type: 'null' - maximum_bytes_billed: - oneOf: - - type: integer - - type: 'null' - execution_project: - oneOf: - - type: string - - type: 'null' - impersonate_service_account: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - job_retry_deadline_seconds: - oneOf: - - type: integer - - type: 'null' - job_creation_timeout_seconds: - oneOf: - - type: integer - - type: 'null' - application_id: - oneOf: - - type: string - - type: 'null' - application_secret: - oneOf: - - type: string - - type: 'null' - is_configured_for_oauth: - type: boolean - default: false - gcs_bucket: - oneOf: - - type: string - - type: 'null' - dataproc_region: - oneOf: - - type: string - - type: 'null' - dataproc_cluster_name: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BigqueryConnectionV3(project_id: str, timeout_seconds: int, - private_key_id: str, client_email: str, client_id: str, auth_uri: str, - token_uri: str, auth_provider_x509_cert_url: str, client_x509_cert_url: - str, priority: Union[str, NoneType] = None, retries: int = 1, scopes: - Union[List[str], NoneType] = None, location: Union[str, NoneType] = None, - maximum_bytes_billed: Union[int, NoneType] = None, execution_project: - Union[str, NoneType] = None, impersonate_service_account: Union[str, NoneType] - = None, private_key: Union[str, NoneType] = None, job_retry_deadline_seconds: - Union[int, NoneType] = None, job_creation_timeout_seconds: Union[int, - NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, application_id: Union[str, NoneType] = None, application_secret: - Union[str, NoneType] = None, is_configured_for_oauth: bool = False, _application_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - _application_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, gcs_bucket: Union[str, NoneType] = None, dataproc_region: - Union[str, NoneType] = None, dataproc_cluster_name: Union[str, NoneType] - = None)' - DbtAdapterConnection: - type: object - required: - - connection_details - properties: - adapter_id: - oneOf: - - type: integer - - type: 'null' - connection_details: - oneOf: - - $ref: '#/definitions/ApacheSparkConnectionSchema' - - $ref: '#/definitions/DatabricksSparkConnectionSchema' - - $ref: '#/definitions/DatabricksConnectionSchema' - - $ref: '#/definitions/TrinoConnectionSchema' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterConnection(adapter_id: Union[int, NoneType], connection_details: - Union[schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionSchema, - schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionSchema, - schemas.adapters.databricks.connection_schema.DatabricksConnectionSchema, - schemas.adapters.trino.connection_schema.TrinoConnectionSchema], created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - ApacheSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/ApacheSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'ApacheSparkConnectionSchema(fields: schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionFields - = ApacheSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''HTTP'', value=''http''), - SelectOption(label=''Thrift'', value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''Port number of host.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description=''Organization id'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), auth=TextField(metadata=TextFieldMetadata(label=''Auth'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - ApacheSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - $ref: '#/definitions/TextField' - default: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'ApacheSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''HTTP'', value=''http''), SelectOption(label=''Thrift'', - value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''Port - number of host.'', field_type=''number'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization: Union[schemas.fields.TextField.TextField, NoneType] - = TextField(metadata=TextFieldMetadata(label=''Organization'', description=''Organization - id'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), auth: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Auth'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TextField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: string - additionalProperties: false - description: 'TextField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: str = None)' - TextFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: text - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'TextFieldMetadata(label: str, description: str, field_type: - str = ''text'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - validation: schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - GenericTextValidation: - type: object - required: [] - properties: - min_length: - oneOf: - - type: integer - - type: 'null' - max_length: - oneOf: - - type: integer - - type: 'null' - required: - oneOf: - - type: boolean - - type: 'null' - default: false - pattern: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'GenericTextValidation(min_length: Union[int, NoneType] = None, - max_length: Union[int, NoneType] = None, required: Union[bool, NoneType] - = False, pattern: Union[str, NoneType] = None)' - SelectField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/SelectFieldMetadata' - value: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SelectField(metadata: schemas.fields.SelectField.SelectFieldMetadata, - value: Union[str, NoneType] = None)' - SelectFieldMetadata: - type: object - required: - - label - - description - - options - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: select - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - options: - type: array - items: - $ref: '#/definitions/SelectOption' - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'SelectFieldMetadata(label: str, description: str, field_type: - str = ''select'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - options: List[schemas.fields.SelectField.SelectOption] = None, validation: - schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - SelectOption: - type: object - required: - - label - - value - properties: - label: - type: string - value: - oneOf: - - type: string - - type: integer - additionalProperties: false - description: 'SelectOption(label: str, value: Union[str, int])' - LegacyIntegerField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: integer - additionalProperties: false - description: 'LegacyIntegerField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: int = None)' - DatabricksSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect - to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if - using a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if - using Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksSparkConnectionSchema(fields: schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionFields - = DatabricksSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''ODBC'', value=''odbc'')], - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''odbc''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to Databricks for this connection.'', - field_type=''number'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericIntegerValidation(required=True)), value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint=TextField(metadata=TextFieldMetadata(label=''Endpoint'', - description=''The ID of the endpoint to connect to (required if using - Databricks SQL Analytics)'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', - description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - DatabricksSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if using - a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - $ref: '#/definitions/TextField' - default: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if using - Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - $ref: '#/definitions/TextField' - default: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''ODBC'', value=''odbc'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''odbc''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to Databricks for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Endpoint'', description=''The - ID of the endpoint to connect to (required if using Databricks SQL Analytics)'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), driver: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Driver'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization: Union[schemas.fields.TextField.TextField, NoneType] = TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''))' - DatabricksConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksConnectionSchema(fields: schemas.adapters.databricks.connection_schema.DatabricksConnectionFields - = DatabricksConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''databricks''), - host=TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path=TextField(metadata=TextFieldMetadata(label=''HTTP Path'', description=''The - HTTP path of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_http_path'')), value=''''), - catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value='''')), field_order: List[str] = - )' - DatabricksConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - $ref: '#/definitions/TextField' - default: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''databricks''), host: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''HTTP - Path'', description=''The HTTP path of the Databricks cluster or SQL warehouse.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_http_path'')), value=''''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value=''''))' - TrinoConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'TrinoConnectionSchema(fields: schemas.adapters.trino.connection_schema.TrinoConnectionFields - = TrinoConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''trino''), method=TextField(metadata=TextFieldMetadata(label=''Method'', - description=''The auth method to use.'', field_type=''hidden'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host=TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443)), field_order: List[str] = )' - TrinoConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - $ref: '#/definitions/TextField' - default: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - additionalProperties: false - description: 'TrinoConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''trino''), method: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Method'', description=''The - auth method to use.'', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443))' - RepositoryV3: - type: object - required: - - account_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - full_name: - oneOf: - - type: string - - type: 'null' - remote_url: - oneOf: - - type: string - pattern: ^\S+[/:](?P[^\s/]+?)(?:\.git)?$ - - type: 'null' - remote_backend: - oneOf: - - type: string - enum: - - azure_active_directory - - github - - managed - - gitlab - - manual_config - - type: 'null' - git_clone_strategy: - oneOf: - - type: string - enum: - - azure_active_directory_app - - deploy_key - - deploy_token - - github_app - - git_token - - type: 'null' - deploy_key_id: - oneOf: - - type: integer - - type: 'null' - repository_credentials_id: - oneOf: - - type: integer - - type: 'null' - github_installation_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_secret: - oneOf: - - type: string - - type: 'null' - pull_request_url_template: - oneOf: - - type: string - pattern: ^(http|https)://(.*) - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - deploy_key: - oneOf: - - type: object - - type: 'null' - github_repo: - oneOf: - - type: string - - type: 'null' - name: - oneOf: - - type: string - - type: 'null' - git_provider_id: - oneOf: - - type: integer - - type: 'null' - gitlab: - oneOf: - - $ref: '#/definitions/RepositoryGitlab' - - type: 'null' - git_provider: - oneOf: - - $ref: '#/definitions/GitProvider' - - type: 'null' - additionalProperties: false - description: 'RepositoryV3(id: Union[int, NoneType], account_id: int, project_id: - Union[int, NoneType] = None, full_name: Union[str, NoneType] = None, remote_url: - Union[RemoteUrl, NoneType] = None, remote_backend: Union[models.repository.GitRemoteBackend, - NoneType] = None, git_clone_strategy: Union[models.repository.GitCloneStrategy, - NoneType] = None, deploy_key_id: Union[int, NoneType] = None, repository_credentials_id: - Union[int, NoneType] = None, github_installation_id: Union[int, NoneType] - = None, github_webhook_id: Union[int, NoneType] = None, github_webhook_secret: - Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, - NoneType] = None, git_provider: Union[models.git_provider.GitProvider, - NoneType] = None)' - RepositoryGitlab: - type: object - required: - - account_id - - gitlab_project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - repository_id: - oneOf: - - type: integer - - type: 'null' - gitlab_project_id: - type: integer - state: - type: integer - default: 1 - project_access_token_id: - oneOf: - - type: integer - - type: 'null' - project_access_token: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RepositoryGitlab(id: Union[int, NoneType], account_id: int, - repository_id: Union[int, NoneType], gitlab_project_id: int, state: int - = 1, project_access_token_id: Union[int, NoneType] = None, project_access_token: - Union[str, NoneType] = None, _project_access_token: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - GitProvider: - type: object - required: - - account_id - - provider_type - properties: - account_id: - type: integer - provider_type: - type: string - enum: - - azure_active_directory - - github - - gitlab - - git_url - - managed_github - - manual_config - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This class represents a git provider integration the\ - \ user\n has setup and will interact with via the dbt Cloud IDE.\n\ - \ " - GroupPermission: - type: object - required: - - account_id - - group_id - - all_projects - - permission_set - properties: - account_id: - type: integer - group_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - all_projects: - type: boolean - permission_set: - type: string - enum: - - owner - - member - - account_admin - - security_admin - - billing_admin - - admin - - database_admin - - git_admin - - team_admin - - job_admin - - job_viewer - - analyst - - developer - - stakeholder - - readonly - - project_creator - - account_viewer - - metadata_only - - semantic_layer_only - - webhooks_only - permission_level: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'GroupPermission(account_id: int, group_id: int, project_id: - Union[int, NoneType], all_projects: bool, permission_set: models.permissions.sets.PredefinedPermissionSet, - permission_level: Union[int, NoneType] = None, id: Union[int, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - JobDefinitionV2: - type: object - required: - - environment_id - - account_id - - project_id - - name - - generate_docs - - run_generate_sources - - state - properties: - environment_id: - type: integer - account_id: - type: integer - project_id: - type: integer - name: - type: string - generate_docs: - type: boolean - run_generate_sources: - type: boolean - state: - type: integer - dbt_version: - oneOf: - - type: string - - type: 'null' - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - deactivated: - type: boolean - default: false - run_failure_count: - type: integer - default: 0 - triggers: - oneOf: - - $ref: '#/definitions/JobDefinitionTriggers' - - type: 'null' - settings: - oneOf: - - $ref: '#/definitions/JobDefinitionSettings' - - type: 'null' - execution: - oneOf: - - $ref: '#/definitions/JobDefinitionExecution' - - type: 'null' - schedule: - oneOf: - - $ref: '#/definitions/JobDefinitionSchedule' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - execute_steps: - oneOf: - - type: array - items: - type: string - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - most_recent_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - most_recent_completed_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - job_type: - oneOf: - - type: string - enum: - - ci - - scheduled - - other - - type: 'null' - additionalProperties: false - description: 'JobDefinitionV2(environment_id: int, account_id: int, project_id: - int, name: str, generate_docs: bool, run_generate_sources: bool, state: - int, dbt_version: Union[str, NoneType], raw_dbt_version: Union[str, NoneType] - = None, id: Union[int, NoneType] = None, deactivated: bool = False, run_failure_count: - int = 0, triggers: Union[models.job_definition.JobDefinitionTriggers, - NoneType] = None, settings: Union[models.job_definition.JobDefinitionSettings, - NoneType] = None, execution: Union[models.job_definition.JobDefinitionExecution, - NoneType] = None, schedule: Union[models.job_definition.JobDefinitionSchedule, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, execute_steps: - Union[List[str], NoneType] = None, environment: ''Optional[models.environment.EnvironmentV3]'' - = None, most_recent_run: Union[models.run.Run, NoneType] = None, most_recent_completed_run: - Union[models.run.Run, NoneType] = None, custom_environment_variables: - Union[List[models.custom_environment_variable.CustomEnvironmentVariable], - NoneType] = None, job_type: Union[common.constants.JobType, NoneType] - = None)' - JobDefinitionTriggers: - type: object - required: - - github_webhook - - schedule - properties: - github_webhook: - type: boolean - schedule: - type: boolean - git_provider_webhook: - oneOf: - - type: boolean - - type: 'null' - custom_branch_only: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'JobDefinitionTriggers(github_webhook: bool, schedule: bool, - git_provider_webhook: Union[bool, NoneType] = None, custom_branch_only: - Union[bool, NoneType] = None)' - JobDefinitionSettings: - type: object - required: - - threads - - target_name - properties: - threads: - type: integer - target_name: - type: string - additionalProperties: false - description: 'JobDefinitionSettings(threads: int, target_name: str)' - JobDefinitionExecution: - type: object - required: - - timeout_seconds - properties: - timeout_seconds: - type: integer - additionalProperties: false - description: 'JobDefinitionExecution(timeout_seconds: int)' - JobDefinitionSchedule: - type: object - required: - - cron - - date - - time - properties: - cron: - type: string - date: - type: string - enum: - - every_day - - days_of_week - - custom_cron - time: - type: string - enum: - - every_hour - - at_exact_hours - additionalProperties: false - description: 'JobDefinitionSchedule(cron: str, date: models.job_definition.DateStrategy, - time: models.job_definition.TimeStrategy)' - EnvironmentV3: - type: object - required: - - account_id - - project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - credentials_id: - oneOf: - - type: integer - - type: 'null' - name: - type: string - default: New Environment - dbt_version: - type: string - default: 1.6.0-latest - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - type: - type: string - enum: - - development - - deployment - default: deployment - use_custom_branch: - type: boolean - default: false - custom_branch: - oneOf: - - type: string - - type: 'null' - supports_docs: - type: boolean - default: false - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - project: - oneOf: - - $ref: '#/definitions/Project' - - type: 'null' - jobs: - oneOf: - - type: array - items: - type: object - additionalProperties: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - - type: 'null' - credentials: - oneOf: - - $ref: '#/definitions/PostgresCredentials' - - $ref: '#/definitions/RedshiftCredentials' - - $ref: '#/definitions/SnowflakeCredentials' - - $ref: '#/definitions/BigqueryCredentials' - - $ref: '#/definitions/DbtAdapterCredentials' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - deployment_type: - oneOf: - - type: string - enum: - - production - - type: 'null' - additionalProperties: false - description: "\n An environment is a collection of settings within a\ - \ project that defines how dbt is run.\n Use it to define the version\ - \ controlled branch and warehouse connection that dbt will run on.\n \ - \ " - Project: - type: object - required: - - name - - account_id - properties: - name: - type: string - account_id: - type: integer - connection_id: - oneOf: - - type: integer - - type: 'null' - repository_id: - oneOf: - - type: integer - - type: 'null' - semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false - state: - type: integer - default: 1 - dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' - connection: - oneOf: - - $ref: '#/definitions/BaseConnectionV3' - - type: 'null' - repository: - oneOf: - - $ref: '#/definitions/RepositoryV3' - - type: 'null' - group_permissions: - oneOf: - - type: array - items: - $ref: '#/definitions/GroupPermission' - - type: 'null' - docs_job_id: - oneOf: - - type: integer - - type: 'null' - freshness_job_id: - oneOf: - - type: integer - - type: 'null' - docs_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - freshness_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: - int = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: - Union[models.connection.common.BaseConnectionV3, NoneType] = None, repository: - Union[models.repository.RepositoryV3, NoneType] = None, group_permissions: - Union[List[models.permissions.group_permission.GroupPermission], NoneType] - = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: Union[int, - NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - Run: - type: object - required: - - account_id - - environment_id - - project_id - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - trigger_id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - environment_id: - type: integer - project_id: - type: integer - job_definition_id: - type: integer - status: - type: integer - default: 1 - dbt_version: - type: string - default: 1.6.0-latest - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - status_message: - oneOf: - - type: string - - type: 'null' - owner_thread_id: - oneOf: - - type: string - - type: 'null' - executed_by_thread_id: - oneOf: - - type: string - - type: 'null' - deferring_run_id: - oneOf: - - type: integer - - type: 'null' - artifacts_saved: - type: boolean - default: false - artifact_s3_path: - oneOf: - - type: string - - type: 'null' - has_docs_generated: - type: boolean - default: false - has_sources_generated: - type: boolean - default: false - notifications_sent: - type: boolean - default: false - blocked_by: - type: array - items: - type: integer - default: [] - scribe_enabled: - type: boolean - default: false - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - dequeued_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_checked_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_heartbeat_at: - oneOf: - - type: string - format: date-time - - type: 'null' - should_start_at: - oneOf: - - type: string - format: date-time - - type: 'null' - trigger: - oneOf: - - $ref: '#/definitions/RunTrigger' - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - environment: - oneOf: - - type: object - - type: 'null' - run_steps: - oneOf: - - type: array - items: - $ref: '#/definitions/RunStep' - - type: 'null' - default: [] - status_humanized: - oneOf: - - type: string - - type: 'null' - in_progress: - oneOf: - - type: boolean - - type: 'null' - is_complete: - oneOf: - - type: boolean - - type: 'null' - is_success: - oneOf: - - type: boolean - - type: 'null' - is_error: - oneOf: - - type: boolean - - type: 'null' - is_cancelled: - oneOf: - - type: boolean - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - queued_duration: - oneOf: - - type: string - - type: 'null' - run_duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - queued_duration_humanized: - oneOf: - - type: string - - type: 'null' - run_duration_humanized: - oneOf: - - type: string - - type: 'null' - created_at_humanized: - oneOf: - - type: string - - type: 'null' - finished_at_humanized: - oneOf: - - type: string - - type: 'null' - job_id: - oneOf: - - type: integer - - type: 'null' - is_running: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: "\n Represents a run of a job definition.\n " - RunTrigger: - type: object - required: - - cause - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - cause: - type: string - job_definition_id: - type: integer - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - azure_pull_request_id: - oneOf: - - type: integer - - type: 'null' - github_pull_request_id: - oneOf: - - type: integer - - type: 'null' - gitlab_merge_request_id: - oneOf: - - type: integer - - type: 'null' - schema_override: - oneOf: - - type: string - - type: 'null' - dbt_version_override: - oneOf: - - type: string - - type: 'null' - threads_override: - oneOf: - - type: integer - - type: 'null' - target_name_override: - oneOf: - - type: string - - type: 'null' - generate_docs_override: - oneOf: - - type: boolean - - type: 'null' - timeout_seconds_override: - oneOf: - - type: integer - - type: 'null' - steps_override: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - cause_humanized: - oneOf: - - type: string - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - additionalProperties: false - description: 'RunTrigger(id: Union[int, NoneType], cause: str, job_definition_id: - int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] - = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: - Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None)' - RunStep: - type: object - required: - - run_id - - account_id - - index - - status - - name - properties: - id: - oneOf: - - type: integer - - type: 'null' - run_id: - type: integer - account_id: - type: integer - index: - type: integer - status: - type: integer - name: - type: string - logs: - oneOf: - - type: string - - type: 'null' - debug_logs: - oneOf: - - type: string - - type: 'null' - log_location: - oneOf: - - type: string - enum: - - legacy - - s3 - - db - - empty - - type: 'null' - default: db - log_path: - oneOf: - - type: string - - type: 'null' - debug_log_path: - oneOf: - - type: string - - type: 'null' - log_archive_type: - oneOf: - - type: string - - type: 'null' - default: db_flushed - truncated_debug_logs: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - status_color: - oneOf: - - type: string - - type: 'null' - status_humanized: - oneOf: - - type: string - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: - int, index: int, status: int, name: str, logs: Union[str, NoneType] = - None, debug_logs: Union[str, NoneType] = None, log_location: Union[models.run_step.RunStepLogLocation, - NoneType] = , log_path: Union[str, NoneType] - = None, debug_log_path: Union[str, NoneType] = None, log_archive_type: - Union[str, NoneType] = , truncated_debug_logs: - Union[str, NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, started_at: - Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, - NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: - Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' - PostgresCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - postgres - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'PostgresCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str = None, default_schema: str = - None, target_name: str = ''default'', password: Union[str, NoneType] = - None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - RedshiftCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - redshift - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RedshiftCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str, default_schema: str, target_name: - str = ''default'', password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - SnowflakeCredentials: - type: object - required: - - account_id - - type - - state - - threads - - auth_type - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - snowflake - state: - type: integer - threads: - type: integer - auth_type: - type: string - enum: - - password - - sso - - keypair - schema: - type: string - user: - oneOf: - - type: string - - type: 'null' - target_name: - type: string - default: default - role: - oneOf: - - type: string - - type: 'null' - database: - oneOf: - - type: string - - type: 'null' - warehouse: - oneOf: - - type: string - - type: 'null' - password: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - private_key_passphrase: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'SnowflakeCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, auth_type: models.credentials.snowflake.SnowflakeAuthenticationType, - schema: str, user: Union[str, NoneType] = None, target_name: str = ''default'', - role: Union[str, NoneType] = None, database: Union[str, NoneType] = None, - warehouse: Union[str, NoneType] = None, _refresh_token: Union[str, NoneType] - = None, password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, private_key: Union[str, NoneType] = None, _private_key: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - BigqueryCredentials: - type: object - required: - - account_id - - type - - state - - threads - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - bigquery - state: - type: integer - threads: - type: integer - schema: - type: string - target_name: - type: string - default: default - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - username: - oneOf: - - type: string - - type: 'null' - has_refresh_token: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'BigqueryCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, schema: str, target_name: str = ''default'', - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' - DbtAdapterCredentials: - type: object - required: - - account_id - - type - - state - - threads - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - adapter - state: - type: integer - threads: - type: integer - adapter_id: - oneOf: - - type: integer - - type: 'null' - credential_details: - oneOf: - - $ref: '#/definitions/BaseSparkAdapterCredentialsSchema' - - $ref: '#/definitions/DatabricksCredentialsSchema' - - $ref: '#/definitions/TrinoCredentialsSchema' - - type: 'null' - unencrypted_credential_details: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: 'null' - target_name: - type: string - default: default - adapter: - oneOf: - - $ref: '#/definitions/DbtAdapter' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, adapter_id: Union[int, NoneType], credential_details: - Union[schemas.adapters.base_spark.BaseSparkAdapterCredentialsSchema, schemas.adapters.databricks.credentials_schema.DatabricksCredentialsSchema, - schemas.adapters.trino.credentials_schema.TrinoCredentialsSchema, NoneType] - = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' - BaseSparkAdapterCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/BaseSparkAdapterCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'BaseSparkAdapterCredentialsSchema(fields: schemas.adapters.base_spark.BaseSparkAdapterCredentialFields - = BaseSparkAdapterCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - BaseSparkAdapterCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'BaseSparkAdapterCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DatabricksCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'DatabricksCredentialsSchema(fields: schemas.adapters.databricks.credentials_schema.DatabricksCredentialFields - = DatabricksCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - Union[List[str], NoneType] = None)' - DatabricksCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TrinoCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoCredentialFields' - default: - user: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'TrinoCredentialsSchema(fields: schemas.adapters.trino.credentials_schema.TrinoCredentialFields - = TrinoCredentialFields(user=TextField(metadata=TextFieldMetadata(label=''User'', - description=''The username of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password=TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - TrinoCredentialFields: - type: object - required: [] - properties: - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - $ref: '#/definitions/TextField' - default: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - $ref: '#/definitions/TextField' - default: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'TrinoCredentialFields(user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description=''The - username of the account to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DbtAdapter: - type: object - required: - - account_id - - project_id - - adapter_version - - metadata_json - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - adapter_version: - type: string - enum: - - apache_spark_v0 - - databricks_spark_v0 - - databricks_v0 - - trino_v0 - - snowflake_v0 - - bigquery_v0 - - postgres_v0 - - redshift_v0 - metadata_json: - type: object - additionalProperties: - type: string - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapter(id: Union[int, NoneType], account_id: int, project_id: - int, created_by_id: Union[int, NoneType], created_by_service_token_id: - Union[int, NoneType], adapter_version: schemas.adapter.DbtAdapterVersion, - metadata_json: Dict[str, str], state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' - CustomEnvironmentVariable: - type: object - required: - - account_id - - project_id - - name - - type - properties: - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - $ref: '#/components/schemas/CustomEnvironmentVariableTypeEnum' - state: - oneOf: - - type: integer - - type: 'null' - default: 1 - user_id: - oneOf: - - type: integer - - type: 'null' - environment_id: - oneOf: - - type: integer - - type: 'null' - job_definition_id: - oneOf: - - type: integer - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - readOnly: true - display_value: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - readOnly: true - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - additionalProperties: false - description: "\n This model represents a user-defined environment variable,\ - \ which can be\n set on the account, job or user-level and leveraged\ - \ in both the IDE and\n scheduled Runs.\n " - $schema: http://json-schema.org/draft-07/schema# - CustomEnvironmentVariableEnveloped: + type: integer + required: + - account_id + - name + - project_id + CustomEnvironmentVariableBulkRequest: + type: object + properties: + new_name: + type: string + minLength: 1 + project: + type: string + minLength: 1 + environmentNameExample1: + type: string + minLength: 1 + description: This key must match the name of the environment you want to + set this environment variable for. + environmentNameExample2: + type: string + minLength: 1 + description: This key must match the name of the environment you want to + set this environment variable for. + required: + - new_name + CustomEnvironmentVariableBulkRequestRequest: + type: object + properties: + env_var: + type: array + items: + $ref: '#/components/schemas/CustomEnvironmentVariableBulkRequest' + required: + - env_var + CustomEnvironmentVariableBulkResponse: + type: object + properties: + status: + type: string + status_code: + type: integer + key_name: + type: string + data: + $ref: '#/components/schemas/ResponseData' + required: + - data + - key_name + - status + - status_code + CustomEnvironmentVariableBulkResponseEnveloped: type: object properties: data: type: array items: - $ref: '#/components/schemas/CustomEnvironmentVariable' + $ref: '#/components/schemas/CustomEnvironmentVariableBulkResponse' status: $ref: '#/components/schemas/Status' required: - data - status - CustomEnvironmentVariableRequest: + CustomEnvironmentVariableBulkResponseFail: + type: object + properties: + status: + type: string + status_code: + type: integer + key_name: + type: string + reason: + type: string + required: + - key_name + - reason + - status + - status_code + CustomEnvironmentVariableBulkResponseFailEnveloped: type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/CustomEnvironmentVariableBulkResponseFail' + status: + $ref: '#/components/schemas/Status' required: - - account_id - - project_id - - name - - type + - data + - status + CustomEnvironmentVariableEnveloped: + type: object + properties: + data: + $ref: '#/components/schemas/CustomEnvironmentVariable' + status: + $ref: '#/components/schemas/Status' + required: + - data + - status + CustomEnvironmentVariableRequest: + type: object properties: account_id: type: integer @@ -14932,7500 +3806,71 @@ components: type: integer name: type: string - type: - $ref: '#/components/schemas/CustomEnvironmentVariableTypeEnum' + minLength: 1 state: - oneOf: - - type: integer - - type: 'null' - default: 1 + type: integer user_id: - oneOf: - - type: integer - - type: 'null' + type: integer environment_id: - oneOf: - - type: integer - - type: 'null' + type: integer job_definition_id: - oneOf: - - type: integer - - type: 'null' + type: integer raw_value: - oneOf: - - type: string - - type: 'null' - writeOnly: true + type: string + minLength: 1 + _raw_value: + allOf: + - $ref: '#/components/schemas/DataclassEncryptedFieldRequest' + title: ' raw value' display_value: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: "\n This model represents a user-defined environment variable,\ - \ which can be\n set on the account, job or user-level and leveraged in\ - \ both the IDE and\n scheduled Runs.\n " - definitions: - BaseConnectionV3: - type: object - required: - - account_id - - project_id - - name - - type - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - postgres - - redshift - - snowflake - - bigquery - - adapter - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - details: - oneOf: - - oneOf: - - $ref: '#/definitions/PostgresConnectionV3' - - $ref: '#/definitions/SnowflakeConnectionV3' - - $ref: '#/definitions/BigqueryConnectionV3' - - $ref: '#/definitions/DbtAdapterConnection' - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - private_link_endpoint_id: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BaseConnectionV3(id: Union[int, NoneType], account_id: int, - project_id: int, name: str, type: models.connection.common.ConnectionType, - created_by_id: Union[int, NoneType] = None, created_by_service_token_id: - Union[int, NoneType] = None, details: Union[ForwardRef(''AnyConnection''), - NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None, - private_link_endpoint_id: Union[str, NoneType] = None)' - PostgresConnectionV3: - type: object - required: - - hostname - - dbname - - port - - tunnel_enabled - properties: - hostname: - type: string - dbname: - type: string - port: - type: integer - tunnel_enabled: - type: boolean - encryption: - oneOf: - - $ref: '#/definitions/ConnectionEncryption' - - type: 'null' - additionalProperties: false - description: 'PostgresConnectionV3(hostname: str, dbname: str, port: int, - tunnel_enabled: bool, encryption: Union[models.connection.encryption.ConnectionEncryption, - NoneType] = None)' - ConnectionEncryption: - type: object - required: - - account_id - - connection_id - - username - - port - - hostname - properties: - account_id: - type: integer - connection_id: - type: integer - username: - type: string - port: - type: integer - hostname: - type: string - public_key: - oneOf: - - type: string - - type: 'null' - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'ConnectionEncryption(account_id: int, connection_id: int, - username: str, port: int, hostname: str, public_key: Union[str, NoneType] - = None, state: int = 1, id: Union[int, NoneType] = None, private_key: - Union[str, NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None)' - SnowflakeConnectionV3: - type: object - required: - - account - - database - - warehouse - - allow_sso - - client_session_keep_alive - properties: - account: - type: string - database: - type: string - warehouse: - type: string - allow_sso: - type: boolean - client_session_keep_alive: - type: boolean - role: - oneOf: - - type: string - - type: 'null' - oauth_client_id: - oneOf: - - type: string - - type: 'null' - oauth_client_secret: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SnowflakeConnectionV3(account: str, database: str, warehouse: - str, allow_sso: bool, client_session_keep_alive: bool, role: Union[str, - NoneType] = None, oauth_client_id: Union[str, NoneType] = None, _oauth_client_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - oauth_client_secret: Union[str, NoneType] = None, _oauth_client_secret: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None)' - BigqueryConnectionV3: - type: object - required: - - project_id - - timeout_seconds - - private_key_id - - client_email - - client_id - - auth_uri - - token_uri - - auth_provider_x509_cert_url - - client_x509_cert_url - properties: - project_id: - type: string - timeout_seconds: - type: integer - private_key_id: - type: string - client_email: - type: string - client_id: - type: string - auth_uri: - type: string - token_uri: - type: string - auth_provider_x509_cert_url: - type: string - client_x509_cert_url: - type: string - priority: - oneOf: - - type: string - - type: 'null' - retries: - type: integer - default: 1 - scopes: - oneOf: - - type: array - items: - type: string - - type: 'null' - location: - oneOf: - - type: string - - type: 'null' - maximum_bytes_billed: - oneOf: - - type: integer - - type: 'null' - execution_project: - oneOf: - - type: string - - type: 'null' - impersonate_service_account: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - job_retry_deadline_seconds: - oneOf: - - type: integer - - type: 'null' - job_creation_timeout_seconds: - oneOf: - - type: integer - - type: 'null' - application_id: - oneOf: - - type: string - - type: 'null' - application_secret: - oneOf: - - type: string - - type: 'null' - is_configured_for_oauth: - type: boolean - default: false - gcs_bucket: - oneOf: - - type: string - - type: 'null' - dataproc_region: - oneOf: - - type: string - - type: 'null' - dataproc_cluster_name: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BigqueryConnectionV3(project_id: str, timeout_seconds: int, - private_key_id: str, client_email: str, client_id: str, auth_uri: str, - token_uri: str, auth_provider_x509_cert_url: str, client_x509_cert_url: - str, priority: Union[str, NoneType] = None, retries: int = 1, scopes: - Union[List[str], NoneType] = None, location: Union[str, NoneType] = None, - maximum_bytes_billed: Union[int, NoneType] = None, execution_project: - Union[str, NoneType] = None, impersonate_service_account: Union[str, NoneType] - = None, private_key: Union[str, NoneType] = None, job_retry_deadline_seconds: - Union[int, NoneType] = None, job_creation_timeout_seconds: Union[int, - NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, application_id: Union[str, NoneType] = None, application_secret: - Union[str, NoneType] = None, is_configured_for_oauth: bool = False, _application_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - _application_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, gcs_bucket: Union[str, NoneType] = None, dataproc_region: - Union[str, NoneType] = None, dataproc_cluster_name: Union[str, NoneType] - = None)' - DbtAdapterConnection: - type: object - required: - - connection_details - properties: - adapter_id: - oneOf: - - type: integer - - type: 'null' - connection_details: - oneOf: - - $ref: '#/definitions/ApacheSparkConnectionSchema' - - $ref: '#/definitions/DatabricksSparkConnectionSchema' - - $ref: '#/definitions/DatabricksConnectionSchema' - - $ref: '#/definitions/TrinoConnectionSchema' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterConnection(adapter_id: Union[int, NoneType], connection_details: - Union[schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionSchema, - schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionSchema, - schemas.adapters.databricks.connection_schema.DatabricksConnectionSchema, - schemas.adapters.trino.connection_schema.TrinoConnectionSchema], created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - ApacheSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/ApacheSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'ApacheSparkConnectionSchema(fields: schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionFields - = ApacheSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''HTTP'', value=''http''), - SelectOption(label=''Thrift'', value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''Port number of host.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description=''Organization id'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), auth=TextField(metadata=TextFieldMetadata(label=''Auth'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - ApacheSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - $ref: '#/definitions/TextField' - default: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'ApacheSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''HTTP'', value=''http''), SelectOption(label=''Thrift'', - value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''Port - number of host.'', field_type=''number'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization: Union[schemas.fields.TextField.TextField, NoneType] - = TextField(metadata=TextFieldMetadata(label=''Organization'', description=''Organization - id'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), auth: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Auth'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TextField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: string - additionalProperties: false - description: 'TextField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: str = None)' - TextFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: text - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'TextFieldMetadata(label: str, description: str, field_type: - str = ''text'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - validation: schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - GenericTextValidation: - type: object - required: [] - properties: - min_length: - oneOf: - - type: integer - - type: 'null' - max_length: - oneOf: - - type: integer - - type: 'null' - required: - oneOf: - - type: boolean - - type: 'null' - default: false - pattern: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'GenericTextValidation(min_length: Union[int, NoneType] = None, - max_length: Union[int, NoneType] = None, required: Union[bool, NoneType] - = False, pattern: Union[str, NoneType] = None)' - SelectField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/SelectFieldMetadata' - value: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SelectField(metadata: schemas.fields.SelectField.SelectFieldMetadata, - value: Union[str, NoneType] = None)' - SelectFieldMetadata: - type: object - required: - - label - - description - - options - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: select - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - options: - type: array - items: - $ref: '#/definitions/SelectOption' - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'SelectFieldMetadata(label: str, description: str, field_type: - str = ''select'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - options: List[schemas.fields.SelectField.SelectOption] = None, validation: - schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - SelectOption: - type: object - required: - - label - - value - properties: - label: - type: string - value: - oneOf: - - type: string - - type: integer - additionalProperties: false - description: 'SelectOption(label: str, value: Union[str, int])' - LegacyIntegerField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: integer - additionalProperties: false - description: 'LegacyIntegerField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: int = None)' - DatabricksSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect - to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if - using a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if - using Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksSparkConnectionSchema(fields: schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionFields - = DatabricksSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''ODBC'', value=''odbc'')], - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''odbc''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to Databricks for this connection.'', - field_type=''number'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericIntegerValidation(required=True)), value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint=TextField(metadata=TextFieldMetadata(label=''Endpoint'', - description=''The ID of the endpoint to connect to (required if using - Databricks SQL Analytics)'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', - description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - DatabricksSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if using - a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - $ref: '#/definitions/TextField' - default: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if using - Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - $ref: '#/definitions/TextField' - default: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''ODBC'', value=''odbc'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''odbc''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to Databricks for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Endpoint'', description=''The - ID of the endpoint to connect to (required if using Databricks SQL Analytics)'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), driver: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Driver'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization: Union[schemas.fields.TextField.TextField, NoneType] = TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''))' - DatabricksConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksConnectionSchema(fields: schemas.adapters.databricks.connection_schema.DatabricksConnectionFields - = DatabricksConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''databricks''), - host=TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path=TextField(metadata=TextFieldMetadata(label=''HTTP Path'', description=''The - HTTP path of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_http_path'')), value=''''), - catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value='''')), field_order: List[str] = - )' - DatabricksConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - $ref: '#/definitions/TextField' - default: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''databricks''), host: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''HTTP - Path'', description=''The HTTP path of the Databricks cluster or SQL warehouse.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_http_path'')), value=''''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value=''''))' - TrinoConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'TrinoConnectionSchema(fields: schemas.adapters.trino.connection_schema.TrinoConnectionFields - = TrinoConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''trino''), method=TextField(metadata=TextFieldMetadata(label=''Method'', - description=''The auth method to use.'', field_type=''hidden'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host=TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443)), field_order: List[str] = )' - TrinoConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - $ref: '#/definitions/TextField' - default: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - additionalProperties: false - description: 'TrinoConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''trino''), method: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Method'', description=''The - auth method to use.'', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443))' - RepositoryV3: - type: object - required: - - account_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - full_name: - oneOf: - - type: string - - type: 'null' - remote_url: - oneOf: - - type: string - pattern: ^\S+[/:](?P[^\s/]+?)(?:\.git)?$ - - type: 'null' - remote_backend: - oneOf: - - type: string - enum: - - azure_active_directory - - github - - managed - - gitlab - - manual_config - - type: 'null' - git_clone_strategy: - oneOf: - - type: string - enum: - - azure_active_directory_app - - deploy_key - - deploy_token - - github_app - - git_token - - type: 'null' - deploy_key_id: - oneOf: - - type: integer - - type: 'null' - repository_credentials_id: - oneOf: - - type: integer - - type: 'null' - github_installation_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_secret: - oneOf: - - type: string - - type: 'null' - pull_request_url_template: - oneOf: - - type: string - pattern: ^(http|https)://(.*) - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - deploy_key: - oneOf: - - type: object - - type: 'null' - github_repo: - oneOf: - - type: string - - type: 'null' - name: - oneOf: - - type: string - - type: 'null' - git_provider_id: - oneOf: - - type: integer - - type: 'null' - gitlab: - oneOf: - - $ref: '#/definitions/RepositoryGitlab' - - type: 'null' - git_provider: - oneOf: - - $ref: '#/definitions/GitProvider' - - type: 'null' - additionalProperties: false - description: 'RepositoryV3(id: Union[int, NoneType], account_id: int, project_id: - Union[int, NoneType] = None, full_name: Union[str, NoneType] = None, remote_url: - Union[RemoteUrl, NoneType] = None, remote_backend: Union[models.repository.GitRemoteBackend, - NoneType] = None, git_clone_strategy: Union[models.repository.GitCloneStrategy, - NoneType] = None, deploy_key_id: Union[int, NoneType] = None, repository_credentials_id: - Union[int, NoneType] = None, github_installation_id: Union[int, NoneType] - = None, github_webhook_id: Union[int, NoneType] = None, github_webhook_secret: - Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, - NoneType] = None, git_provider: Union[models.git_provider.GitProvider, - NoneType] = None)' - RepositoryGitlab: - type: object - required: - - account_id - - gitlab_project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - repository_id: - oneOf: - - type: integer - - type: 'null' - gitlab_project_id: - type: integer - state: - type: integer - default: 1 - project_access_token_id: - oneOf: - - type: integer - - type: 'null' - project_access_token: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RepositoryGitlab(id: Union[int, NoneType], account_id: int, - repository_id: Union[int, NoneType], gitlab_project_id: int, state: int - = 1, project_access_token_id: Union[int, NoneType] = None, project_access_token: - Union[str, NoneType] = None, _project_access_token: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - GitProvider: - type: object - required: - - account_id - - provider_type - properties: - account_id: - type: integer - provider_type: - type: string - enum: - - azure_active_directory - - github - - gitlab - - git_url - - managed_github - - manual_config - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This class represents a git provider integration the\ - \ user\n has setup and will interact with via the dbt Cloud IDE.\n\ - \ " - GroupPermission: - type: object - required: - - account_id - - group_id - - all_projects - - permission_set - properties: - account_id: - type: integer - group_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - all_projects: - type: boolean - permission_set: - type: string - enum: - - owner - - member - - account_admin - - security_admin - - billing_admin - - admin - - database_admin - - git_admin - - team_admin - - job_admin - - job_viewer - - analyst - - developer - - stakeholder - - readonly - - project_creator - - account_viewer - - metadata_only - - semantic_layer_only - - webhooks_only - permission_level: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'GroupPermission(account_id: int, group_id: int, project_id: - Union[int, NoneType], all_projects: bool, permission_set: models.permissions.sets.PredefinedPermissionSet, - permission_level: Union[int, NoneType] = None, id: Union[int, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - JobDefinitionV2: - type: object - required: - - environment_id - - account_id - - project_id - - name - - generate_docs - - run_generate_sources - - state - properties: - environment_id: - type: integer - account_id: - type: integer - project_id: - type: integer - name: - type: string - generate_docs: - type: boolean - run_generate_sources: - type: boolean - state: - type: integer - dbt_version: - oneOf: - - type: string - - type: 'null' - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - deactivated: - type: boolean - default: false - run_failure_count: - type: integer - default: 0 - triggers: - oneOf: - - $ref: '#/definitions/JobDefinitionTriggers' - - type: 'null' - settings: - oneOf: - - $ref: '#/definitions/JobDefinitionSettings' - - type: 'null' - execution: - oneOf: - - $ref: '#/definitions/JobDefinitionExecution' - - type: 'null' - schedule: - oneOf: - - $ref: '#/definitions/JobDefinitionSchedule' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - execute_steps: - oneOf: - - type: array - items: - type: string - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - most_recent_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - most_recent_completed_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - job_type: - oneOf: - - type: string - enum: - - ci - - scheduled - - other - - type: 'null' - additionalProperties: false - description: 'JobDefinitionV2(environment_id: int, account_id: int, project_id: - int, name: str, generate_docs: bool, run_generate_sources: bool, state: - int, dbt_version: Union[str, NoneType], raw_dbt_version: Union[str, NoneType] - = None, id: Union[int, NoneType] = None, deactivated: bool = False, run_failure_count: - int = 0, triggers: Union[models.job_definition.JobDefinitionTriggers, - NoneType] = None, settings: Union[models.job_definition.JobDefinitionSettings, - NoneType] = None, execution: Union[models.job_definition.JobDefinitionExecution, - NoneType] = None, schedule: Union[models.job_definition.JobDefinitionSchedule, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, execute_steps: - Union[List[str], NoneType] = None, environment: ''Optional[models.environment.EnvironmentV3]'' - = None, most_recent_run: Union[models.run.Run, NoneType] = None, most_recent_completed_run: - Union[models.run.Run, NoneType] = None, custom_environment_variables: - Union[List[models.custom_environment_variable.CustomEnvironmentVariable], - NoneType] = None, job_type: Union[common.constants.JobType, NoneType] - = None)' - JobDefinitionTriggers: - type: object - required: - - github_webhook - - schedule - properties: - github_webhook: - type: boolean - schedule: - type: boolean - git_provider_webhook: - oneOf: - - type: boolean - - type: 'null' - custom_branch_only: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'JobDefinitionTriggers(github_webhook: bool, schedule: bool, - git_provider_webhook: Union[bool, NoneType] = None, custom_branch_only: - Union[bool, NoneType] = None)' - JobDefinitionSettings: - type: object - required: - - threads - - target_name - properties: - threads: - type: integer - target_name: - type: string - additionalProperties: false - description: 'JobDefinitionSettings(threads: int, target_name: str)' - JobDefinitionExecution: - type: object - required: - - timeout_seconds - properties: - timeout_seconds: - type: integer - additionalProperties: false - description: 'JobDefinitionExecution(timeout_seconds: int)' - JobDefinitionSchedule: - type: object - required: - - cron - - date - - time - properties: - cron: - type: string - date: - type: string - enum: - - every_day - - days_of_week - - custom_cron - time: - type: string - enum: - - every_hour - - at_exact_hours - additionalProperties: false - description: 'JobDefinitionSchedule(cron: str, date: models.job_definition.DateStrategy, - time: models.job_definition.TimeStrategy)' - EnvironmentV3: - type: object - required: - - account_id - - project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - credentials_id: - oneOf: - - type: integer - - type: 'null' - name: - type: string - default: New Environment - dbt_version: - type: string - default: 1.6.0-latest - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - type: - type: string - enum: - - development - - deployment - default: deployment - use_custom_branch: - type: boolean - default: false - custom_branch: - oneOf: - - type: string - - type: 'null' - supports_docs: - type: boolean - default: false - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - project: - oneOf: - - $ref: '#/definitions/Project' - - type: 'null' - jobs: - oneOf: - - type: array - items: - type: object - additionalProperties: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - - type: 'null' - credentials: - oneOf: - - $ref: '#/definitions/PostgresCredentials' - - $ref: '#/definitions/RedshiftCredentials' - - $ref: '#/definitions/SnowflakeCredentials' - - $ref: '#/definitions/BigqueryCredentials' - - $ref: '#/definitions/DbtAdapterCredentials' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - deployment_type: - oneOf: - - type: string - enum: - - production - - type: 'null' - additionalProperties: false - description: "\n An environment is a collection of settings within a\ - \ project that defines how dbt is run.\n Use it to define the version\ - \ controlled branch and warehouse connection that dbt will run on.\n \ - \ " - Project: - type: object - required: - - name - - account_id - properties: - name: - type: string - account_id: - type: integer - connection_id: - oneOf: - - type: integer - - type: 'null' - repository_id: - oneOf: - - type: integer - - type: 'null' - semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false - state: - type: integer - default: 1 - dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' - connection: - oneOf: - - $ref: '#/definitions/BaseConnectionV3' - - type: 'null' - repository: - oneOf: - - $ref: '#/definitions/RepositoryV3' - - type: 'null' - group_permissions: - oneOf: - - type: array - items: - $ref: '#/definitions/GroupPermission' - - type: 'null' - docs_job_id: - oneOf: - - type: integer - - type: 'null' - freshness_job_id: - oneOf: - - type: integer - - type: 'null' - docs_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - freshness_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: - int = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: - Union[models.connection.common.BaseConnectionV3, NoneType] = None, repository: - Union[models.repository.RepositoryV3, NoneType] = None, group_permissions: - Union[List[models.permissions.group_permission.GroupPermission], NoneType] - = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: Union[int, - NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - Run: - type: object - required: - - account_id - - environment_id - - project_id - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - trigger_id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - environment_id: - type: integer - project_id: - type: integer - job_definition_id: - type: integer - status: - type: integer - default: 1 - dbt_version: - type: string - default: 1.6.0-latest - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - status_message: - oneOf: - - type: string - - type: 'null' - owner_thread_id: - oneOf: - - type: string - - type: 'null' - executed_by_thread_id: - oneOf: - - type: string - - type: 'null' - deferring_run_id: - oneOf: - - type: integer - - type: 'null' - artifacts_saved: - type: boolean - default: false - artifact_s3_path: - oneOf: - - type: string - - type: 'null' - has_docs_generated: - type: boolean - default: false - has_sources_generated: - type: boolean - default: false - notifications_sent: - type: boolean - default: false - blocked_by: - type: array - items: - type: integer - default: [] - scribe_enabled: - type: boolean - default: false - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - dequeued_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_checked_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_heartbeat_at: - oneOf: - - type: string - format: date-time - - type: 'null' - should_start_at: - oneOf: - - type: string - format: date-time - - type: 'null' - trigger: - oneOf: - - $ref: '#/definitions/RunTrigger' - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - environment: - oneOf: - - type: object - - type: 'null' - run_steps: - oneOf: - - type: array - items: - $ref: '#/definitions/RunStep' - - type: 'null' - default: [] - status_humanized: - oneOf: - - type: string - - type: 'null' - in_progress: - oneOf: - - type: boolean - - type: 'null' - is_complete: - oneOf: - - type: boolean - - type: 'null' - is_success: - oneOf: - - type: boolean - - type: 'null' - is_error: - oneOf: - - type: boolean - - type: 'null' - is_cancelled: - oneOf: - - type: boolean - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - queued_duration: - oneOf: - - type: string - - type: 'null' - run_duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - queued_duration_humanized: - oneOf: - - type: string - - type: 'null' - run_duration_humanized: - oneOf: - - type: string - - type: 'null' - created_at_humanized: - oneOf: - - type: string - - type: 'null' - finished_at_humanized: - oneOf: - - type: string - - type: 'null' - job_id: - oneOf: - - type: integer - - type: 'null' - is_running: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: "\n Represents a run of a job definition.\n " - RunTrigger: - type: object - required: - - cause - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - cause: - type: string - job_definition_id: - type: integer - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - azure_pull_request_id: - oneOf: - - type: integer - - type: 'null' - github_pull_request_id: - oneOf: - - type: integer - - type: 'null' - gitlab_merge_request_id: - oneOf: - - type: integer - - type: 'null' - schema_override: - oneOf: - - type: string - - type: 'null' - dbt_version_override: - oneOf: - - type: string - - type: 'null' - threads_override: - oneOf: - - type: integer - - type: 'null' - target_name_override: - oneOf: - - type: string - - type: 'null' - generate_docs_override: - oneOf: - - type: boolean - - type: 'null' - timeout_seconds_override: - oneOf: - - type: integer - - type: 'null' - steps_override: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - cause_humanized: - oneOf: - - type: string - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - additionalProperties: false - description: 'RunTrigger(id: Union[int, NoneType], cause: str, job_definition_id: - int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] - = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: - Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None)' - RunStep: - type: object - required: - - run_id - - account_id - - index - - status - - name - properties: - id: - oneOf: - - type: integer - - type: 'null' - run_id: - type: integer - account_id: - type: integer - index: - type: integer - status: - type: integer - name: - type: string - logs: - oneOf: - - type: string - - type: 'null' - debug_logs: - oneOf: - - type: string - - type: 'null' - log_location: - oneOf: - - type: string - enum: - - legacy - - s3 - - db - - empty - - type: 'null' - default: db - log_path: - oneOf: - - type: string - - type: 'null' - debug_log_path: - oneOf: - - type: string - - type: 'null' - log_archive_type: - oneOf: - - type: string - - type: 'null' - default: db_flushed - truncated_debug_logs: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - status_color: - oneOf: - - type: string - - type: 'null' - status_humanized: - oneOf: - - type: string - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: - int, index: int, status: int, name: str, logs: Union[str, NoneType] = - None, debug_logs: Union[str, NoneType] = None, log_location: Union[models.run_step.RunStepLogLocation, - NoneType] = , log_path: Union[str, NoneType] - = None, debug_log_path: Union[str, NoneType] = None, log_archive_type: - Union[str, NoneType] = , truncated_debug_logs: - Union[str, NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, started_at: - Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, - NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: - Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' - PostgresCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - postgres - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'PostgresCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str = None, default_schema: str = - None, target_name: str = ''default'', password: Union[str, NoneType] = - None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - RedshiftCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - redshift - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RedshiftCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str, default_schema: str, target_name: - str = ''default'', password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - SnowflakeCredentials: - type: object - required: - - account_id - - type - - state - - threads - - auth_type - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - snowflake - state: - type: integer - threads: - type: integer - auth_type: - type: string - enum: - - password - - sso - - keypair - schema: - type: string - user: - oneOf: - - type: string - - type: 'null' - target_name: - type: string - default: default - role: - oneOf: - - type: string - - type: 'null' - database: - oneOf: - - type: string - - type: 'null' - warehouse: - oneOf: - - type: string - - type: 'null' - password: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - private_key_passphrase: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'SnowflakeCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, auth_type: models.credentials.snowflake.SnowflakeAuthenticationType, - schema: str, user: Union[str, NoneType] = None, target_name: str = ''default'', - role: Union[str, NoneType] = None, database: Union[str, NoneType] = None, - warehouse: Union[str, NoneType] = None, _refresh_token: Union[str, NoneType] - = None, password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, private_key: Union[str, NoneType] = None, _private_key: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - BigqueryCredentials: - type: object - required: - - account_id - - type - - state - - threads - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - bigquery - state: - type: integer - threads: - type: integer - schema: - type: string - target_name: - type: string - default: default - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - username: - oneOf: - - type: string - - type: 'null' - has_refresh_token: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'BigqueryCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, schema: str, target_name: str = ''default'', - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' - DbtAdapterCredentials: - type: object - required: - - account_id - - type - - state - - threads - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - adapter - state: - type: integer - threads: - type: integer - adapter_id: - oneOf: - - type: integer - - type: 'null' - credential_details: - oneOf: - - $ref: '#/definitions/BaseSparkAdapterCredentialsSchema' - - $ref: '#/definitions/DatabricksCredentialsSchema' - - $ref: '#/definitions/TrinoCredentialsSchema' - - type: 'null' - unencrypted_credential_details: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: 'null' - target_name: - type: string - default: default - adapter: - oneOf: - - $ref: '#/definitions/DbtAdapter' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, adapter_id: Union[int, NoneType], credential_details: - Union[schemas.adapters.base_spark.BaseSparkAdapterCredentialsSchema, schemas.adapters.databricks.credentials_schema.DatabricksCredentialsSchema, - schemas.adapters.trino.credentials_schema.TrinoCredentialsSchema, NoneType] - = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' - BaseSparkAdapterCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/BaseSparkAdapterCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'BaseSparkAdapterCredentialsSchema(fields: schemas.adapters.base_spark.BaseSparkAdapterCredentialFields - = BaseSparkAdapterCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - BaseSparkAdapterCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'BaseSparkAdapterCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DatabricksCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'DatabricksCredentialsSchema(fields: schemas.adapters.databricks.credentials_schema.DatabricksCredentialFields - = DatabricksCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - Union[List[str], NoneType] = None)' - DatabricksCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TrinoCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoCredentialFields' - default: - user: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'TrinoCredentialsSchema(fields: schemas.adapters.trino.credentials_schema.TrinoCredentialFields - = TrinoCredentialFields(user=TextField(metadata=TextFieldMetadata(label=''User'', - description=''The username of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password=TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - TrinoCredentialFields: - type: object - required: [] - properties: - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - $ref: '#/definitions/TextField' - default: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - $ref: '#/definitions/TextField' - default: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'TrinoCredentialFields(user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description=''The - username of the account to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DbtAdapter: - type: object - required: - - account_id - - project_id - - adapter_version - - metadata_json - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - adapter_version: - type: string - enum: - - apache_spark_v0 - - databricks_spark_v0 - - databricks_v0 - - trino_v0 - - snowflake_v0 - - bigquery_v0 - - postgres_v0 - - redshift_v0 - metadata_json: - type: object - additionalProperties: - type: string - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapter(id: Union[int, NoneType], account_id: int, project_id: - int, created_by_id: Union[int, NoneType], created_by_service_token_id: - Union[int, NoneType], adapter_version: schemas.adapter.DbtAdapterVersion, - metadata_json: Dict[str, str], state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' - CustomEnvironmentVariable: - type: object - required: - - account_id - - project_id - - name - - type - properties: - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - $ref: '#/components/schemas/CustomEnvironmentVariableTypeEnum' - state: - oneOf: - - type: integer - - type: 'null' - default: 1 - user_id: - oneOf: - - type: integer - - type: 'null' - environment_id: - oneOf: - - type: integer - - type: 'null' - job_definition_id: - oneOf: - - type: integer - - type: 'null' - raw_value: - oneOf: - - type: string - - type: 'null' - writeOnly: true - display_value: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: "\n This model represents a user-defined environment variable,\ - \ which can be\n set on the account, job or user-level and leveraged\ - \ in both the IDE and\n scheduled Runs.\n " - $schema: http://json-schema.org/draft-07/schema# - CustomEnvironmentVariableTypeEnum: - type: string - enum: - - project - - environment - - job - - user - DbtAdapter: - type: object + type: string + minLength: 1 + id: + type: integer required: - account_id + - name - project_id - - adapter_version - - metadata_json + DataclassEncryptedField: + type: object + properties: + plaintext: + type: string + ciphertext: + type: string + DataclassEncryptedFieldRequest: + type: object + properties: + plaintext: + type: string + minLength: 1 + ciphertext: + type: string + minLength: 1 + DbtAdapter: + type: object properties: id: - oneOf: - - type: integer - - type: 'null' + type: integer account_id: type: integer project_id: type: integer created_by_id: - oneOf: - - type: integer - - type: 'null' + type: integer created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - adapter_version: - $ref: '#/components/schemas/AdapterVersionEnum' - metadata_json: - type: object - additionalProperties: - type: string + type: integer state: type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - additionalProperties: false - description: 'DbtAdapter(id: Union[int, NoneType], account_id: int, project_id: - int, created_by_id: Union[int, NoneType], created_by_service_token_id: Union[int, - NoneType], adapter_version: schemas.adapter.DbtAdapterVersion, metadata_json: - Dict[str, str], state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - definitions: - BaseConnectionV3: - type: object - required: - - account_id - - project_id - - name - - type - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - postgres - - redshift - - snowflake - - bigquery - - adapter - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - details: - oneOf: - - oneOf: - - $ref: '#/definitions/PostgresConnectionV3' - - $ref: '#/definitions/SnowflakeConnectionV3' - - $ref: '#/definitions/BigqueryConnectionV3' - - $ref: '#/definitions/DbtAdapterConnection' - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - private_link_endpoint_id: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BaseConnectionV3(id: Union[int, NoneType], account_id: int, - project_id: int, name: str, type: models.connection.common.ConnectionType, - created_by_id: Union[int, NoneType] = None, created_by_service_token_id: - Union[int, NoneType] = None, details: Union[ForwardRef(''AnyConnection''), - NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None, - private_link_endpoint_id: Union[str, NoneType] = None)' - PostgresConnectionV3: - type: object - required: - - hostname - - dbname - - port - - tunnel_enabled - properties: - hostname: - type: string - dbname: - type: string - port: - type: integer - tunnel_enabled: - type: boolean - encryption: - oneOf: - - $ref: '#/definitions/ConnectionEncryption' - - type: 'null' - additionalProperties: false - description: 'PostgresConnectionV3(hostname: str, dbname: str, port: int, - tunnel_enabled: bool, encryption: Union[models.connection.encryption.ConnectionEncryption, - NoneType] = None)' - ConnectionEncryption: - type: object - required: - - account_id - - connection_id - - username - - port - - hostname - properties: - account_id: - type: integer - connection_id: - type: integer - username: - type: string - port: - type: integer - hostname: - type: string - public_key: - oneOf: - - type: string - - type: 'null' - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'ConnectionEncryption(account_id: int, connection_id: int, - username: str, port: int, hostname: str, public_key: Union[str, NoneType] - = None, state: int = 1, id: Union[int, NoneType] = None, private_key: - Union[str, NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None)' - SnowflakeConnectionV3: - type: object - required: - - account - - database - - warehouse - - allow_sso - - client_session_keep_alive - properties: - account: - type: string - database: - type: string - warehouse: - type: string - allow_sso: - type: boolean - client_session_keep_alive: - type: boolean - role: - oneOf: - - type: string - - type: 'null' - oauth_client_id: - oneOf: - - type: string - - type: 'null' - oauth_client_secret: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SnowflakeConnectionV3(account: str, database: str, warehouse: - str, allow_sso: bool, client_session_keep_alive: bool, role: Union[str, - NoneType] = None, oauth_client_id: Union[str, NoneType] = None, _oauth_client_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - oauth_client_secret: Union[str, NoneType] = None, _oauth_client_secret: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None)' - BigqueryConnectionV3: - type: object - required: - - project_id - - timeout_seconds - - private_key_id - - client_email - - client_id - - auth_uri - - token_uri - - auth_provider_x509_cert_url - - client_x509_cert_url - properties: - project_id: - type: string - timeout_seconds: - type: integer - private_key_id: - type: string - client_email: - type: string - client_id: - type: string - auth_uri: - type: string - token_uri: - type: string - auth_provider_x509_cert_url: - type: string - client_x509_cert_url: - type: string - priority: - oneOf: - - type: string - - type: 'null' - retries: - type: integer - default: 1 - scopes: - oneOf: - - type: array - items: - type: string - - type: 'null' - location: - oneOf: - - type: string - - type: 'null' - maximum_bytes_billed: - oneOf: - - type: integer - - type: 'null' - execution_project: - oneOf: - - type: string - - type: 'null' - impersonate_service_account: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - job_retry_deadline_seconds: - oneOf: - - type: integer - - type: 'null' - job_creation_timeout_seconds: - oneOf: - - type: integer - - type: 'null' - application_id: - oneOf: - - type: string - - type: 'null' - application_secret: - oneOf: - - type: string - - type: 'null' - is_configured_for_oauth: - type: boolean - default: false - gcs_bucket: - oneOf: - - type: string - - type: 'null' - dataproc_region: - oneOf: - - type: string - - type: 'null' - dataproc_cluster_name: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BigqueryConnectionV3(project_id: str, timeout_seconds: int, - private_key_id: str, client_email: str, client_id: str, auth_uri: str, - token_uri: str, auth_provider_x509_cert_url: str, client_x509_cert_url: - str, priority: Union[str, NoneType] = None, retries: int = 1, scopes: - Union[List[str], NoneType] = None, location: Union[str, NoneType] = None, - maximum_bytes_billed: Union[int, NoneType] = None, execution_project: - Union[str, NoneType] = None, impersonate_service_account: Union[str, NoneType] - = None, private_key: Union[str, NoneType] = None, job_retry_deadline_seconds: - Union[int, NoneType] = None, job_creation_timeout_seconds: Union[int, - NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, application_id: Union[str, NoneType] = None, application_secret: - Union[str, NoneType] = None, is_configured_for_oauth: bool = False, _application_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - _application_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, gcs_bucket: Union[str, NoneType] = None, dataproc_region: - Union[str, NoneType] = None, dataproc_cluster_name: Union[str, NoneType] - = None)' - DbtAdapterConnection: - type: object - required: - - connection_details - properties: - adapter_id: - oneOf: - - type: integer - - type: 'null' - connection_details: - oneOf: - - $ref: '#/definitions/ApacheSparkConnectionSchema' - - $ref: '#/definitions/DatabricksSparkConnectionSchema' - - $ref: '#/definitions/DatabricksConnectionSchema' - - $ref: '#/definitions/TrinoConnectionSchema' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterConnection(adapter_id: Union[int, NoneType], connection_details: - Union[schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionSchema, - schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionSchema, - schemas.adapters.databricks.connection_schema.DatabricksConnectionSchema, - schemas.adapters.trino.connection_schema.TrinoConnectionSchema], created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - ApacheSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/ApacheSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'ApacheSparkConnectionSchema(fields: schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionFields - = ApacheSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''HTTP'', value=''http''), - SelectOption(label=''Thrift'', value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''Port number of host.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description=''Organization id'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), auth=TextField(metadata=TextFieldMetadata(label=''Auth'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - ApacheSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - $ref: '#/definitions/TextField' - default: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'ApacheSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''HTTP'', value=''http''), SelectOption(label=''Thrift'', - value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''Port - number of host.'', field_type=''number'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization: Union[schemas.fields.TextField.TextField, NoneType] - = TextField(metadata=TextFieldMetadata(label=''Organization'', description=''Organization - id'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), auth: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Auth'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TextField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: string - additionalProperties: false - description: 'TextField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: str = None)' - TextFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: text - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'TextFieldMetadata(label: str, description: str, field_type: - str = ''text'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - validation: schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - GenericTextValidation: - type: object - required: [] - properties: - min_length: - oneOf: - - type: integer - - type: 'null' - max_length: - oneOf: - - type: integer - - type: 'null' - required: - oneOf: - - type: boolean - - type: 'null' - default: false - pattern: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'GenericTextValidation(min_length: Union[int, NoneType] = None, - max_length: Union[int, NoneType] = None, required: Union[bool, NoneType] - = False, pattern: Union[str, NoneType] = None)' - SelectField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/SelectFieldMetadata' - value: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SelectField(metadata: schemas.fields.SelectField.SelectFieldMetadata, - value: Union[str, NoneType] = None)' - SelectFieldMetadata: - type: object - required: - - label - - description - - options - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: select - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - options: - type: array - items: - $ref: '#/definitions/SelectOption' - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'SelectFieldMetadata(label: str, description: str, field_type: - str = ''select'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - options: List[schemas.fields.SelectField.SelectOption] = None, validation: - schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - SelectOption: - type: object - required: - - label - - value - properties: - label: - type: string - value: - oneOf: - - type: string - - type: integer - additionalProperties: false - description: 'SelectOption(label: str, value: Union[str, int])' - LegacyIntegerField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: integer - additionalProperties: false - description: 'LegacyIntegerField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: int = None)' - DatabricksSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect - to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if - using a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if - using Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksSparkConnectionSchema(fields: schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionFields - = DatabricksSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''ODBC'', value=''odbc'')], - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''odbc''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to Databricks for this connection.'', - field_type=''number'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericIntegerValidation(required=True)), value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint=TextField(metadata=TextFieldMetadata(label=''Endpoint'', - description=''The ID of the endpoint to connect to (required if using - Databricks SQL Analytics)'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', - description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - DatabricksSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if using - a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - $ref: '#/definitions/TextField' - default: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if using - Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - $ref: '#/definitions/TextField' - default: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''ODBC'', value=''odbc'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''odbc''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to Databricks for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Endpoint'', description=''The - ID of the endpoint to connect to (required if using Databricks SQL Analytics)'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), driver: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Driver'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization: Union[schemas.fields.TextField.TextField, NoneType] = TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''))' - DatabricksConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksConnectionSchema(fields: schemas.adapters.databricks.connection_schema.DatabricksConnectionFields - = DatabricksConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''databricks''), - host=TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path=TextField(metadata=TextFieldMetadata(label=''HTTP Path'', description=''The - HTTP path of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_http_path'')), value=''''), - catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value='''')), field_order: List[str] = - )' - DatabricksConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - $ref: '#/definitions/TextField' - default: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''databricks''), host: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''HTTP - Path'', description=''The HTTP path of the Databricks cluster or SQL warehouse.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_http_path'')), value=''''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value=''''))' - TrinoConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'TrinoConnectionSchema(fields: schemas.adapters.trino.connection_schema.TrinoConnectionFields - = TrinoConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''trino''), method=TextField(metadata=TextFieldMetadata(label=''Method'', - description=''The auth method to use.'', field_type=''hidden'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host=TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443)), field_order: List[str] = )' - TrinoConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - $ref: '#/definitions/TextField' - default: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - additionalProperties: false - description: 'TrinoConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''trino''), method: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Method'', description=''The - auth method to use.'', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443))' - RepositoryV3: - type: object - required: - - account_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - full_name: - oneOf: - - type: string - - type: 'null' - remote_url: - oneOf: - - type: string - pattern: ^\S+[/:](?P[^\s/]+?)(?:\.git)?$ - - type: 'null' - remote_backend: - oneOf: - - type: string - enum: - - azure_active_directory - - github - - managed - - gitlab - - manual_config - - type: 'null' - git_clone_strategy: - oneOf: - - type: string - enum: - - azure_active_directory_app - - deploy_key - - deploy_token - - github_app - - git_token - - type: 'null' - deploy_key_id: - oneOf: - - type: integer - - type: 'null' - repository_credentials_id: - oneOf: - - type: integer - - type: 'null' - github_installation_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_secret: - oneOf: - - type: string - - type: 'null' - pull_request_url_template: - oneOf: - - type: string - pattern: ^(http|https)://(.*) - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - deploy_key: - oneOf: - - type: object - - type: 'null' - github_repo: - oneOf: - - type: string - - type: 'null' - name: - oneOf: - - type: string - - type: 'null' - git_provider_id: - oneOf: - - type: integer - - type: 'null' - gitlab: - oneOf: - - $ref: '#/definitions/RepositoryGitlab' - - type: 'null' - git_provider: - oneOf: - - $ref: '#/definitions/GitProvider' - - type: 'null' - additionalProperties: false - description: 'RepositoryV3(id: Union[int, NoneType], account_id: int, project_id: - Union[int, NoneType] = None, full_name: Union[str, NoneType] = None, remote_url: - Union[RemoteUrl, NoneType] = None, remote_backend: Union[models.repository.GitRemoteBackend, - NoneType] = None, git_clone_strategy: Union[models.repository.GitCloneStrategy, - NoneType] = None, deploy_key_id: Union[int, NoneType] = None, repository_credentials_id: - Union[int, NoneType] = None, github_installation_id: Union[int, NoneType] - = None, github_webhook_id: Union[int, NoneType] = None, github_webhook_secret: - Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, - NoneType] = None, git_provider: Union[models.git_provider.GitProvider, - NoneType] = None)' - RepositoryGitlab: - type: object - required: - - account_id - - gitlab_project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - repository_id: - oneOf: - - type: integer - - type: 'null' - gitlab_project_id: - type: integer - state: - type: integer - default: 1 - project_access_token_id: - oneOf: - - type: integer - - type: 'null' - project_access_token: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RepositoryGitlab(id: Union[int, NoneType], account_id: int, - repository_id: Union[int, NoneType], gitlab_project_id: int, state: int - = 1, project_access_token_id: Union[int, NoneType] = None, project_access_token: - Union[str, NoneType] = None, _project_access_token: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - GitProvider: - type: object - required: - - account_id - - provider_type - properties: - account_id: - type: integer - provider_type: - type: string - enum: - - azure_active_directory - - github - - gitlab - - git_url - - managed_github - - manual_config - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This class represents a git provider integration the\ - \ user\n has setup and will interact with via the dbt Cloud IDE.\n\ - \ " - GroupPermission: - type: object - required: - - account_id - - group_id - - all_projects - - permission_set - properties: - account_id: - type: integer - group_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - all_projects: - type: boolean - permission_set: - type: string - enum: - - owner - - member - - account_admin - - security_admin - - billing_admin - - admin - - database_admin - - git_admin - - team_admin - - job_admin - - job_viewer - - analyst - - developer - - stakeholder - - readonly - - project_creator - - account_viewer - - metadata_only - - semantic_layer_only - - webhooks_only - permission_level: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'GroupPermission(account_id: int, group_id: int, project_id: - Union[int, NoneType], all_projects: bool, permission_set: models.permissions.sets.PredefinedPermissionSet, - permission_level: Union[int, NoneType] = None, id: Union[int, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - JobDefinitionV2: - type: object - required: - - environment_id - - account_id - - project_id - - name - - generate_docs - - run_generate_sources - - state - properties: - environment_id: - type: integer - account_id: - type: integer - project_id: - type: integer - name: - type: string - generate_docs: - type: boolean - run_generate_sources: - type: boolean - state: - type: integer - dbt_version: - oneOf: - - type: string - - type: 'null' - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - deactivated: - type: boolean - default: false - run_failure_count: - type: integer - default: 0 - triggers: - oneOf: - - $ref: '#/definitions/JobDefinitionTriggers' - - type: 'null' - settings: - oneOf: - - $ref: '#/definitions/JobDefinitionSettings' - - type: 'null' - execution: - oneOf: - - $ref: '#/definitions/JobDefinitionExecution' - - type: 'null' - schedule: - oneOf: - - $ref: '#/definitions/JobDefinitionSchedule' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - execute_steps: - oneOf: - - type: array - items: - type: string - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - most_recent_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - most_recent_completed_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - job_type: - oneOf: - - type: string - enum: - - ci - - scheduled - - other - - type: 'null' - additionalProperties: false - description: 'JobDefinitionV2(environment_id: int, account_id: int, project_id: - int, name: str, generate_docs: bool, run_generate_sources: bool, state: - int, dbt_version: Union[str, NoneType], raw_dbt_version: Union[str, NoneType] - = None, id: Union[int, NoneType] = None, deactivated: bool = False, run_failure_count: - int = 0, triggers: Union[models.job_definition.JobDefinitionTriggers, - NoneType] = None, settings: Union[models.job_definition.JobDefinitionSettings, - NoneType] = None, execution: Union[models.job_definition.JobDefinitionExecution, - NoneType] = None, schedule: Union[models.job_definition.JobDefinitionSchedule, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, execute_steps: - Union[List[str], NoneType] = None, environment: ''Optional[models.environment.EnvironmentV3]'' - = None, most_recent_run: Union[models.run.Run, NoneType] = None, most_recent_completed_run: - Union[models.run.Run, NoneType] = None, custom_environment_variables: - Union[List[models.custom_environment_variable.CustomEnvironmentVariable], - NoneType] = None, job_type: Union[common.constants.JobType, NoneType] - = None)' - JobDefinitionTriggers: - type: object - required: - - github_webhook - - schedule - properties: - github_webhook: - type: boolean - schedule: - type: boolean - git_provider_webhook: - oneOf: - - type: boolean - - type: 'null' - custom_branch_only: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'JobDefinitionTriggers(github_webhook: bool, schedule: bool, - git_provider_webhook: Union[bool, NoneType] = None, custom_branch_only: - Union[bool, NoneType] = None)' - JobDefinitionSettings: - type: object - required: - - threads - - target_name - properties: - threads: - type: integer - target_name: - type: string - additionalProperties: false - description: 'JobDefinitionSettings(threads: int, target_name: str)' - JobDefinitionExecution: - type: object - required: - - timeout_seconds - properties: - timeout_seconds: - type: integer - additionalProperties: false - description: 'JobDefinitionExecution(timeout_seconds: int)' - JobDefinitionSchedule: - type: object - required: - - cron - - date - - time - properties: - cron: - type: string - date: - type: string - enum: - - every_day - - days_of_week - - custom_cron - time: - type: string - enum: - - every_hour - - at_exact_hours - additionalProperties: false - description: 'JobDefinitionSchedule(cron: str, date: models.job_definition.DateStrategy, - time: models.job_definition.TimeStrategy)' - EnvironmentV3: - type: object - required: - - account_id - - project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - credentials_id: - oneOf: - - type: integer - - type: 'null' - name: - type: string - default: New Environment - dbt_version: - type: string - default: 1.6.0-latest - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - type: - type: string - enum: - - development - - deployment - default: deployment - use_custom_branch: - type: boolean - default: false - custom_branch: - oneOf: - - type: string - - type: 'null' - supports_docs: - type: boolean - default: false - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - project: - oneOf: - - $ref: '#/definitions/Project' - - type: 'null' - jobs: - oneOf: - - type: array - items: - type: object - additionalProperties: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - - type: 'null' - credentials: - oneOf: - - $ref: '#/definitions/PostgresCredentials' - - $ref: '#/definitions/RedshiftCredentials' - - $ref: '#/definitions/SnowflakeCredentials' - - $ref: '#/definitions/BigqueryCredentials' - - $ref: '#/definitions/DbtAdapterCredentials' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - deployment_type: - oneOf: - - type: string - enum: - - production - - type: 'null' - additionalProperties: false - description: "\n An environment is a collection of settings within a\ - \ project that defines how dbt is run.\n Use it to define the version\ - \ controlled branch and warehouse connection that dbt will run on.\n \ - \ " - Project: - type: object - required: - - name - - account_id - properties: - name: - type: string - account_id: - type: integer - connection_id: - oneOf: - - type: integer - - type: 'null' - repository_id: - oneOf: - - type: integer - - type: 'null' - semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false - state: - type: integer - default: 1 - dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' - connection: - oneOf: - - $ref: '#/definitions/BaseConnectionV3' - - type: 'null' - repository: - oneOf: - - $ref: '#/definitions/RepositoryV3' - - type: 'null' - group_permissions: - oneOf: - - type: array - items: - $ref: '#/definitions/GroupPermission' - - type: 'null' - docs_job_id: - oneOf: - - type: integer - - type: 'null' - freshness_job_id: - oneOf: - - type: integer - - type: 'null' - docs_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - freshness_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: - int = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: - Union[models.connection.common.BaseConnectionV3, NoneType] = None, repository: - Union[models.repository.RepositoryV3, NoneType] = None, group_permissions: - Union[List[models.permissions.group_permission.GroupPermission], NoneType] - = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: Union[int, - NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - Run: - type: object - required: - - account_id - - environment_id - - project_id - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - trigger_id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - environment_id: - type: integer - project_id: - type: integer - job_definition_id: - type: integer - status: - type: integer - default: 1 - dbt_version: - type: string - default: 1.6.0-latest - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - status_message: - oneOf: - - type: string - - type: 'null' - owner_thread_id: - oneOf: - - type: string - - type: 'null' - executed_by_thread_id: - oneOf: - - type: string - - type: 'null' - deferring_run_id: - oneOf: - - type: integer - - type: 'null' - artifacts_saved: - type: boolean - default: false - artifact_s3_path: - oneOf: - - type: string - - type: 'null' - has_docs_generated: - type: boolean - default: false - has_sources_generated: - type: boolean - default: false - notifications_sent: - type: boolean - default: false - blocked_by: - type: array - items: - type: integer - default: [] - scribe_enabled: - type: boolean - default: false - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - dequeued_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_checked_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_heartbeat_at: - oneOf: - - type: string - format: date-time - - type: 'null' - should_start_at: - oneOf: - - type: string - format: date-time - - type: 'null' - trigger: - oneOf: - - $ref: '#/definitions/RunTrigger' - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - environment: - oneOf: - - type: object - - type: 'null' - run_steps: - oneOf: - - type: array - items: - $ref: '#/definitions/RunStep' - - type: 'null' - default: [] - status_humanized: - oneOf: - - type: string - - type: 'null' - in_progress: - oneOf: - - type: boolean - - type: 'null' - is_complete: - oneOf: - - type: boolean - - type: 'null' - is_success: - oneOf: - - type: boolean - - type: 'null' - is_error: - oneOf: - - type: boolean - - type: 'null' - is_cancelled: - oneOf: - - type: boolean - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - queued_duration: - oneOf: - - type: string - - type: 'null' - run_duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - queued_duration_humanized: - oneOf: - - type: string - - type: 'null' - run_duration_humanized: - oneOf: - - type: string - - type: 'null' - created_at_humanized: - oneOf: - - type: string - - type: 'null' - finished_at_humanized: - oneOf: - - type: string - - type: 'null' - job_id: - oneOf: - - type: integer - - type: 'null' - is_running: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: "\n Represents a run of a job definition.\n " - RunTrigger: - type: object - required: - - cause - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - cause: - type: string - job_definition_id: - type: integer - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - azure_pull_request_id: - oneOf: - - type: integer - - type: 'null' - github_pull_request_id: - oneOf: - - type: integer - - type: 'null' - gitlab_merge_request_id: - oneOf: - - type: integer - - type: 'null' - schema_override: - oneOf: - - type: string - - type: 'null' - dbt_version_override: - oneOf: - - type: string - - type: 'null' - threads_override: - oneOf: - - type: integer - - type: 'null' - target_name_override: - oneOf: - - type: string - - type: 'null' - generate_docs_override: - oneOf: - - type: boolean - - type: 'null' - timeout_seconds_override: - oneOf: - - type: integer - - type: 'null' - steps_override: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - cause_humanized: - oneOf: - - type: string - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - additionalProperties: false - description: 'RunTrigger(id: Union[int, NoneType], cause: str, job_definition_id: - int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] - = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: - Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None)' - RunStep: - type: object - required: - - run_id - - account_id - - index - - status - - name - properties: - id: - oneOf: - - type: integer - - type: 'null' - run_id: - type: integer - account_id: - type: integer - index: - type: integer - status: - type: integer - name: - type: string - logs: - oneOf: - - type: string - - type: 'null' - debug_logs: - oneOf: - - type: string - - type: 'null' - log_location: - oneOf: - - type: string - enum: - - legacy - - s3 - - db - - empty - - type: 'null' - default: db - log_path: - oneOf: - - type: string - - type: 'null' - debug_log_path: - oneOf: - - type: string - - type: 'null' - log_archive_type: - oneOf: - - type: string - - type: 'null' - default: db_flushed - truncated_debug_logs: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - status_color: - oneOf: - - type: string - - type: 'null' - status_humanized: - oneOf: - - type: string - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: - int, index: int, status: int, name: str, logs: Union[str, NoneType] = - None, debug_logs: Union[str, NoneType] = None, log_location: Union[models.run_step.RunStepLogLocation, - NoneType] = , log_path: Union[str, NoneType] - = None, debug_log_path: Union[str, NoneType] = None, log_archive_type: - Union[str, NoneType] = , truncated_debug_logs: - Union[str, NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, started_at: - Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, - NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: - Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' - PostgresCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - postgres - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'PostgresCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str = None, default_schema: str = - None, target_name: str = ''default'', password: Union[str, NoneType] = - None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - RedshiftCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - redshift - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RedshiftCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str, default_schema: str, target_name: - str = ''default'', password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - SnowflakeCredentials: - type: object - required: - - account_id - - type - - state - - threads - - auth_type - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - snowflake - state: - type: integer - threads: - type: integer - auth_type: - type: string - enum: - - password - - sso - - keypair - schema: - type: string - user: - oneOf: - - type: string - - type: 'null' - target_name: - type: string - default: default - role: - oneOf: - - type: string - - type: 'null' - database: - oneOf: - - type: string - - type: 'null' - warehouse: - oneOf: - - type: string - - type: 'null' - password: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - private_key_passphrase: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'SnowflakeCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, auth_type: models.credentials.snowflake.SnowflakeAuthenticationType, - schema: str, user: Union[str, NoneType] = None, target_name: str = ''default'', - role: Union[str, NoneType] = None, database: Union[str, NoneType] = None, - warehouse: Union[str, NoneType] = None, _refresh_token: Union[str, NoneType] - = None, password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, private_key: Union[str, NoneType] = None, _private_key: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - BigqueryCredentials: - type: object - required: - - account_id - - type - - state - - threads - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - bigquery - state: - type: integer - threads: - type: integer - schema: - type: string - target_name: - type: string - default: default - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - username: - oneOf: - - type: string - - type: 'null' - has_refresh_token: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'BigqueryCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, schema: str, target_name: str = ''default'', - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' - DbtAdapterCredentials: - type: object - required: - - account_id - - type - - state - - threads - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - adapter - state: - type: integer - threads: - type: integer - adapter_id: - oneOf: - - type: integer - - type: 'null' - credential_details: - oneOf: - - $ref: '#/definitions/BaseSparkAdapterCredentialsSchema' - - $ref: '#/definitions/DatabricksCredentialsSchema' - - $ref: '#/definitions/TrinoCredentialsSchema' - - type: 'null' - unencrypted_credential_details: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: 'null' - target_name: - type: string - default: default - adapter: - oneOf: - - $ref: '#/definitions/DbtAdapter' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, adapter_id: Union[int, NoneType], credential_details: - Union[schemas.adapters.base_spark.BaseSparkAdapterCredentialsSchema, schemas.adapters.databricks.credentials_schema.DatabricksCredentialsSchema, - schemas.adapters.trino.credentials_schema.TrinoCredentialsSchema, NoneType] - = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' - BaseSparkAdapterCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/BaseSparkAdapterCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'BaseSparkAdapterCredentialsSchema(fields: schemas.adapters.base_spark.BaseSparkAdapterCredentialFields - = BaseSparkAdapterCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - BaseSparkAdapterCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'BaseSparkAdapterCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DatabricksCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'DatabricksCredentialsSchema(fields: schemas.adapters.databricks.credentials_schema.DatabricksCredentialFields - = DatabricksCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - Union[List[str], NoneType] = None)' - DatabricksCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TrinoCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoCredentialFields' - default: - user: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'TrinoCredentialsSchema(fields: schemas.adapters.trino.credentials_schema.TrinoCredentialFields - = TrinoCredentialFields(user=TextField(metadata=TextFieldMetadata(label=''User'', - description=''The username of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password=TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - TrinoCredentialFields: - type: object - required: [] - properties: - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - $ref: '#/definitions/TextField' - default: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - $ref: '#/definitions/TextField' - default: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'TrinoCredentialFields(user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description=''The - username of the account to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DbtAdapter: - type: object - required: - - account_id - - project_id - - adapter_version - - metadata_json - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - adapter_version: - $ref: '#/components/schemas/AdapterVersionEnum' - metadata_json: - type: object - additionalProperties: - type: string - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - additionalProperties: false - description: 'DbtAdapter(id: Union[int, NoneType], account_id: int, project_id: - int, created_by_id: Union[int, NoneType], created_by_service_token_id: - Union[int, NoneType], adapter_version: schemas.adapter.DbtAdapterVersion, - metadata_json: Dict[str, str], state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' - CustomEnvironmentVariable: - type: object - required: - - account_id - - project_id - - name - - type - properties: - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - project - - environment - - job - - user - state: - oneOf: - - type: integer - - type: 'null' - default: 1 - user_id: - oneOf: - - type: integer - - type: 'null' - environment_id: - oneOf: - - type: integer - - type: 'null' - job_definition_id: - oneOf: - - type: integer - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - raw_value: - oneOf: - - type: string - - type: 'null' - display_value: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This model represents a user-defined environment variable,\ - \ which can be\n set on the account, job or user-level and leveraged\ - \ in both the IDE and\n scheduled Runs.\n " - $schema: http://json-schema.org/draft-07/schema# + required: + - account_id + - project_id + - state DbtAdapterEnveloped: type: object properties: data: - type: array - items: - $ref: '#/components/schemas/DbtAdapter' + $ref: '#/components/schemas/DbtAdapter' status: $ref: '#/components/schemas/Status' required: @@ -22433,3737 +3878,23 @@ components: - status DbtAdapterRequest: type: object - required: - - account_id - - project_id - - adapter_version - - metadata_json properties: id: - oneOf: - - type: integer - - type: 'null' + type: integer account_id: type: integer project_id: type: integer created_by_id: - oneOf: - - type: integer - - type: 'null' + type: integer created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - adapter_version: - $ref: '#/components/schemas/AdapterVersionEnum' - metadata_json: - type: object - additionalProperties: - type: string + type: integer state: type: integer - default: 1 - additionalProperties: false - description: 'DbtAdapter(id: Union[int, NoneType], account_id: int, project_id: - int, created_by_id: Union[int, NoneType], created_by_service_token_id: Union[int, - NoneType], adapter_version: schemas.adapter.DbtAdapterVersion, metadata_json: - Dict[str, str], state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - definitions: - BaseConnectionV3: - type: object - required: - - account_id - - project_id - - name - - type - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - postgres - - redshift - - snowflake - - bigquery - - adapter - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - details: - oneOf: - - oneOf: - - $ref: '#/definitions/PostgresConnectionV3' - - $ref: '#/definitions/SnowflakeConnectionV3' - - $ref: '#/definitions/BigqueryConnectionV3' - - $ref: '#/definitions/DbtAdapterConnection' - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - private_link_endpoint_id: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BaseConnectionV3(id: Union[int, NoneType], account_id: int, - project_id: int, name: str, type: models.connection.common.ConnectionType, - created_by_id: Union[int, NoneType] = None, created_by_service_token_id: - Union[int, NoneType] = None, details: Union[ForwardRef(''AnyConnection''), - NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None, - private_link_endpoint_id: Union[str, NoneType] = None)' - PostgresConnectionV3: - type: object - required: - - hostname - - dbname - - port - - tunnel_enabled - properties: - hostname: - type: string - dbname: - type: string - port: - type: integer - tunnel_enabled: - type: boolean - encryption: - oneOf: - - $ref: '#/definitions/ConnectionEncryption' - - type: 'null' - additionalProperties: false - description: 'PostgresConnectionV3(hostname: str, dbname: str, port: int, - tunnel_enabled: bool, encryption: Union[models.connection.encryption.ConnectionEncryption, - NoneType] = None)' - ConnectionEncryption: - type: object - required: - - account_id - - connection_id - - username - - port - - hostname - properties: - account_id: - type: integer - connection_id: - type: integer - username: - type: string - port: - type: integer - hostname: - type: string - public_key: - oneOf: - - type: string - - type: 'null' - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'ConnectionEncryption(account_id: int, connection_id: int, - username: str, port: int, hostname: str, public_key: Union[str, NoneType] - = None, state: int = 1, id: Union[int, NoneType] = None, private_key: - Union[str, NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None)' - SnowflakeConnectionV3: - type: object - required: - - account - - database - - warehouse - - allow_sso - - client_session_keep_alive - properties: - account: - type: string - database: - type: string - warehouse: - type: string - allow_sso: - type: boolean - client_session_keep_alive: - type: boolean - role: - oneOf: - - type: string - - type: 'null' - oauth_client_id: - oneOf: - - type: string - - type: 'null' - oauth_client_secret: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SnowflakeConnectionV3(account: str, database: str, warehouse: - str, allow_sso: bool, client_session_keep_alive: bool, role: Union[str, - NoneType] = None, oauth_client_id: Union[str, NoneType] = None, _oauth_client_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - oauth_client_secret: Union[str, NoneType] = None, _oauth_client_secret: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None)' - BigqueryConnectionV3: - type: object - required: - - project_id - - timeout_seconds - - private_key_id - - client_email - - client_id - - auth_uri - - token_uri - - auth_provider_x509_cert_url - - client_x509_cert_url - properties: - project_id: - type: string - timeout_seconds: - type: integer - private_key_id: - type: string - client_email: - type: string - client_id: - type: string - auth_uri: - type: string - token_uri: - type: string - auth_provider_x509_cert_url: - type: string - client_x509_cert_url: - type: string - priority: - oneOf: - - type: string - - type: 'null' - retries: - type: integer - default: 1 - scopes: - oneOf: - - type: array - items: - type: string - - type: 'null' - location: - oneOf: - - type: string - - type: 'null' - maximum_bytes_billed: - oneOf: - - type: integer - - type: 'null' - execution_project: - oneOf: - - type: string - - type: 'null' - impersonate_service_account: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - job_retry_deadline_seconds: - oneOf: - - type: integer - - type: 'null' - job_creation_timeout_seconds: - oneOf: - - type: integer - - type: 'null' - application_id: - oneOf: - - type: string - - type: 'null' - application_secret: - oneOf: - - type: string - - type: 'null' - is_configured_for_oauth: - type: boolean - default: false - gcs_bucket: - oneOf: - - type: string - - type: 'null' - dataproc_region: - oneOf: - - type: string - - type: 'null' - dataproc_cluster_name: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BigqueryConnectionV3(project_id: str, timeout_seconds: int, - private_key_id: str, client_email: str, client_id: str, auth_uri: str, - token_uri: str, auth_provider_x509_cert_url: str, client_x509_cert_url: - str, priority: Union[str, NoneType] = None, retries: int = 1, scopes: - Union[List[str], NoneType] = None, location: Union[str, NoneType] = None, - maximum_bytes_billed: Union[int, NoneType] = None, execution_project: - Union[str, NoneType] = None, impersonate_service_account: Union[str, NoneType] - = None, private_key: Union[str, NoneType] = None, job_retry_deadline_seconds: - Union[int, NoneType] = None, job_creation_timeout_seconds: Union[int, - NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, application_id: Union[str, NoneType] = None, application_secret: - Union[str, NoneType] = None, is_configured_for_oauth: bool = False, _application_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - _application_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, gcs_bucket: Union[str, NoneType] = None, dataproc_region: - Union[str, NoneType] = None, dataproc_cluster_name: Union[str, NoneType] - = None)' - DbtAdapterConnection: - type: object - required: - - connection_details - properties: - adapter_id: - oneOf: - - type: integer - - type: 'null' - connection_details: - oneOf: - - $ref: '#/definitions/ApacheSparkConnectionSchema' - - $ref: '#/definitions/DatabricksSparkConnectionSchema' - - $ref: '#/definitions/DatabricksConnectionSchema' - - $ref: '#/definitions/TrinoConnectionSchema' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterConnection(adapter_id: Union[int, NoneType], connection_details: - Union[schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionSchema, - schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionSchema, - schemas.adapters.databricks.connection_schema.DatabricksConnectionSchema, - schemas.adapters.trino.connection_schema.TrinoConnectionSchema], created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - ApacheSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/ApacheSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'ApacheSparkConnectionSchema(fields: schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionFields - = ApacheSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''HTTP'', value=''http''), - SelectOption(label=''Thrift'', value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''Port number of host.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description=''Organization id'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), auth=TextField(metadata=TextFieldMetadata(label=''Auth'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - ApacheSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - $ref: '#/definitions/TextField' - default: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'ApacheSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''HTTP'', value=''http''), SelectOption(label=''Thrift'', - value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''Port - number of host.'', field_type=''number'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization: Union[schemas.fields.TextField.TextField, NoneType] - = TextField(metadata=TextFieldMetadata(label=''Organization'', description=''Organization - id'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), auth: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Auth'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TextField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: string - additionalProperties: false - description: 'TextField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: str = None)' - TextFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: text - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'TextFieldMetadata(label: str, description: str, field_type: - str = ''text'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - validation: schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - GenericTextValidation: - type: object - required: [] - properties: - min_length: - oneOf: - - type: integer - - type: 'null' - max_length: - oneOf: - - type: integer - - type: 'null' - required: - oneOf: - - type: boolean - - type: 'null' - default: false - pattern: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'GenericTextValidation(min_length: Union[int, NoneType] = None, - max_length: Union[int, NoneType] = None, required: Union[bool, NoneType] - = False, pattern: Union[str, NoneType] = None)' - SelectField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/SelectFieldMetadata' - value: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SelectField(metadata: schemas.fields.SelectField.SelectFieldMetadata, - value: Union[str, NoneType] = None)' - SelectFieldMetadata: - type: object - required: - - label - - description - - options - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: select - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - options: - type: array - items: - $ref: '#/definitions/SelectOption' - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'SelectFieldMetadata(label: str, description: str, field_type: - str = ''select'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - options: List[schemas.fields.SelectField.SelectOption] = None, validation: - schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - SelectOption: - type: object - required: - - label - - value - properties: - label: - type: string - value: - oneOf: - - type: string - - type: integer - additionalProperties: false - description: 'SelectOption(label: str, value: Union[str, int])' - LegacyIntegerField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: integer - additionalProperties: false - description: 'LegacyIntegerField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: int = None)' - DatabricksSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect - to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if - using a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if - using Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksSparkConnectionSchema(fields: schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionFields - = DatabricksSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''ODBC'', value=''odbc'')], - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''odbc''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to Databricks for this connection.'', - field_type=''number'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericIntegerValidation(required=True)), value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint=TextField(metadata=TextFieldMetadata(label=''Endpoint'', - description=''The ID of the endpoint to connect to (required if using - Databricks SQL Analytics)'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', - description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - DatabricksSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if using - a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - $ref: '#/definitions/TextField' - default: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if using - Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - $ref: '#/definitions/TextField' - default: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''ODBC'', value=''odbc'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''odbc''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to Databricks for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Endpoint'', description=''The - ID of the endpoint to connect to (required if using Databricks SQL Analytics)'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), driver: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Driver'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization: Union[schemas.fields.TextField.TextField, NoneType] = TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''))' - DatabricksConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksConnectionSchema(fields: schemas.adapters.databricks.connection_schema.DatabricksConnectionFields - = DatabricksConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''databricks''), - host=TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path=TextField(metadata=TextFieldMetadata(label=''HTTP Path'', description=''The - HTTP path of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_http_path'')), value=''''), - catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value='''')), field_order: List[str] = - )' - DatabricksConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - $ref: '#/definitions/TextField' - default: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''databricks''), host: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''HTTP - Path'', description=''The HTTP path of the Databricks cluster or SQL warehouse.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_http_path'')), value=''''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value=''''))' - TrinoConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'TrinoConnectionSchema(fields: schemas.adapters.trino.connection_schema.TrinoConnectionFields - = TrinoConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''trino''), method=TextField(metadata=TextFieldMetadata(label=''Method'', - description=''The auth method to use.'', field_type=''hidden'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host=TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443)), field_order: List[str] = )' - TrinoConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - $ref: '#/definitions/TextField' - default: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - additionalProperties: false - description: 'TrinoConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''trino''), method: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Method'', description=''The - auth method to use.'', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443))' - RepositoryV3: - type: object - required: - - account_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - full_name: - oneOf: - - type: string - - type: 'null' - remote_url: - oneOf: - - type: string - pattern: ^\S+[/:](?P[^\s/]+?)(?:\.git)?$ - - type: 'null' - remote_backend: - oneOf: - - type: string - enum: - - azure_active_directory - - github - - managed - - gitlab - - manual_config - - type: 'null' - git_clone_strategy: - oneOf: - - type: string - enum: - - azure_active_directory_app - - deploy_key - - deploy_token - - github_app - - git_token - - type: 'null' - deploy_key_id: - oneOf: - - type: integer - - type: 'null' - repository_credentials_id: - oneOf: - - type: integer - - type: 'null' - github_installation_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_secret: - oneOf: - - type: string - - type: 'null' - pull_request_url_template: - oneOf: - - type: string - pattern: ^(http|https)://(.*) - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - deploy_key: - oneOf: - - type: object - - type: 'null' - github_repo: - oneOf: - - type: string - - type: 'null' - name: - oneOf: - - type: string - - type: 'null' - git_provider_id: - oneOf: - - type: integer - - type: 'null' - gitlab: - oneOf: - - $ref: '#/definitions/RepositoryGitlab' - - type: 'null' - git_provider: - oneOf: - - $ref: '#/definitions/GitProvider' - - type: 'null' - additionalProperties: false - description: 'RepositoryV3(id: Union[int, NoneType], account_id: int, project_id: - Union[int, NoneType] = None, full_name: Union[str, NoneType] = None, remote_url: - Union[RemoteUrl, NoneType] = None, remote_backend: Union[models.repository.GitRemoteBackend, - NoneType] = None, git_clone_strategy: Union[models.repository.GitCloneStrategy, - NoneType] = None, deploy_key_id: Union[int, NoneType] = None, repository_credentials_id: - Union[int, NoneType] = None, github_installation_id: Union[int, NoneType] - = None, github_webhook_id: Union[int, NoneType] = None, github_webhook_secret: - Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, - NoneType] = None, git_provider: Union[models.git_provider.GitProvider, - NoneType] = None)' - RepositoryGitlab: - type: object - required: - - account_id - - gitlab_project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - repository_id: - oneOf: - - type: integer - - type: 'null' - gitlab_project_id: - type: integer - state: - type: integer - default: 1 - project_access_token_id: - oneOf: - - type: integer - - type: 'null' - project_access_token: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RepositoryGitlab(id: Union[int, NoneType], account_id: int, - repository_id: Union[int, NoneType], gitlab_project_id: int, state: int - = 1, project_access_token_id: Union[int, NoneType] = None, project_access_token: - Union[str, NoneType] = None, _project_access_token: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - GitProvider: - type: object - required: - - account_id - - provider_type - properties: - account_id: - type: integer - provider_type: - type: string - enum: - - azure_active_directory - - github - - gitlab - - git_url - - managed_github - - manual_config - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This class represents a git provider integration the\ - \ user\n has setup and will interact with via the dbt Cloud IDE.\n\ - \ " - GroupPermission: - type: object - required: - - account_id - - group_id - - all_projects - - permission_set - properties: - account_id: - type: integer - group_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - all_projects: - type: boolean - permission_set: - type: string - enum: - - owner - - member - - account_admin - - security_admin - - billing_admin - - admin - - database_admin - - git_admin - - team_admin - - job_admin - - job_viewer - - analyst - - developer - - stakeholder - - readonly - - project_creator - - account_viewer - - metadata_only - - semantic_layer_only - - webhooks_only - permission_level: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'GroupPermission(account_id: int, group_id: int, project_id: - Union[int, NoneType], all_projects: bool, permission_set: models.permissions.sets.PredefinedPermissionSet, - permission_level: Union[int, NoneType] = None, id: Union[int, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - JobDefinitionV2: - type: object - required: - - environment_id - - account_id - - project_id - - name - - generate_docs - - run_generate_sources - - state - properties: - environment_id: - type: integer - account_id: - type: integer - project_id: - type: integer - name: - type: string - generate_docs: - type: boolean - run_generate_sources: - type: boolean - state: - type: integer - dbt_version: - oneOf: - - type: string - - type: 'null' - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - deactivated: - type: boolean - default: false - run_failure_count: - type: integer - default: 0 - triggers: - oneOf: - - $ref: '#/definitions/JobDefinitionTriggers' - - type: 'null' - settings: - oneOf: - - $ref: '#/definitions/JobDefinitionSettings' - - type: 'null' - execution: - oneOf: - - $ref: '#/definitions/JobDefinitionExecution' - - type: 'null' - schedule: - oneOf: - - $ref: '#/definitions/JobDefinitionSchedule' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - execute_steps: - oneOf: - - type: array - items: - type: string - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - most_recent_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - most_recent_completed_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - job_type: - oneOf: - - type: string - enum: - - ci - - scheduled - - other - - type: 'null' - additionalProperties: false - description: 'JobDefinitionV2(environment_id: int, account_id: int, project_id: - int, name: str, generate_docs: bool, run_generate_sources: bool, state: - int, dbt_version: Union[str, NoneType], raw_dbt_version: Union[str, NoneType] - = None, id: Union[int, NoneType] = None, deactivated: bool = False, run_failure_count: - int = 0, triggers: Union[models.job_definition.JobDefinitionTriggers, - NoneType] = None, settings: Union[models.job_definition.JobDefinitionSettings, - NoneType] = None, execution: Union[models.job_definition.JobDefinitionExecution, - NoneType] = None, schedule: Union[models.job_definition.JobDefinitionSchedule, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, execute_steps: - Union[List[str], NoneType] = None, environment: ''Optional[models.environment.EnvironmentV3]'' - = None, most_recent_run: Union[models.run.Run, NoneType] = None, most_recent_completed_run: - Union[models.run.Run, NoneType] = None, custom_environment_variables: - Union[List[models.custom_environment_variable.CustomEnvironmentVariable], - NoneType] = None, job_type: Union[common.constants.JobType, NoneType] - = None)' - JobDefinitionTriggers: - type: object - required: - - github_webhook - - schedule - properties: - github_webhook: - type: boolean - schedule: - type: boolean - git_provider_webhook: - oneOf: - - type: boolean - - type: 'null' - custom_branch_only: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'JobDefinitionTriggers(github_webhook: bool, schedule: bool, - git_provider_webhook: Union[bool, NoneType] = None, custom_branch_only: - Union[bool, NoneType] = None)' - JobDefinitionSettings: - type: object - required: - - threads - - target_name - properties: - threads: - type: integer - target_name: - type: string - additionalProperties: false - description: 'JobDefinitionSettings(threads: int, target_name: str)' - JobDefinitionExecution: - type: object - required: - - timeout_seconds - properties: - timeout_seconds: - type: integer - additionalProperties: false - description: 'JobDefinitionExecution(timeout_seconds: int)' - JobDefinitionSchedule: - type: object - required: - - cron - - date - - time - properties: - cron: - type: string - date: - type: string - enum: - - every_day - - days_of_week - - custom_cron - time: - type: string - enum: - - every_hour - - at_exact_hours - additionalProperties: false - description: 'JobDefinitionSchedule(cron: str, date: models.job_definition.DateStrategy, - time: models.job_definition.TimeStrategy)' - EnvironmentV3: - type: object - required: - - account_id - - project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - credentials_id: - oneOf: - - type: integer - - type: 'null' - name: - type: string - default: New Environment - dbt_version: - type: string - default: 1.6.0-latest - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - type: - type: string - enum: - - development - - deployment - default: deployment - use_custom_branch: - type: boolean - default: false - custom_branch: - oneOf: - - type: string - - type: 'null' - supports_docs: - type: boolean - default: false - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - project: - oneOf: - - $ref: '#/definitions/Project' - - type: 'null' - jobs: - oneOf: - - type: array - items: - type: object - additionalProperties: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - - type: 'null' - credentials: - oneOf: - - $ref: '#/definitions/PostgresCredentials' - - $ref: '#/definitions/RedshiftCredentials' - - $ref: '#/definitions/SnowflakeCredentials' - - $ref: '#/definitions/BigqueryCredentials' - - $ref: '#/definitions/DbtAdapterCredentials' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - deployment_type: - oneOf: - - type: string - enum: - - production - - type: 'null' - additionalProperties: false - description: "\n An environment is a collection of settings within a\ - \ project that defines how dbt is run.\n Use it to define the version\ - \ controlled branch and warehouse connection that dbt will run on.\n \ - \ " - Project: - type: object - required: - - name - - account_id - properties: - name: - type: string - account_id: - type: integer - connection_id: - oneOf: - - type: integer - - type: 'null' - repository_id: - oneOf: - - type: integer - - type: 'null' - semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false - state: - type: integer - default: 1 - dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' - connection: - oneOf: - - $ref: '#/definitions/BaseConnectionV3' - - type: 'null' - repository: - oneOf: - - $ref: '#/definitions/RepositoryV3' - - type: 'null' - group_permissions: - oneOf: - - type: array - items: - $ref: '#/definitions/GroupPermission' - - type: 'null' - docs_job_id: - oneOf: - - type: integer - - type: 'null' - freshness_job_id: - oneOf: - - type: integer - - type: 'null' - docs_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - freshness_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: - int = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: - Union[models.connection.common.BaseConnectionV3, NoneType] = None, repository: - Union[models.repository.RepositoryV3, NoneType] = None, group_permissions: - Union[List[models.permissions.group_permission.GroupPermission], NoneType] - = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: Union[int, - NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - Run: - type: object - required: - - account_id - - environment_id - - project_id - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - trigger_id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - environment_id: - type: integer - project_id: - type: integer - job_definition_id: - type: integer - status: - type: integer - default: 1 - dbt_version: - type: string - default: 1.6.0-latest - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - status_message: - oneOf: - - type: string - - type: 'null' - owner_thread_id: - oneOf: - - type: string - - type: 'null' - executed_by_thread_id: - oneOf: - - type: string - - type: 'null' - deferring_run_id: - oneOf: - - type: integer - - type: 'null' - artifacts_saved: - type: boolean - default: false - artifact_s3_path: - oneOf: - - type: string - - type: 'null' - has_docs_generated: - type: boolean - default: false - has_sources_generated: - type: boolean - default: false - notifications_sent: - type: boolean - default: false - blocked_by: - type: array - items: - type: integer - default: [] - scribe_enabled: - type: boolean - default: false - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - dequeued_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_checked_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_heartbeat_at: - oneOf: - - type: string - format: date-time - - type: 'null' - should_start_at: - oneOf: - - type: string - format: date-time - - type: 'null' - trigger: - oneOf: - - $ref: '#/definitions/RunTrigger' - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - environment: - oneOf: - - type: object - - type: 'null' - run_steps: - oneOf: - - type: array - items: - $ref: '#/definitions/RunStep' - - type: 'null' - default: [] - status_humanized: - oneOf: - - type: string - - type: 'null' - in_progress: - oneOf: - - type: boolean - - type: 'null' - is_complete: - oneOf: - - type: boolean - - type: 'null' - is_success: - oneOf: - - type: boolean - - type: 'null' - is_error: - oneOf: - - type: boolean - - type: 'null' - is_cancelled: - oneOf: - - type: boolean - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - queued_duration: - oneOf: - - type: string - - type: 'null' - run_duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - queued_duration_humanized: - oneOf: - - type: string - - type: 'null' - run_duration_humanized: - oneOf: - - type: string - - type: 'null' - created_at_humanized: - oneOf: - - type: string - - type: 'null' - finished_at_humanized: - oneOf: - - type: string - - type: 'null' - job_id: - oneOf: - - type: integer - - type: 'null' - is_running: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: "\n Represents a run of a job definition.\n " - RunTrigger: - type: object - required: - - cause - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - cause: - type: string - job_definition_id: - type: integer - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - azure_pull_request_id: - oneOf: - - type: integer - - type: 'null' - github_pull_request_id: - oneOf: - - type: integer - - type: 'null' - gitlab_merge_request_id: - oneOf: - - type: integer - - type: 'null' - schema_override: - oneOf: - - type: string - - type: 'null' - dbt_version_override: - oneOf: - - type: string - - type: 'null' - threads_override: - oneOf: - - type: integer - - type: 'null' - target_name_override: - oneOf: - - type: string - - type: 'null' - generate_docs_override: - oneOf: - - type: boolean - - type: 'null' - timeout_seconds_override: - oneOf: - - type: integer - - type: 'null' - steps_override: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - cause_humanized: - oneOf: - - type: string - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - additionalProperties: false - description: 'RunTrigger(id: Union[int, NoneType], cause: str, job_definition_id: - int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] - = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: - Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None)' - RunStep: - type: object - required: - - run_id - - account_id - - index - - status - - name - properties: - id: - oneOf: - - type: integer - - type: 'null' - run_id: - type: integer - account_id: - type: integer - index: - type: integer - status: - type: integer - name: - type: string - logs: - oneOf: - - type: string - - type: 'null' - debug_logs: - oneOf: - - type: string - - type: 'null' - log_location: - oneOf: - - type: string - enum: - - legacy - - s3 - - db - - empty - - type: 'null' - default: db - log_path: - oneOf: - - type: string - - type: 'null' - debug_log_path: - oneOf: - - type: string - - type: 'null' - log_archive_type: - oneOf: - - type: string - - type: 'null' - default: db_flushed - truncated_debug_logs: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - status_color: - oneOf: - - type: string - - type: 'null' - status_humanized: - oneOf: - - type: string - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: - int, index: int, status: int, name: str, logs: Union[str, NoneType] = - None, debug_logs: Union[str, NoneType] = None, log_location: Union[models.run_step.RunStepLogLocation, - NoneType] = , log_path: Union[str, NoneType] - = None, debug_log_path: Union[str, NoneType] = None, log_archive_type: - Union[str, NoneType] = , truncated_debug_logs: - Union[str, NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, started_at: - Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, - NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: - Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' - PostgresCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - postgres - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'PostgresCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str = None, default_schema: str = - None, target_name: str = ''default'', password: Union[str, NoneType] = - None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - RedshiftCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - redshift - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RedshiftCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str, default_schema: str, target_name: - str = ''default'', password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - SnowflakeCredentials: - type: object - required: - - account_id - - type - - state - - threads - - auth_type - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - snowflake - state: - type: integer - threads: - type: integer - auth_type: - type: string - enum: - - password - - sso - - keypair - schema: - type: string - user: - oneOf: - - type: string - - type: 'null' - target_name: - type: string - default: default - role: - oneOf: - - type: string - - type: 'null' - database: - oneOf: - - type: string - - type: 'null' - warehouse: - oneOf: - - type: string - - type: 'null' - password: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - private_key_passphrase: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'SnowflakeCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, auth_type: models.credentials.snowflake.SnowflakeAuthenticationType, - schema: str, user: Union[str, NoneType] = None, target_name: str = ''default'', - role: Union[str, NoneType] = None, database: Union[str, NoneType] = None, - warehouse: Union[str, NoneType] = None, _refresh_token: Union[str, NoneType] - = None, password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, private_key: Union[str, NoneType] = None, _private_key: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - BigqueryCredentials: - type: object - required: - - account_id - - type - - state - - threads - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - bigquery - state: - type: integer - threads: - type: integer - schema: - type: string - target_name: - type: string - default: default - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - username: - oneOf: - - type: string - - type: 'null' - has_refresh_token: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'BigqueryCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, schema: str, target_name: str = ''default'', - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' - DbtAdapterCredentials: - type: object - required: - - account_id - - type - - state - - threads - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - adapter - state: - type: integer - threads: - type: integer - adapter_id: - oneOf: - - type: integer - - type: 'null' - credential_details: - oneOf: - - $ref: '#/definitions/BaseSparkAdapterCredentialsSchema' - - $ref: '#/definitions/DatabricksCredentialsSchema' - - $ref: '#/definitions/TrinoCredentialsSchema' - - type: 'null' - unencrypted_credential_details: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: 'null' - target_name: - type: string - default: default - adapter: - oneOf: - - $ref: '#/definitions/DbtAdapter' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, adapter_id: Union[int, NoneType], credential_details: - Union[schemas.adapters.base_spark.BaseSparkAdapterCredentialsSchema, schemas.adapters.databricks.credentials_schema.DatabricksCredentialsSchema, - schemas.adapters.trino.credentials_schema.TrinoCredentialsSchema, NoneType] - = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' - BaseSparkAdapterCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/BaseSparkAdapterCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'BaseSparkAdapterCredentialsSchema(fields: schemas.adapters.base_spark.BaseSparkAdapterCredentialFields - = BaseSparkAdapterCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - BaseSparkAdapterCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'BaseSparkAdapterCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DatabricksCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'DatabricksCredentialsSchema(fields: schemas.adapters.databricks.credentials_schema.DatabricksCredentialFields - = DatabricksCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - Union[List[str], NoneType] = None)' - DatabricksCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TrinoCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoCredentialFields' - default: - user: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'TrinoCredentialsSchema(fields: schemas.adapters.trino.credentials_schema.TrinoCredentialFields - = TrinoCredentialFields(user=TextField(metadata=TextFieldMetadata(label=''User'', - description=''The username of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password=TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - TrinoCredentialFields: - type: object - required: [] - properties: - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - $ref: '#/definitions/TextField' - default: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - $ref: '#/definitions/TextField' - default: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'TrinoCredentialFields(user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description=''The - username of the account to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DbtAdapter: - type: object - required: - - account_id - - project_id - - adapter_version - - metadata_json - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - adapter_version: - $ref: '#/components/schemas/AdapterVersionEnum' - metadata_json: - type: object - additionalProperties: - type: string - state: - type: integer - default: 1 - additionalProperties: false - description: 'DbtAdapter(id: Union[int, NoneType], account_id: int, project_id: - int, created_by_id: Union[int, NoneType], created_by_service_token_id: - Union[int, NoneType], adapter_version: schemas.adapter.DbtAdapterVersion, - metadata_json: Dict[str, str], state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' - CustomEnvironmentVariable: - type: object - required: - - account_id - - project_id - - name - - type - properties: - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - project - - environment - - job - - user - state: - oneOf: - - type: integer - - type: 'null' - default: 1 - user_id: - oneOf: - - type: integer - - type: 'null' - environment_id: - oneOf: - - type: integer - - type: 'null' - job_definition_id: - oneOf: - - type: integer - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - raw_value: - oneOf: - - type: string - - type: 'null' - display_value: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This model represents a user-defined environment variable,\ - \ which can be\n set on the account, job or user-level and leveraged\ - \ in both the IDE and\n scheduled Runs.\n " - $schema: http://json-schema.org/draft-07/schema# + required: + - account_id + - project_id + - state Defaults: type: object properties: @@ -26177,7858 +3908,375 @@ components: - status EnvironmentV3: type: object + properties: + id: + type: integer + account_id: + type: integer + project_id: + type: integer + credentials_id: + type: integer + extended_attributes_id: + type: integer + name: + type: string + dbt_version: + type: string + raw_dbt_version: + type: string + custom_branch: + type: string + state: + type: integer + credentials: + $ref: '#/components/schemas/PostgresCredentials' + custom_environment_variables: + type: array + items: + $ref: '#/components/schemas/CustomEnvironmentVariable' required: - account_id + - dbt_version + - name - project_id + - state + EnvironmentV3Enveloped: + type: object + properties: + data: + $ref: '#/components/schemas/EnvironmentV3' + status: + $ref: '#/components/schemas/Status' + required: + - data + - status + EnvironmentV3Request: + type: object properties: id: - oneOf: - - type: integer - - type: 'null' + type: integer account_id: type: integer project_id: type: integer credentials_id: - oneOf: - - type: integer - - type: 'null' + type: integer + extended_attributes_id: + type: integer name: type: string - default: New Environment + minLength: 1 dbt_version: type: string - default: 1.6.0-latest + minLength: 1 raw_dbt_version: - oneOf: - - type: string - - type: 'null' - readOnly: true - type: - allOf: - - $ref: '#/components/schemas/EnvironmentV3TypeEnum' - default: deployment - use_custom_branch: - type: boolean - default: false + type: string + minLength: 1 custom_branch: - oneOf: - - type: string - - type: 'null' - supports_docs: - type: boolean - default: false + type: string + minLength: 1 state: type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - project: - oneOf: - - $ref: '#/definitions/Project' - - type: 'null' - readOnly: true - jobs: - oneOf: - - type: array - items: - type: object - additionalProperties: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - - type: 'null' - readOnly: true credentials: - oneOf: - - $ref: '#/definitions/PostgresCredentials' - - $ref: '#/definitions/RedshiftCredentials' - - $ref: '#/definitions/SnowflakeCredentials' - - $ref: '#/definitions/BigqueryCredentials' - - $ref: '#/definitions/DbtAdapterCredentials' - - type: 'null' - readOnly: true + $ref: '#/components/schemas/PostgresCredentialsRequest' custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - readOnly: true - deployment_type: - oneOf: - - type: string - enum: - - production - - type: 'null' - additionalProperties: false - description: "\n An environment is a collection of settings within a project\ - \ that defines how dbt is run.\n Use it to define the version controlled\ - \ branch and warehouse connection that dbt will run on.\n " - definitions: - BaseConnectionV3: - type: object - required: - - account_id - - project_id - - name - - type - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - postgres - - redshift - - snowflake - - bigquery - - adapter - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - details: - oneOf: - - oneOf: - - $ref: '#/definitions/PostgresConnectionV3' - - $ref: '#/definitions/SnowflakeConnectionV3' - - $ref: '#/definitions/BigqueryConnectionV3' - - $ref: '#/definitions/DbtAdapterConnection' - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - private_link_endpoint_id: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BaseConnectionV3(id: Union[int, NoneType], account_id: int, - project_id: int, name: str, type: models.connection.common.ConnectionType, - created_by_id: Union[int, NoneType] = None, created_by_service_token_id: - Union[int, NoneType] = None, details: Union[ForwardRef(''AnyConnection''), - NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None, - private_link_endpoint_id: Union[str, NoneType] = None)' - PostgresConnectionV3: - type: object - required: - - hostname - - dbname - - port - - tunnel_enabled - properties: - hostname: - type: string - dbname: - type: string - port: - type: integer - tunnel_enabled: - type: boolean - encryption: - oneOf: - - $ref: '#/definitions/ConnectionEncryption' - - type: 'null' - additionalProperties: false - description: 'PostgresConnectionV3(hostname: str, dbname: str, port: int, - tunnel_enabled: bool, encryption: Union[models.connection.encryption.ConnectionEncryption, - NoneType] = None)' - ConnectionEncryption: - type: object - required: - - account_id - - connection_id - - username - - port - - hostname - properties: - account_id: - type: integer - connection_id: - type: integer - username: - type: string - port: - type: integer - hostname: - type: string - public_key: - oneOf: - - type: string - - type: 'null' - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'ConnectionEncryption(account_id: int, connection_id: int, - username: str, port: int, hostname: str, public_key: Union[str, NoneType] - = None, state: int = 1, id: Union[int, NoneType] = None, private_key: - Union[str, NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None)' - SnowflakeConnectionV3: - type: object - required: - - account - - database - - warehouse - - allow_sso - - client_session_keep_alive - properties: - account: - type: string - database: - type: string - warehouse: - type: string - allow_sso: - type: boolean - client_session_keep_alive: - type: boolean - role: - oneOf: - - type: string - - type: 'null' - oauth_client_id: - oneOf: - - type: string - - type: 'null' - oauth_client_secret: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SnowflakeConnectionV3(account: str, database: str, warehouse: - str, allow_sso: bool, client_session_keep_alive: bool, role: Union[str, - NoneType] = None, oauth_client_id: Union[str, NoneType] = None, _oauth_client_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - oauth_client_secret: Union[str, NoneType] = None, _oauth_client_secret: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None)' - BigqueryConnectionV3: - type: object - required: - - project_id - - timeout_seconds - - private_key_id - - client_email - - client_id - - auth_uri - - token_uri - - auth_provider_x509_cert_url - - client_x509_cert_url - properties: - project_id: - type: string - timeout_seconds: - type: integer - private_key_id: - type: string - client_email: - type: string - client_id: - type: string - auth_uri: - type: string - token_uri: - type: string - auth_provider_x509_cert_url: - type: string - client_x509_cert_url: - type: string - priority: - oneOf: - - type: string - - type: 'null' - retries: - type: integer - default: 1 - scopes: - oneOf: - - type: array - items: - type: string - - type: 'null' - location: - oneOf: - - type: string - - type: 'null' - maximum_bytes_billed: - oneOf: - - type: integer - - type: 'null' - execution_project: - oneOf: - - type: string - - type: 'null' - impersonate_service_account: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - job_retry_deadline_seconds: - oneOf: - - type: integer - - type: 'null' - job_creation_timeout_seconds: - oneOf: - - type: integer - - type: 'null' - application_id: - oneOf: - - type: string - - type: 'null' - application_secret: - oneOf: - - type: string - - type: 'null' - is_configured_for_oauth: - type: boolean - default: false - gcs_bucket: - oneOf: - - type: string - - type: 'null' - dataproc_region: - oneOf: - - type: string - - type: 'null' - dataproc_cluster_name: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BigqueryConnectionV3(project_id: str, timeout_seconds: int, - private_key_id: str, client_email: str, client_id: str, auth_uri: str, - token_uri: str, auth_provider_x509_cert_url: str, client_x509_cert_url: - str, priority: Union[str, NoneType] = None, retries: int = 1, scopes: - Union[List[str], NoneType] = None, location: Union[str, NoneType] = None, - maximum_bytes_billed: Union[int, NoneType] = None, execution_project: - Union[str, NoneType] = None, impersonate_service_account: Union[str, NoneType] - = None, private_key: Union[str, NoneType] = None, job_retry_deadline_seconds: - Union[int, NoneType] = None, job_creation_timeout_seconds: Union[int, - NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, application_id: Union[str, NoneType] = None, application_secret: - Union[str, NoneType] = None, is_configured_for_oauth: bool = False, _application_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - _application_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, gcs_bucket: Union[str, NoneType] = None, dataproc_region: - Union[str, NoneType] = None, dataproc_cluster_name: Union[str, NoneType] - = None)' - DbtAdapterConnection: - type: object - required: - - connection_details - properties: - adapter_id: - oneOf: - - type: integer - - type: 'null' - connection_details: - oneOf: - - $ref: '#/definitions/ApacheSparkConnectionSchema' - - $ref: '#/definitions/DatabricksSparkConnectionSchema' - - $ref: '#/definitions/DatabricksConnectionSchema' - - $ref: '#/definitions/TrinoConnectionSchema' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterConnection(adapter_id: Union[int, NoneType], connection_details: - Union[schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionSchema, - schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionSchema, - schemas.adapters.databricks.connection_schema.DatabricksConnectionSchema, - schemas.adapters.trino.connection_schema.TrinoConnectionSchema], created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - ApacheSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/ApacheSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'ApacheSparkConnectionSchema(fields: schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionFields - = ApacheSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''HTTP'', value=''http''), - SelectOption(label=''Thrift'', value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''Port number of host.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description=''Organization id'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), auth=TextField(metadata=TextFieldMetadata(label=''Auth'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - ApacheSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - $ref: '#/definitions/TextField' - default: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'ApacheSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''HTTP'', value=''http''), SelectOption(label=''Thrift'', - value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''Port - number of host.'', field_type=''number'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization: Union[schemas.fields.TextField.TextField, NoneType] - = TextField(metadata=TextFieldMetadata(label=''Organization'', description=''Organization - id'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), auth: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Auth'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TextField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: string - additionalProperties: false - description: 'TextField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: str = None)' - TextFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: text - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'TextFieldMetadata(label: str, description: str, field_type: - str = ''text'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - validation: schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - GenericTextValidation: - type: object - required: [] - properties: - min_length: - oneOf: - - type: integer - - type: 'null' - max_length: - oneOf: - - type: integer - - type: 'null' - required: - oneOf: - - type: boolean - - type: 'null' - default: false - pattern: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'GenericTextValidation(min_length: Union[int, NoneType] = None, - max_length: Union[int, NoneType] = None, required: Union[bool, NoneType] - = False, pattern: Union[str, NoneType] = None)' - SelectField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/SelectFieldMetadata' - value: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SelectField(metadata: schemas.fields.SelectField.SelectFieldMetadata, - value: Union[str, NoneType] = None)' - SelectFieldMetadata: - type: object - required: - - label - - description - - options - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: select - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - options: - type: array - items: - $ref: '#/definitions/SelectOption' - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'SelectFieldMetadata(label: str, description: str, field_type: - str = ''select'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - options: List[schemas.fields.SelectField.SelectOption] = None, validation: - schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - SelectOption: - type: object - required: - - label - - value - properties: - label: - type: string - value: - oneOf: - - type: string - - type: integer - additionalProperties: false - description: 'SelectOption(label: str, value: Union[str, int])' - LegacyIntegerField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: integer - additionalProperties: false - description: 'LegacyIntegerField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: int = None)' - DatabricksSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect - to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if - using a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if - using Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksSparkConnectionSchema(fields: schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionFields - = DatabricksSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''ODBC'', value=''odbc'')], - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''odbc''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to Databricks for this connection.'', - field_type=''number'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericIntegerValidation(required=True)), value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint=TextField(metadata=TextFieldMetadata(label=''Endpoint'', - description=''The ID of the endpoint to connect to (required if using - Databricks SQL Analytics)'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', - description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - DatabricksSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if using - a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - $ref: '#/definitions/TextField' - default: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if using - Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - $ref: '#/definitions/TextField' - default: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''ODBC'', value=''odbc'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''odbc''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to Databricks for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Endpoint'', description=''The - ID of the endpoint to connect to (required if using Databricks SQL Analytics)'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), driver: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Driver'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization: Union[schemas.fields.TextField.TextField, NoneType] = TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''))' - DatabricksConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksConnectionSchema(fields: schemas.adapters.databricks.connection_schema.DatabricksConnectionFields - = DatabricksConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''databricks''), - host=TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path=TextField(metadata=TextFieldMetadata(label=''HTTP Path'', description=''The - HTTP path of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_http_path'')), value=''''), - catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value='''')), field_order: List[str] = - )' - DatabricksConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - $ref: '#/definitions/TextField' - default: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''databricks''), host: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''HTTP - Path'', description=''The HTTP path of the Databricks cluster or SQL warehouse.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_http_path'')), value=''''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value=''''))' - TrinoConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'TrinoConnectionSchema(fields: schemas.adapters.trino.connection_schema.TrinoConnectionFields - = TrinoConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''trino''), method=TextField(metadata=TextFieldMetadata(label=''Method'', - description=''The auth method to use.'', field_type=''hidden'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host=TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443)), field_order: List[str] = )' - TrinoConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - $ref: '#/definitions/TextField' - default: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - additionalProperties: false - description: 'TrinoConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''trino''), method: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Method'', description=''The - auth method to use.'', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443))' - RepositoryV3: - type: object - required: - - account_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - full_name: - oneOf: - - type: string - - type: 'null' - remote_url: - oneOf: - - type: string - pattern: ^\S+[/:](?P[^\s/]+?)(?:\.git)?$ - - type: 'null' - remote_backend: - oneOf: - - type: string - enum: - - azure_active_directory - - github - - managed - - gitlab - - manual_config - - type: 'null' - git_clone_strategy: - oneOf: - - type: string - enum: - - azure_active_directory_app - - deploy_key - - deploy_token - - github_app - - git_token - - type: 'null' - deploy_key_id: - oneOf: - - type: integer - - type: 'null' - repository_credentials_id: - oneOf: - - type: integer - - type: 'null' - github_installation_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_secret: - oneOf: - - type: string - - type: 'null' - pull_request_url_template: - oneOf: - - type: string - pattern: ^(http|https)://(.*) - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - deploy_key: - oneOf: - - type: object - - type: 'null' - github_repo: - oneOf: - - type: string - - type: 'null' - name: - oneOf: - - type: string - - type: 'null' - git_provider_id: - oneOf: - - type: integer - - type: 'null' - gitlab: - oneOf: - - $ref: '#/definitions/RepositoryGitlab' - - type: 'null' - git_provider: - oneOf: - - $ref: '#/definitions/GitProvider' - - type: 'null' - additionalProperties: false - description: 'RepositoryV3(id: Union[int, NoneType], account_id: int, project_id: - Union[int, NoneType] = None, full_name: Union[str, NoneType] = None, remote_url: - Union[RemoteUrl, NoneType] = None, remote_backend: Union[models.repository.GitRemoteBackend, - NoneType] = None, git_clone_strategy: Union[models.repository.GitCloneStrategy, - NoneType] = None, deploy_key_id: Union[int, NoneType] = None, repository_credentials_id: - Union[int, NoneType] = None, github_installation_id: Union[int, NoneType] - = None, github_webhook_id: Union[int, NoneType] = None, github_webhook_secret: - Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, - NoneType] = None, git_provider: Union[models.git_provider.GitProvider, - NoneType] = None)' - RepositoryGitlab: - type: object - required: - - account_id - - gitlab_project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - repository_id: - oneOf: - - type: integer - - type: 'null' - gitlab_project_id: - type: integer - state: - type: integer - default: 1 - project_access_token_id: - oneOf: - - type: integer - - type: 'null' - project_access_token: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RepositoryGitlab(id: Union[int, NoneType], account_id: int, - repository_id: Union[int, NoneType], gitlab_project_id: int, state: int - = 1, project_access_token_id: Union[int, NoneType] = None, project_access_token: - Union[str, NoneType] = None, _project_access_token: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - GitProvider: - type: object - required: - - account_id - - provider_type - properties: - account_id: - type: integer - provider_type: - type: string - enum: - - azure_active_directory - - github - - gitlab - - git_url - - managed_github - - manual_config - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This class represents a git provider integration the\ - \ user\n has setup and will interact with via the dbt Cloud IDE.\n\ - \ " - GroupPermission: - type: object - required: - - account_id - - group_id - - all_projects - - permission_set - properties: - account_id: - type: integer - group_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - all_projects: - type: boolean - permission_set: - type: string - enum: - - owner - - member - - account_admin - - security_admin - - billing_admin - - admin - - database_admin - - git_admin - - team_admin - - job_admin - - job_viewer - - analyst - - developer - - stakeholder - - readonly - - project_creator - - account_viewer - - metadata_only - - semantic_layer_only - - webhooks_only - permission_level: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'GroupPermission(account_id: int, group_id: int, project_id: - Union[int, NoneType], all_projects: bool, permission_set: models.permissions.sets.PredefinedPermissionSet, - permission_level: Union[int, NoneType] = None, id: Union[int, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - JobDefinitionV2: - type: object - required: - - environment_id - - account_id - - project_id - - name - - generate_docs - - run_generate_sources - - state - properties: - environment_id: - type: integer - account_id: - type: integer - project_id: - type: integer - name: - type: string - generate_docs: - type: boolean - run_generate_sources: - type: boolean - state: - type: integer - dbt_version: - oneOf: - - type: string - - type: 'null' - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - deactivated: - type: boolean - default: false - run_failure_count: - type: integer - default: 0 - triggers: - oneOf: - - $ref: '#/definitions/JobDefinitionTriggers' - - type: 'null' - settings: - oneOf: - - $ref: '#/definitions/JobDefinitionSettings' - - type: 'null' - execution: - oneOf: - - $ref: '#/definitions/JobDefinitionExecution' - - type: 'null' - schedule: - oneOf: - - $ref: '#/definitions/JobDefinitionSchedule' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - execute_steps: - oneOf: - - type: array - items: - type: string - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - most_recent_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - most_recent_completed_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - job_type: - oneOf: - - type: string - enum: - - ci - - scheduled - - other - - type: 'null' - additionalProperties: false - description: 'JobDefinitionV2(environment_id: int, account_id: int, project_id: - int, name: str, generate_docs: bool, run_generate_sources: bool, state: - int, dbt_version: Union[str, NoneType], raw_dbt_version: Union[str, NoneType] - = None, id: Union[int, NoneType] = None, deactivated: bool = False, run_failure_count: - int = 0, triggers: Union[models.job_definition.JobDefinitionTriggers, - NoneType] = None, settings: Union[models.job_definition.JobDefinitionSettings, - NoneType] = None, execution: Union[models.job_definition.JobDefinitionExecution, - NoneType] = None, schedule: Union[models.job_definition.JobDefinitionSchedule, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, execute_steps: - Union[List[str], NoneType] = None, environment: ''Optional[models.environment.EnvironmentV3]'' - = None, most_recent_run: Union[models.run.Run, NoneType] = None, most_recent_completed_run: - Union[models.run.Run, NoneType] = None, custom_environment_variables: - Union[List[models.custom_environment_variable.CustomEnvironmentVariable], - NoneType] = None, job_type: Union[common.constants.JobType, NoneType] - = None)' - JobDefinitionTriggers: - type: object - required: - - github_webhook - - schedule - properties: - github_webhook: - type: boolean - schedule: - type: boolean - git_provider_webhook: - oneOf: - - type: boolean - - type: 'null' - custom_branch_only: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'JobDefinitionTriggers(github_webhook: bool, schedule: bool, - git_provider_webhook: Union[bool, NoneType] = None, custom_branch_only: - Union[bool, NoneType] = None)' - JobDefinitionSettings: - type: object - required: - - threads - - target_name - properties: - threads: - type: integer - target_name: - type: string - additionalProperties: false - description: 'JobDefinitionSettings(threads: int, target_name: str)' - JobDefinitionExecution: - type: object - required: - - timeout_seconds - properties: - timeout_seconds: - type: integer - additionalProperties: false - description: 'JobDefinitionExecution(timeout_seconds: int)' - JobDefinitionSchedule: - type: object - required: - - cron - - date - - time - properties: - cron: - type: string - date: - type: string - enum: - - every_day - - days_of_week - - custom_cron - time: - type: string - enum: - - every_hour - - at_exact_hours - additionalProperties: false - description: 'JobDefinitionSchedule(cron: str, date: models.job_definition.DateStrategy, - time: models.job_definition.TimeStrategy)' - EnvironmentV3: - type: object - required: - - account_id - - project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - credentials_id: - oneOf: - - type: integer - - type: 'null' - name: - type: string - default: New Environment - dbt_version: - type: string - default: 1.6.0-latest - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - readOnly: true - type: - allOf: - - $ref: '#/components/schemas/EnvironmentV3TypeEnum' - default: deployment - use_custom_branch: - type: boolean - default: false - custom_branch: - oneOf: - - type: string - - type: 'null' - supports_docs: - type: boolean - default: false - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - project: - oneOf: - - $ref: '#/definitions/Project' - - type: 'null' - readOnly: true - jobs: - oneOf: - - type: array - items: - type: object - additionalProperties: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - - type: 'null' - readOnly: true - credentials: - oneOf: - - $ref: '#/definitions/PostgresCredentials' - - $ref: '#/definitions/RedshiftCredentials' - - $ref: '#/definitions/SnowflakeCredentials' - - $ref: '#/definitions/BigqueryCredentials' - - $ref: '#/definitions/DbtAdapterCredentials' - - type: 'null' - readOnly: true - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - readOnly: true - deployment_type: - oneOf: - - type: string - enum: - - production - - type: 'null' - additionalProperties: false - description: "\n An environment is a collection of settings within a\ - \ project that defines how dbt is run.\n Use it to define the version\ - \ controlled branch and warehouse connection that dbt will run on.\n \ - \ " - Project: - type: object - required: - - name - - account_id - properties: - name: - type: string - account_id: - type: integer - connection_id: - oneOf: - - type: integer - - type: 'null' - repository_id: - oneOf: - - type: integer - - type: 'null' - semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false - state: - type: integer - default: 1 - dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' - connection: - oneOf: - - $ref: '#/definitions/BaseConnectionV3' - - type: 'null' - repository: - oneOf: - - $ref: '#/definitions/RepositoryV3' - - type: 'null' - group_permissions: - oneOf: - - type: array - items: - $ref: '#/definitions/GroupPermission' - - type: 'null' - docs_job_id: - oneOf: - - type: integer - - type: 'null' - freshness_job_id: - oneOf: - - type: integer - - type: 'null' - docs_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - freshness_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: - int = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: - Union[models.connection.common.BaseConnectionV3, NoneType] = None, repository: - Union[models.repository.RepositoryV3, NoneType] = None, group_permissions: - Union[List[models.permissions.group_permission.GroupPermission], NoneType] - = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: Union[int, - NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - Run: - type: object - required: - - account_id - - environment_id - - project_id - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - trigger_id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - environment_id: - type: integer - project_id: - type: integer - job_definition_id: - type: integer - status: - type: integer - default: 1 - dbt_version: - type: string - default: 1.6.0-latest - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - status_message: - oneOf: - - type: string - - type: 'null' - owner_thread_id: - oneOf: - - type: string - - type: 'null' - executed_by_thread_id: - oneOf: - - type: string - - type: 'null' - deferring_run_id: - oneOf: - - type: integer - - type: 'null' - artifacts_saved: - type: boolean - default: false - artifact_s3_path: - oneOf: - - type: string - - type: 'null' - has_docs_generated: - type: boolean - default: false - has_sources_generated: - type: boolean - default: false - notifications_sent: - type: boolean - default: false - blocked_by: - type: array - items: - type: integer - default: [] - scribe_enabled: - type: boolean - default: false - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - dequeued_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_checked_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_heartbeat_at: - oneOf: - - type: string - format: date-time - - type: 'null' - should_start_at: - oneOf: - - type: string - format: date-time - - type: 'null' - trigger: - oneOf: - - $ref: '#/definitions/RunTrigger' - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - environment: - oneOf: - - type: object - - type: 'null' - run_steps: - oneOf: - - type: array - items: - $ref: '#/definitions/RunStep' - - type: 'null' - default: [] - status_humanized: - oneOf: - - type: string - - type: 'null' - in_progress: - oneOf: - - type: boolean - - type: 'null' - is_complete: - oneOf: - - type: boolean - - type: 'null' - is_success: - oneOf: - - type: boolean - - type: 'null' - is_error: - oneOf: - - type: boolean - - type: 'null' - is_cancelled: - oneOf: - - type: boolean - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - queued_duration: - oneOf: - - type: string - - type: 'null' - run_duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - queued_duration_humanized: - oneOf: - - type: string - - type: 'null' - run_duration_humanized: - oneOf: - - type: string - - type: 'null' - created_at_humanized: - oneOf: - - type: string - - type: 'null' - finished_at_humanized: - oneOf: - - type: string - - type: 'null' - job_id: - oneOf: - - type: integer - - type: 'null' - is_running: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: "\n Represents a run of a job definition.\n " - RunTrigger: - type: object - required: - - cause - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - cause: - type: string - job_definition_id: - type: integer - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - azure_pull_request_id: - oneOf: - - type: integer - - type: 'null' - github_pull_request_id: - oneOf: - - type: integer - - type: 'null' - gitlab_merge_request_id: - oneOf: - - type: integer - - type: 'null' - schema_override: - oneOf: - - type: string - - type: 'null' - dbt_version_override: - oneOf: - - type: string - - type: 'null' - threads_override: - oneOf: - - type: integer - - type: 'null' - target_name_override: - oneOf: - - type: string - - type: 'null' - generate_docs_override: - oneOf: - - type: boolean - - type: 'null' - timeout_seconds_override: - oneOf: - - type: integer - - type: 'null' - steps_override: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - cause_humanized: - oneOf: - - type: string - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - additionalProperties: false - description: 'RunTrigger(id: Union[int, NoneType], cause: str, job_definition_id: - int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] - = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: - Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None)' - RunStep: - type: object - required: - - run_id - - account_id - - index - - status - - name - properties: - id: - oneOf: - - type: integer - - type: 'null' - run_id: - type: integer - account_id: - type: integer - index: - type: integer - status: - type: integer - name: - type: string - logs: - oneOf: - - type: string - - type: 'null' - debug_logs: - oneOf: - - type: string - - type: 'null' - log_location: - oneOf: - - type: string - enum: - - legacy - - s3 - - db - - empty - - type: 'null' - default: db - log_path: - oneOf: - - type: string - - type: 'null' - debug_log_path: - oneOf: - - type: string - - type: 'null' - log_archive_type: - oneOf: - - type: string - - type: 'null' - default: db_flushed - truncated_debug_logs: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - status_color: - oneOf: - - type: string - - type: 'null' - status_humanized: - oneOf: - - type: string - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: - int, index: int, status: int, name: str, logs: Union[str, NoneType] = - None, debug_logs: Union[str, NoneType] = None, log_location: Union[models.run_step.RunStepLogLocation, - NoneType] = , log_path: Union[str, NoneType] - = None, debug_log_path: Union[str, NoneType] = None, log_archive_type: - Union[str, NoneType] = , truncated_debug_logs: - Union[str, NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, started_at: - Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, - NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: - Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' - PostgresCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - postgres - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'PostgresCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str = None, default_schema: str = - None, target_name: str = ''default'', password: Union[str, NoneType] = - None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - RedshiftCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - redshift - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RedshiftCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str, default_schema: str, target_name: - str = ''default'', password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - SnowflakeCredentials: - type: object - required: - - account_id - - type - - state - - threads - - auth_type - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - snowflake - state: - type: integer - threads: - type: integer - auth_type: - type: string - enum: - - password - - sso - - keypair - schema: - type: string - user: - oneOf: - - type: string - - type: 'null' - target_name: - type: string - default: default - role: - oneOf: - - type: string - - type: 'null' - database: - oneOf: - - type: string - - type: 'null' - warehouse: - oneOf: - - type: string - - type: 'null' - password: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - private_key_passphrase: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'SnowflakeCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, auth_type: models.credentials.snowflake.SnowflakeAuthenticationType, - schema: str, user: Union[str, NoneType] = None, target_name: str = ''default'', - role: Union[str, NoneType] = None, database: Union[str, NoneType] = None, - warehouse: Union[str, NoneType] = None, _refresh_token: Union[str, NoneType] - = None, password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, private_key: Union[str, NoneType] = None, _private_key: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - BigqueryCredentials: - type: object - required: - - account_id - - type - - state - - threads - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - bigquery - state: - type: integer - threads: - type: integer - schema: - type: string - target_name: - type: string - default: default - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - username: - oneOf: - - type: string - - type: 'null' - has_refresh_token: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'BigqueryCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, schema: str, target_name: str = ''default'', - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' - DbtAdapterCredentials: - type: object - required: - - account_id - - type - - state - - threads - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - adapter - state: - type: integer - threads: - type: integer - adapter_id: - oneOf: - - type: integer - - type: 'null' - credential_details: - oneOf: - - $ref: '#/definitions/BaseSparkAdapterCredentialsSchema' - - $ref: '#/definitions/DatabricksCredentialsSchema' - - $ref: '#/definitions/TrinoCredentialsSchema' - - type: 'null' - unencrypted_credential_details: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: 'null' - target_name: - type: string - default: default - adapter: - oneOf: - - $ref: '#/definitions/DbtAdapter' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, adapter_id: Union[int, NoneType], credential_details: - Union[schemas.adapters.base_spark.BaseSparkAdapterCredentialsSchema, schemas.adapters.databricks.credentials_schema.DatabricksCredentialsSchema, - schemas.adapters.trino.credentials_schema.TrinoCredentialsSchema, NoneType] - = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' - BaseSparkAdapterCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/BaseSparkAdapterCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'BaseSparkAdapterCredentialsSchema(fields: schemas.adapters.base_spark.BaseSparkAdapterCredentialFields - = BaseSparkAdapterCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - BaseSparkAdapterCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'BaseSparkAdapterCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DatabricksCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'DatabricksCredentialsSchema(fields: schemas.adapters.databricks.credentials_schema.DatabricksCredentialFields - = DatabricksCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - Union[List[str], NoneType] = None)' - DatabricksCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TrinoCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoCredentialFields' - default: - user: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'TrinoCredentialsSchema(fields: schemas.adapters.trino.credentials_schema.TrinoCredentialFields - = TrinoCredentialFields(user=TextField(metadata=TextFieldMetadata(label=''User'', - description=''The username of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password=TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - TrinoCredentialFields: - type: object - required: [] - properties: - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - $ref: '#/definitions/TextField' - default: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - $ref: '#/definitions/TextField' - default: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'TrinoCredentialFields(user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description=''The - username of the account to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DbtAdapter: - type: object - required: - - account_id - - project_id - - adapter_version - - metadata_json - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - adapter_version: - type: string - enum: - - apache_spark_v0 - - databricks_spark_v0 - - databricks_v0 - - trino_v0 - - snowflake_v0 - - bigquery_v0 - - postgres_v0 - - redshift_v0 - metadata_json: - type: object - additionalProperties: - type: string - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapter(id: Union[int, NoneType], account_id: int, project_id: - int, created_by_id: Union[int, NoneType], created_by_service_token_id: - Union[int, NoneType], adapter_version: schemas.adapter.DbtAdapterVersion, - metadata_json: Dict[str, str], state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' - CustomEnvironmentVariable: - type: object - required: - - account_id - - project_id - - name - - type - properties: - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - project - - environment - - job - - user - state: - oneOf: - - type: integer - - type: 'null' - default: 1 - user_id: - oneOf: - - type: integer - - type: 'null' - environment_id: - oneOf: - - type: integer - - type: 'null' - job_definition_id: - oneOf: - - type: integer - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - raw_value: - oneOf: - - type: string - - type: 'null' - display_value: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This model represents a user-defined environment variable,\ - \ which can be\n set on the account, job or user-level and leveraged\ - \ in both the IDE and\n scheduled Runs.\n " - $schema: http://json-schema.org/draft-07/schema# - EnvironmentV3Enveloped: - type: object - properties: - data: type: array items: - $ref: '#/components/schemas/EnvironmentV3' - status: - $ref: '#/components/schemas/Status' - required: - - data - - status - EnvironmentV3Request: - type: object + $ref: '#/components/schemas/CustomEnvironmentVariableRequest' required: - account_id + - dbt_version + - name - project_id + - state + GitProvider: + type: object properties: - id: - oneOf: - - type: integer - - type: 'null' account_id: type: integer - project_id: - type: integer - credentials_id: - oneOf: - - type: integer - - type: 'null' - name: - type: string - default: New Environment - dbt_version: - type: string - default: 1.6.0-latest - type: - allOf: - - $ref: '#/components/schemas/EnvironmentV3TypeEnum' - default: deployment - use_custom_branch: - type: boolean - default: false - custom_branch: - oneOf: - - type: string - - type: 'null' - supports_docs: - type: boolean - default: false state: type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - deployment_type: - oneOf: - - type: string - enum: - - production - - type: 'null' - additionalProperties: false - description: "\n An environment is a collection of settings within a project\ - \ that defines how dbt is run.\n Use it to define the version controlled\ - \ branch and warehouse connection that dbt will run on.\n " - definitions: - BaseConnectionV3: - type: object - required: - - account_id - - project_id - - name - - type - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - postgres - - redshift - - snowflake - - bigquery - - adapter - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - details: - oneOf: - - oneOf: - - $ref: '#/definitions/PostgresConnectionV3' - - $ref: '#/definitions/SnowflakeConnectionV3' - - $ref: '#/definitions/BigqueryConnectionV3' - - $ref: '#/definitions/DbtAdapterConnection' - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - private_link_endpoint_id: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BaseConnectionV3(id: Union[int, NoneType], account_id: int, - project_id: int, name: str, type: models.connection.common.ConnectionType, - created_by_id: Union[int, NoneType] = None, created_by_service_token_id: - Union[int, NoneType] = None, details: Union[ForwardRef(''AnyConnection''), - NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None, - private_link_endpoint_id: Union[str, NoneType] = None)' - PostgresConnectionV3: - type: object - required: - - hostname - - dbname - - port - - tunnel_enabled - properties: - hostname: - type: string - dbname: - type: string - port: - type: integer - tunnel_enabled: - type: boolean - encryption: - oneOf: - - $ref: '#/definitions/ConnectionEncryption' - - type: 'null' - additionalProperties: false - description: 'PostgresConnectionV3(hostname: str, dbname: str, port: int, - tunnel_enabled: bool, encryption: Union[models.connection.encryption.ConnectionEncryption, - NoneType] = None)' - ConnectionEncryption: - type: object - required: - - account_id - - connection_id - - username - - port - - hostname - properties: - account_id: - type: integer - connection_id: - type: integer - username: - type: string - port: - type: integer - hostname: - type: string - public_key: - oneOf: - - type: string - - type: 'null' - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'ConnectionEncryption(account_id: int, connection_id: int, - username: str, port: int, hostname: str, public_key: Union[str, NoneType] - = None, state: int = 1, id: Union[int, NoneType] = None, private_key: - Union[str, NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None)' - SnowflakeConnectionV3: - type: object - required: - - account - - database - - warehouse - - allow_sso - - client_session_keep_alive - properties: - account: - type: string - database: - type: string - warehouse: - type: string - allow_sso: - type: boolean - client_session_keep_alive: - type: boolean - role: - oneOf: - - type: string - - type: 'null' - oauth_client_id: - oneOf: - - type: string - - type: 'null' - oauth_client_secret: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SnowflakeConnectionV3(account: str, database: str, warehouse: - str, allow_sso: bool, client_session_keep_alive: bool, role: Union[str, - NoneType] = None, oauth_client_id: Union[str, NoneType] = None, _oauth_client_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - oauth_client_secret: Union[str, NoneType] = None, _oauth_client_secret: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None)' - BigqueryConnectionV3: - type: object - required: - - project_id - - timeout_seconds - - private_key_id - - client_email - - client_id - - auth_uri - - token_uri - - auth_provider_x509_cert_url - - client_x509_cert_url - properties: - project_id: - type: string - timeout_seconds: - type: integer - private_key_id: - type: string - client_email: - type: string - client_id: - type: string - auth_uri: - type: string - token_uri: - type: string - auth_provider_x509_cert_url: - type: string - client_x509_cert_url: - type: string - priority: - oneOf: - - type: string - - type: 'null' - retries: - type: integer - default: 1 - scopes: - oneOf: - - type: array - items: - type: string - - type: 'null' - location: - oneOf: - - type: string - - type: 'null' - maximum_bytes_billed: - oneOf: - - type: integer - - type: 'null' - execution_project: - oneOf: - - type: string - - type: 'null' - impersonate_service_account: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - job_retry_deadline_seconds: - oneOf: - - type: integer - - type: 'null' - job_creation_timeout_seconds: - oneOf: - - type: integer - - type: 'null' - application_id: - oneOf: - - type: string - - type: 'null' - application_secret: - oneOf: - - type: string - - type: 'null' - is_configured_for_oauth: - type: boolean - default: false - gcs_bucket: - oneOf: - - type: string - - type: 'null' - dataproc_region: - oneOf: - - type: string - - type: 'null' - dataproc_cluster_name: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BigqueryConnectionV3(project_id: str, timeout_seconds: int, - private_key_id: str, client_email: str, client_id: str, auth_uri: str, - token_uri: str, auth_provider_x509_cert_url: str, client_x509_cert_url: - str, priority: Union[str, NoneType] = None, retries: int = 1, scopes: - Union[List[str], NoneType] = None, location: Union[str, NoneType] = None, - maximum_bytes_billed: Union[int, NoneType] = None, execution_project: - Union[str, NoneType] = None, impersonate_service_account: Union[str, NoneType] - = None, private_key: Union[str, NoneType] = None, job_retry_deadline_seconds: - Union[int, NoneType] = None, job_creation_timeout_seconds: Union[int, - NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, application_id: Union[str, NoneType] = None, application_secret: - Union[str, NoneType] = None, is_configured_for_oauth: bool = False, _application_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - _application_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, gcs_bucket: Union[str, NoneType] = None, dataproc_region: - Union[str, NoneType] = None, dataproc_cluster_name: Union[str, NoneType] - = None)' - DbtAdapterConnection: - type: object - required: - - connection_details - properties: - adapter_id: - oneOf: - - type: integer - - type: 'null' - connection_details: - oneOf: - - $ref: '#/definitions/ApacheSparkConnectionSchema' - - $ref: '#/definitions/DatabricksSparkConnectionSchema' - - $ref: '#/definitions/DatabricksConnectionSchema' - - $ref: '#/definitions/TrinoConnectionSchema' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterConnection(adapter_id: Union[int, NoneType], connection_details: - Union[schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionSchema, - schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionSchema, - schemas.adapters.databricks.connection_schema.DatabricksConnectionSchema, - schemas.adapters.trino.connection_schema.TrinoConnectionSchema], created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - ApacheSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/ApacheSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'ApacheSparkConnectionSchema(fields: schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionFields - = ApacheSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''HTTP'', value=''http''), - SelectOption(label=''Thrift'', value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''Port number of host.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description=''Organization id'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), auth=TextField(metadata=TextFieldMetadata(label=''Auth'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - ApacheSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - $ref: '#/definitions/TextField' - default: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'ApacheSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''HTTP'', value=''http''), SelectOption(label=''Thrift'', - value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''Port - number of host.'', field_type=''number'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization: Union[schemas.fields.TextField.TextField, NoneType] - = TextField(metadata=TextFieldMetadata(label=''Organization'', description=''Organization - id'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), auth: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Auth'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TextField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: string - additionalProperties: false - description: 'TextField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: str = None)' - TextFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: text - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'TextFieldMetadata(label: str, description: str, field_type: - str = ''text'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - validation: schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - GenericTextValidation: - type: object - required: [] - properties: - min_length: - oneOf: - - type: integer - - type: 'null' - max_length: - oneOf: - - type: integer - - type: 'null' - required: - oneOf: - - type: boolean - - type: 'null' - default: false - pattern: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'GenericTextValidation(min_length: Union[int, NoneType] = None, - max_length: Union[int, NoneType] = None, required: Union[bool, NoneType] - = False, pattern: Union[str, NoneType] = None)' - SelectField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/SelectFieldMetadata' - value: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SelectField(metadata: schemas.fields.SelectField.SelectFieldMetadata, - value: Union[str, NoneType] = None)' - SelectFieldMetadata: - type: object - required: - - label - - description - - options - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: select - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - options: - type: array - items: - $ref: '#/definitions/SelectOption' - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'SelectFieldMetadata(label: str, description: str, field_type: - str = ''select'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - options: List[schemas.fields.SelectField.SelectOption] = None, validation: - schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - SelectOption: - type: object - required: - - label - - value - properties: - label: - type: string - value: - oneOf: - - type: string - - type: integer - additionalProperties: false - description: 'SelectOption(label: str, value: Union[str, int])' - LegacyIntegerField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: integer - additionalProperties: false - description: 'LegacyIntegerField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: int = None)' - DatabricksSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect - to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if - using a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if - using Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksSparkConnectionSchema(fields: schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionFields - = DatabricksSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''ODBC'', value=''odbc'')], - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''odbc''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to Databricks for this connection.'', - field_type=''number'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericIntegerValidation(required=True)), value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint=TextField(metadata=TextFieldMetadata(label=''Endpoint'', - description=''The ID of the endpoint to connect to (required if using - Databricks SQL Analytics)'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', - description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - DatabricksSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if using - a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - $ref: '#/definitions/TextField' - default: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if using - Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - $ref: '#/definitions/TextField' - default: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''ODBC'', value=''odbc'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''odbc''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to Databricks for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Endpoint'', description=''The - ID of the endpoint to connect to (required if using Databricks SQL Analytics)'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), driver: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Driver'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization: Union[schemas.fields.TextField.TextField, NoneType] = TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''))' - DatabricksConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksConnectionSchema(fields: schemas.adapters.databricks.connection_schema.DatabricksConnectionFields - = DatabricksConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''databricks''), - host=TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path=TextField(metadata=TextFieldMetadata(label=''HTTP Path'', description=''The - HTTP path of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_http_path'')), value=''''), - catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value='''')), field_order: List[str] = - )' - DatabricksConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - $ref: '#/definitions/TextField' - default: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''databricks''), host: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''HTTP - Path'', description=''The HTTP path of the Databricks cluster or SQL warehouse.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_http_path'')), value=''''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value=''''))' - TrinoConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'TrinoConnectionSchema(fields: schemas.adapters.trino.connection_schema.TrinoConnectionFields - = TrinoConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''trino''), method=TextField(metadata=TextFieldMetadata(label=''Method'', - description=''The auth method to use.'', field_type=''hidden'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host=TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443)), field_order: List[str] = )' - TrinoConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - $ref: '#/definitions/TextField' - default: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - additionalProperties: false - description: 'TrinoConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''trino''), method: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Method'', description=''The - auth method to use.'', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443))' - RepositoryV3: - type: object - required: - - account_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - full_name: - oneOf: - - type: string - - type: 'null' - remote_url: - oneOf: - - type: string - pattern: ^\S+[/:](?P[^\s/]+?)(?:\.git)?$ - - type: 'null' - remote_backend: - oneOf: - - type: string - enum: - - azure_active_directory - - github - - managed - - gitlab - - manual_config - - type: 'null' - git_clone_strategy: - oneOf: - - type: string - enum: - - azure_active_directory_app - - deploy_key - - deploy_token - - github_app - - git_token - - type: 'null' - deploy_key_id: - oneOf: - - type: integer - - type: 'null' - repository_credentials_id: - oneOf: - - type: integer - - type: 'null' - github_installation_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_secret: - oneOf: - - type: string - - type: 'null' - pull_request_url_template: - oneOf: - - type: string - pattern: ^(http|https)://(.*) - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - deploy_key: - oneOf: - - type: object - - type: 'null' - github_repo: - oneOf: - - type: string - - type: 'null' - name: - oneOf: - - type: string - - type: 'null' - git_provider_id: - oneOf: - - type: integer - - type: 'null' - gitlab: - oneOf: - - $ref: '#/definitions/RepositoryGitlab' - - type: 'null' - git_provider: - oneOf: - - $ref: '#/definitions/GitProvider' - - type: 'null' - additionalProperties: false - description: 'RepositoryV3(id: Union[int, NoneType], account_id: int, project_id: - Union[int, NoneType] = None, full_name: Union[str, NoneType] = None, remote_url: - Union[RemoteUrl, NoneType] = None, remote_backend: Union[models.repository.GitRemoteBackend, - NoneType] = None, git_clone_strategy: Union[models.repository.GitCloneStrategy, - NoneType] = None, deploy_key_id: Union[int, NoneType] = None, repository_credentials_id: - Union[int, NoneType] = None, github_installation_id: Union[int, NoneType] - = None, github_webhook_id: Union[int, NoneType] = None, github_webhook_secret: - Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, - NoneType] = None, git_provider: Union[models.git_provider.GitProvider, - NoneType] = None)' - RepositoryGitlab: - type: object - required: - - account_id - - gitlab_project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - repository_id: - oneOf: - - type: integer - - type: 'null' - gitlab_project_id: - type: integer - state: - type: integer - default: 1 - project_access_token_id: - oneOf: - - type: integer - - type: 'null' - project_access_token: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RepositoryGitlab(id: Union[int, NoneType], account_id: int, - repository_id: Union[int, NoneType], gitlab_project_id: int, state: int - = 1, project_access_token_id: Union[int, NoneType] = None, project_access_token: - Union[str, NoneType] = None, _project_access_token: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - GitProvider: - type: object - required: - - account_id - - provider_type - properties: - account_id: - type: integer - provider_type: - type: string - enum: - - azure_active_directory - - github - - gitlab - - git_url - - managed_github - - manual_config - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This class represents a git provider integration the\ - \ user\n has setup and will interact with via the dbt Cloud IDE.\n\ - \ " - GroupPermission: - type: object - required: - - account_id - - group_id - - all_projects - - permission_set - properties: - account_id: - type: integer - group_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - all_projects: - type: boolean - permission_set: - type: string - enum: - - owner - - member - - account_admin - - security_admin - - billing_admin - - admin - - database_admin - - git_admin - - team_admin - - job_admin - - job_viewer - - analyst - - developer - - stakeholder - - readonly - - project_creator - - account_viewer - - metadata_only - - semantic_layer_only - - webhooks_only - permission_level: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'GroupPermission(account_id: int, group_id: int, project_id: - Union[int, NoneType], all_projects: bool, permission_set: models.permissions.sets.PredefinedPermissionSet, - permission_level: Union[int, NoneType] = None, id: Union[int, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - JobDefinitionV2: - type: object - required: - - environment_id - - account_id - - project_id - - name - - generate_docs - - run_generate_sources - - state - properties: - environment_id: - type: integer - account_id: - type: integer - project_id: - type: integer - name: - type: string - generate_docs: - type: boolean - run_generate_sources: - type: boolean - state: - type: integer - dbt_version: - oneOf: - - type: string - - type: 'null' - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - deactivated: - type: boolean - default: false - run_failure_count: - type: integer - default: 0 - triggers: - oneOf: - - $ref: '#/definitions/JobDefinitionTriggers' - - type: 'null' - settings: - oneOf: - - $ref: '#/definitions/JobDefinitionSettings' - - type: 'null' - execution: - oneOf: - - $ref: '#/definitions/JobDefinitionExecution' - - type: 'null' - schedule: - oneOf: - - $ref: '#/definitions/JobDefinitionSchedule' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - execute_steps: - oneOf: - - type: array - items: - type: string - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - most_recent_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - most_recent_completed_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - job_type: - oneOf: - - type: string - enum: - - ci - - scheduled - - other - - type: 'null' - additionalProperties: false - description: 'JobDefinitionV2(environment_id: int, account_id: int, project_id: - int, name: str, generate_docs: bool, run_generate_sources: bool, state: - int, dbt_version: Union[str, NoneType], raw_dbt_version: Union[str, NoneType] - = None, id: Union[int, NoneType] = None, deactivated: bool = False, run_failure_count: - int = 0, triggers: Union[models.job_definition.JobDefinitionTriggers, - NoneType] = None, settings: Union[models.job_definition.JobDefinitionSettings, - NoneType] = None, execution: Union[models.job_definition.JobDefinitionExecution, - NoneType] = None, schedule: Union[models.job_definition.JobDefinitionSchedule, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, execute_steps: - Union[List[str], NoneType] = None, environment: ''Optional[models.environment.EnvironmentV3]'' - = None, most_recent_run: Union[models.run.Run, NoneType] = None, most_recent_completed_run: - Union[models.run.Run, NoneType] = None, custom_environment_variables: - Union[List[models.custom_environment_variable.CustomEnvironmentVariable], - NoneType] = None, job_type: Union[common.constants.JobType, NoneType] - = None)' - JobDefinitionTriggers: - type: object - required: - - github_webhook - - schedule - properties: - github_webhook: - type: boolean - schedule: - type: boolean - git_provider_webhook: - oneOf: - - type: boolean - - type: 'null' - custom_branch_only: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'JobDefinitionTriggers(github_webhook: bool, schedule: bool, - git_provider_webhook: Union[bool, NoneType] = None, custom_branch_only: - Union[bool, NoneType] = None)' - JobDefinitionSettings: - type: object - required: - - threads - - target_name - properties: - threads: - type: integer - target_name: - type: string - additionalProperties: false - description: 'JobDefinitionSettings(threads: int, target_name: str)' - JobDefinitionExecution: - type: object - required: - - timeout_seconds - properties: - timeout_seconds: - type: integer - additionalProperties: false - description: 'JobDefinitionExecution(timeout_seconds: int)' - JobDefinitionSchedule: - type: object - required: - - cron - - date - - time - properties: - cron: - type: string - date: - type: string - enum: - - every_day - - days_of_week - - custom_cron - time: - type: string - enum: - - every_hour - - at_exact_hours - additionalProperties: false - description: 'JobDefinitionSchedule(cron: str, date: models.job_definition.DateStrategy, - time: models.job_definition.TimeStrategy)' - EnvironmentV3: - type: object - required: - - account_id - - project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - credentials_id: - oneOf: - - type: integer - - type: 'null' - name: - type: string - default: New Environment - dbt_version: - type: string - default: 1.6.0-latest - type: - allOf: - - $ref: '#/components/schemas/EnvironmentV3TypeEnum' - default: deployment - use_custom_branch: - type: boolean - default: false - custom_branch: - oneOf: - - type: string - - type: 'null' - supports_docs: - type: boolean - default: false - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - deployment_type: - oneOf: - - type: string - enum: - - production - - type: 'null' - additionalProperties: false - description: "\n An environment is a collection of settings within a\ - \ project that defines how dbt is run.\n Use it to define the version\ - \ controlled branch and warehouse connection that dbt will run on.\n \ - \ " - Project: - type: object - required: - - name - - account_id - properties: - name: - type: string - account_id: - type: integer - connection_id: - oneOf: - - type: integer - - type: 'null' - repository_id: - oneOf: - - type: integer - - type: 'null' - semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false - state: - type: integer - default: 1 - dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' - connection: - oneOf: - - $ref: '#/definitions/BaseConnectionV3' - - type: 'null' - repository: - oneOf: - - $ref: '#/definitions/RepositoryV3' - - type: 'null' - group_permissions: - oneOf: - - type: array - items: - $ref: '#/definitions/GroupPermission' - - type: 'null' - docs_job_id: - oneOf: - - type: integer - - type: 'null' - freshness_job_id: - oneOf: - - type: integer - - type: 'null' - docs_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - freshness_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: - int = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: - Union[models.connection.common.BaseConnectionV3, NoneType] = None, repository: - Union[models.repository.RepositoryV3, NoneType] = None, group_permissions: - Union[List[models.permissions.group_permission.GroupPermission], NoneType] - = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: Union[int, - NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - Run: - type: object - required: - - account_id - - environment_id - - project_id - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - trigger_id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - environment_id: - type: integer - project_id: - type: integer - job_definition_id: - type: integer - status: - type: integer - default: 1 - dbt_version: - type: string - default: 1.6.0-latest - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - status_message: - oneOf: - - type: string - - type: 'null' - owner_thread_id: - oneOf: - - type: string - - type: 'null' - executed_by_thread_id: - oneOf: - - type: string - - type: 'null' - deferring_run_id: - oneOf: - - type: integer - - type: 'null' - artifacts_saved: - type: boolean - default: false - artifact_s3_path: - oneOf: - - type: string - - type: 'null' - has_docs_generated: - type: boolean - default: false - has_sources_generated: - type: boolean - default: false - notifications_sent: - type: boolean - default: false - blocked_by: - type: array - items: - type: integer - default: [] - scribe_enabled: - type: boolean - default: false - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - dequeued_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_checked_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_heartbeat_at: - oneOf: - - type: string - format: date-time - - type: 'null' - should_start_at: - oneOf: - - type: string - format: date-time - - type: 'null' - trigger: - oneOf: - - $ref: '#/definitions/RunTrigger' - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - environment: - oneOf: - - type: object - - type: 'null' - run_steps: - oneOf: - - type: array - items: - $ref: '#/definitions/RunStep' - - type: 'null' - default: [] - status_humanized: - oneOf: - - type: string - - type: 'null' - in_progress: - oneOf: - - type: boolean - - type: 'null' - is_complete: - oneOf: - - type: boolean - - type: 'null' - is_success: - oneOf: - - type: boolean - - type: 'null' - is_error: - oneOf: - - type: boolean - - type: 'null' - is_cancelled: - oneOf: - - type: boolean - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - queued_duration: - oneOf: - - type: string - - type: 'null' - run_duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - queued_duration_humanized: - oneOf: - - type: string - - type: 'null' - run_duration_humanized: - oneOf: - - type: string - - type: 'null' - created_at_humanized: - oneOf: - - type: string - - type: 'null' - finished_at_humanized: - oneOf: - - type: string - - type: 'null' - job_id: - oneOf: - - type: integer - - type: 'null' - is_running: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: "\n Represents a run of a job definition.\n " - RunTrigger: - type: object - required: - - cause - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - cause: - type: string - job_definition_id: - type: integer - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - azure_pull_request_id: - oneOf: - - type: integer - - type: 'null' - github_pull_request_id: - oneOf: - - type: integer - - type: 'null' - gitlab_merge_request_id: - oneOf: - - type: integer - - type: 'null' - schema_override: - oneOf: - - type: string - - type: 'null' - dbt_version_override: - oneOf: - - type: string - - type: 'null' - threads_override: - oneOf: - - type: integer - - type: 'null' - target_name_override: - oneOf: - - type: string - - type: 'null' - generate_docs_override: - oneOf: - - type: boolean - - type: 'null' - timeout_seconds_override: - oneOf: - - type: integer - - type: 'null' - steps_override: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - cause_humanized: - oneOf: - - type: string - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - additionalProperties: false - description: 'RunTrigger(id: Union[int, NoneType], cause: str, job_definition_id: - int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] - = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: - Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None)' - RunStep: - type: object - required: - - run_id - - account_id - - index - - status - - name - properties: - id: - oneOf: - - type: integer - - type: 'null' - run_id: - type: integer - account_id: - type: integer - index: - type: integer - status: - type: integer - name: - type: string - logs: - oneOf: - - type: string - - type: 'null' - debug_logs: - oneOf: - - type: string - - type: 'null' - log_location: - oneOf: - - type: string - enum: - - legacy - - s3 - - db - - empty - - type: 'null' - default: db - log_path: - oneOf: - - type: string - - type: 'null' - debug_log_path: - oneOf: - - type: string - - type: 'null' - log_archive_type: - oneOf: - - type: string - - type: 'null' - default: db_flushed - truncated_debug_logs: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - status_color: - oneOf: - - type: string - - type: 'null' - status_humanized: - oneOf: - - type: string - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: - int, index: int, status: int, name: str, logs: Union[str, NoneType] = - None, debug_logs: Union[str, NoneType] = None, log_location: Union[models.run_step.RunStepLogLocation, - NoneType] = , log_path: Union[str, NoneType] - = None, debug_log_path: Union[str, NoneType] = None, log_archive_type: - Union[str, NoneType] = , truncated_debug_logs: - Union[str, NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, started_at: - Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, - NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: - Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' - PostgresCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - postgres - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'PostgresCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str = None, default_schema: str = - None, target_name: str = ''default'', password: Union[str, NoneType] = - None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - RedshiftCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - redshift - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RedshiftCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str, default_schema: str, target_name: - str = ''default'', password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - SnowflakeCredentials: - type: object - required: - - account_id - - type - - state - - threads - - auth_type - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - snowflake - state: - type: integer - threads: - type: integer - auth_type: - type: string - enum: - - password - - sso - - keypair - schema: - type: string - user: - oneOf: - - type: string - - type: 'null' - target_name: - type: string - default: default - role: - oneOf: - - type: string - - type: 'null' - database: - oneOf: - - type: string - - type: 'null' - warehouse: - oneOf: - - type: string - - type: 'null' - password: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - private_key_passphrase: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'SnowflakeCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, auth_type: models.credentials.snowflake.SnowflakeAuthenticationType, - schema: str, user: Union[str, NoneType] = None, target_name: str = ''default'', - role: Union[str, NoneType] = None, database: Union[str, NoneType] = None, - warehouse: Union[str, NoneType] = None, _refresh_token: Union[str, NoneType] - = None, password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, private_key: Union[str, NoneType] = None, _private_key: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - BigqueryCredentials: - type: object - required: - - account_id - - type - - state - - threads - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - bigquery - state: - type: integer - threads: - type: integer - schema: - type: string - target_name: - type: string - default: default - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - username: - oneOf: - - type: string - - type: 'null' - has_refresh_token: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'BigqueryCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, schema: str, target_name: str = ''default'', - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' - DbtAdapterCredentials: - type: object - required: - - account_id - - type - - state - - threads - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - adapter - state: - type: integer - threads: - type: integer - adapter_id: - oneOf: - - type: integer - - type: 'null' - credential_details: - oneOf: - - $ref: '#/definitions/BaseSparkAdapterCredentialsSchema' - - $ref: '#/definitions/DatabricksCredentialsSchema' - - $ref: '#/definitions/TrinoCredentialsSchema' - - type: 'null' - unencrypted_credential_details: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: 'null' - target_name: - type: string - default: default - adapter: - oneOf: - - $ref: '#/definitions/DbtAdapter' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, adapter_id: Union[int, NoneType], credential_details: - Union[schemas.adapters.base_spark.BaseSparkAdapterCredentialsSchema, schemas.adapters.databricks.credentials_schema.DatabricksCredentialsSchema, - schemas.adapters.trino.credentials_schema.TrinoCredentialsSchema, NoneType] - = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' - BaseSparkAdapterCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/BaseSparkAdapterCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'BaseSparkAdapterCredentialsSchema(fields: schemas.adapters.base_spark.BaseSparkAdapterCredentialFields - = BaseSparkAdapterCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - BaseSparkAdapterCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'BaseSparkAdapterCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DatabricksCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'DatabricksCredentialsSchema(fields: schemas.adapters.databricks.credentials_schema.DatabricksCredentialFields - = DatabricksCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - Union[List[str], NoneType] = None)' - DatabricksCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TrinoCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoCredentialFields' - default: - user: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'TrinoCredentialsSchema(fields: schemas.adapters.trino.credentials_schema.TrinoCredentialFields - = TrinoCredentialFields(user=TextField(metadata=TextFieldMetadata(label=''User'', - description=''The username of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password=TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - TrinoCredentialFields: - type: object - required: [] - properties: - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - $ref: '#/definitions/TextField' - default: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - $ref: '#/definitions/TextField' - default: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'TrinoCredentialFields(user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description=''The - username of the account to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DbtAdapter: - type: object - required: - - account_id - - project_id - - adapter_version - - metadata_json - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - adapter_version: - type: string - enum: - - apache_spark_v0 - - databricks_spark_v0 - - databricks_v0 - - trino_v0 - - snowflake_v0 - - bigquery_v0 - - postgres_v0 - - redshift_v0 - metadata_json: - type: object - additionalProperties: - type: string - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapter(id: Union[int, NoneType], account_id: int, project_id: - int, created_by_id: Union[int, NoneType], created_by_service_token_id: - Union[int, NoneType], adapter_version: schemas.adapter.DbtAdapterVersion, - metadata_json: Dict[str, str], state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' - CustomEnvironmentVariable: - type: object - required: - - account_id - - project_id - - name - - type - properties: - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - project - - environment - - job - - user - state: - oneOf: - - type: integer - - type: 'null' - default: 1 - user_id: - oneOf: - - type: integer - - type: 'null' - environment_id: - oneOf: - - type: integer - - type: 'null' - job_definition_id: - oneOf: - - type: integer - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - raw_value: - oneOf: - - type: string - - type: 'null' - display_value: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This model represents a user-defined environment variable,\ - \ which can be\n set on the account, job or user-level and leveraged\ - \ in both the IDE and\n scheduled Runs.\n " - $schema: http://json-schema.org/draft-07/schema# - EnvironmentV3TypeEnum: - type: string - enum: - - development - - deployment - Group: + id: + type: integer + required: + - account_id + - state + GitProviderRequest: type: object + properties: + account_id: + type: integer + state: + type: integer + id: + type: integer required: - account_id - - name + - state + Group: + type: object properties: account_id: type: integer name: type: string id: - oneOf: - - type: integer - - type: 'null' + type: integer state: type: integer - default: 1 - assign_by_default: - type: boolean - default: false sso_mapping_groups: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true + type: array + items: {} group_permissions: type: array items: - $ref: '#/definitions/GroupPermission' - default: [] - readOnly: true - additionalProperties: false - description: 'Group(account_id: int, name: str, id: Union[int, NoneType] = None, - state: int = 1, assign_by_default: bool = False, sso_mapping_groups: Union[List[str], - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None, group_permissions: List[models.permissions.group_permission.GroupPermission] - = )' - definitions: - GroupPermission: - type: object - required: - - account_id - - group_id - - all_projects - - permission_set - properties: - account_id: - type: integer - group_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - all_projects: - type: boolean - permission_set: - type: string - enum: - - owner - - member - - account_admin - - security_admin - - billing_admin - - admin - - database_admin - - git_admin - - team_admin - - job_admin - - job_viewer - - analyst - - developer - - stakeholder - - readonly - - project_creator - - account_viewer - - metadata_only - - semantic_layer_only - - webhooks_only - permission_level: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'GroupPermission(account_id: int, group_id: int, project_id: - Union[int, NoneType], all_projects: bool, permission_set: models.permissions.sets.PredefinedPermissionSet, - permission_level: Union[int, NoneType] = None, id: Union[int, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - $schema: http://json-schema.org/draft-07/schema# + $ref: '#/components/schemas/GroupPermission' + required: + - account_id + - group_permissions + - name + - state GroupEnveloped: type: object properties: data: - type: array - items: - $ref: '#/components/schemas/Group' + $ref: '#/components/schemas/Group' status: $ref: '#/components/schemas/Status' required: - data - status - GroupRequest: + GroupPermission: type: object - required: - - account_id - - name properties: account_id: type: integer - name: - type: string + group_id: + type: integer + project_id: + type: integer + permission_level: + type: integer id: - oneOf: - - type: integer - - type: 'null' + type: integer state: type: integer - default: 1 - assign_by_default: - type: boolean - default: false - sso_mapping_groups: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'Group(account_id: int, name: str, id: Union[int, NoneType] = None, - state: int = 1, assign_by_default: bool = False, sso_mapping_groups: Union[List[str], - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None, group_permissions: List[models.permissions.group_permission.GroupPermission] - = )' - definitions: - GroupPermission: - type: object - required: - - account_id - - group_id - - all_projects - - permission_set - properties: - account_id: - type: integer - group_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - all_projects: - type: boolean - permission_set: - type: string - enum: - - owner - - member - - account_admin - - security_admin - - billing_admin - - admin - - database_admin - - git_admin - - team_admin - - job_admin - - job_viewer - - analyst - - developer - - stakeholder - - readonly - - project_creator - - account_viewer - - metadata_only - - semantic_layer_only - - webhooks_only - permission_level: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'GroupPermission(account_id: int, group_id: int, project_id: - Union[int, NoneType], all_projects: bool, permission_set: models.permissions.sets.PredefinedPermissionSet, - permission_level: Union[int, NoneType] = None, id: Union[int, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - $schema: http://json-schema.org/draft-07/schema# - LicenseMap: - type: object required: - account_id - - license_type + - group_id + - state + GroupPermissionRequest: + type: object properties: - id: - oneOf: - - type: integer - - type: 'null' account_id: type: integer - license_type: - $ref: '#/components/schemas/LicenseTypeEnum' + group_id: + type: integer + project_id: + type: integer + permission_level: + type: integer + id: + type: integer + state: + type: integer + required: + - account_id + - group_id + - state + GroupRequest: + type: object + properties: + account_id: + type: integer + name: + type: string + minLength: 1 + id: + type: integer + state: + type: integer + sso_mapping_groups: + type: array + items: {} + group_permissions: + type: array + items: + $ref: '#/components/schemas/GroupPermissionRequest' + required: + - account_id + - group_permissions + - name + - state + JobDefinitionExecution: + type: object + properties: + timeout_seconds: + type: integer + required: + - timeout_seconds + JobDefinitionExecutionRequest: + type: object + properties: + timeout_seconds: + type: integer + required: + - timeout_seconds + JobDefinitionSchedule: + type: object + properties: + cron: + type: string + required: + - cron + JobDefinitionScheduleRequest: + type: object + properties: + cron: + type: string + minLength: 1 + required: + - cron + JobDefinitionSettings: + type: object + properties: + threads: + type: integer + target_name: + type: string + required: + - target_name + - threads + JobDefinitionSettingsRequest: + type: object + properties: + threads: + type: integer + target_name: + type: string + minLength: 1 + required: + - target_name + - threads + JobDefinitionV2: + type: object + properties: + environment_id: + type: integer + account_id: + type: integer + project_id: + type: integer + name: + type: string + description: + type: string + state: + type: integer + dbt_version: + type: string + raw_dbt_version: + type: string + id: + type: integer + run_failure_count: + type: integer + settings: + $ref: '#/components/schemas/JobDefinitionSettings' + execution: + $ref: '#/components/schemas/JobDefinitionExecution' + schedule: + $ref: '#/components/schemas/JobDefinitionSchedule' + execute_steps: + type: array + items: {} + most_recent_run: + $ref: '#/components/schemas/Run' + most_recent_completed_run: + $ref: '#/components/schemas/Run' + custom_environment_variables: + type: array + items: + $ref: '#/components/schemas/CustomEnvironmentVariable' + required: + - account_id + - environment_id + - name + - project_id + - run_failure_count + - state + JobDefinitionV2Request: + type: object + properties: + environment_id: + type: integer + account_id: + type: integer + project_id: + type: integer + name: + type: string + minLength: 1 + description: + type: string + minLength: 1 + state: + type: integer + dbt_version: + type: string + minLength: 1 + raw_dbt_version: + type: string + minLength: 1 + id: + type: integer + run_failure_count: + type: integer + settings: + $ref: '#/components/schemas/JobDefinitionSettingsRequest' + execution: + $ref: '#/components/schemas/JobDefinitionExecutionRequest' + schedule: + $ref: '#/components/schemas/JobDefinitionScheduleRequest' + execute_steps: + type: array + items: {} + most_recent_run: + $ref: '#/components/schemas/RunRequest' + most_recent_completed_run: + $ref: '#/components/schemas/RunRequest' + custom_environment_variables: + type: array + items: + $ref: '#/components/schemas/CustomEnvironmentVariableRequest' + required: + - account_id + - environment_id + - name + - project_id + - run_failure_count + - state + LicenseMap: + type: object + properties: + id: + type: integer + account_id: + type: integer state: type: integer - default: 1 sso_license_mapping_groups: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - additionalProperties: false - description: 'LicenseMap(id: Union[int, NoneType], account_id: int, license_type: - models.license.base.LicenseType, state: int = 1, sso_license_mapping_groups: - Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - definitions: {} - $schema: http://json-schema.org/draft-07/schema# + type: array + items: {} + required: + - account_id + - state LicenseMapEnveloped: type: object properties: data: - type: array - items: - $ref: '#/components/schemas/LicenseMap' + $ref: '#/components/schemas/LicenseMap' status: $ref: '#/components/schemas/Status' required: @@ -34036,3858 +4284,132 @@ components: - status LicenseMapRequest: type: object + properties: + id: + type: integer + account_id: + type: integer + state: + type: integer + sso_license_mapping_groups: + type: array + items: {} required: - account_id - - license_type + - state + PostgresCredentials: + type: object properties: id: - oneOf: - - type: integer - - type: 'null' + type: integer account_id: type: integer - license_type: - $ref: '#/components/schemas/LicenseTypeEnum' + project_id: + type: integer state: type: integer - default: 1 - sso_license_mapping_groups: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'LicenseMap(id: Union[int, NoneType], account_id: int, license_type: - models.license.base.LicenseType, state: int = 1, sso_license_mapping_groups: - Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - definitions: {} - $schema: http://json-schema.org/draft-07/schema# - LicenseTypeEnum: - type: string - enum: - - developer - - read_only - - it - Project: + threads: + type: integer + username: + type: string + default_schema: + type: string + target_name: + type: string + password: + type: string + _password: + allOf: + - $ref: '#/components/schemas/DataclassEncryptedField' + title: ' password' + required: + - account_id + - default_schema + - state + - target_name + - threads + - username + PostgresCredentialsRequest: type: object + properties: + id: + type: integer + account_id: + type: integer + project_id: + type: integer + state: + type: integer + threads: + type: integer + username: + type: string + minLength: 1 + default_schema: + type: string + minLength: 1 + target_name: + type: string + minLength: 1 + password: + type: string + minLength: 1 + _password: + allOf: + - $ref: '#/components/schemas/DataclassEncryptedFieldRequest' + title: ' password' required: - - name - account_id + - default_schema + - state + - target_name + - threads + - username + Project: + type: object properties: name: type: string account_id: type: integer + description: id of account this project belongs to connection_id: - oneOf: - - type: integer - - type: 'null' + type: integer repository_id: - oneOf: - - type: integer - - type: 'null' + type: integer semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' + type: integer id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - readOnly: true - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false + type: integer state: type: integer - default: 1 dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' + type: string connection: - oneOf: - - $ref: '#/definitions/BaseConnectionV3' - - type: 'null' - readOnly: true + $ref: '#/components/schemas/BaseConnectionV3' repository: - oneOf: - - $ref: '#/definitions/RepositoryV3' - - type: 'null' - readOnly: true + $ref: '#/components/schemas/RepositoryV3' group_permissions: - oneOf: - - type: array - items: - $ref: '#/definitions/GroupPermission' - - type: 'null' - readOnly: true + type: array + items: + $ref: '#/components/schemas/GroupPermission' docs_job_id: - oneOf: - - type: integer - - type: 'null' + type: integer freshness_job_id: - oneOf: - - type: integer - - type: 'null' + type: integer docs_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - readOnly: true + $ref: '#/components/schemas/JobDefinitionV2' freshness_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - readOnly: true - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: int - = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: Union[models.connection.common.BaseConnectionV3, - NoneType] = None, repository: Union[models.repository.RepositoryV3, NoneType] - = None, group_permissions: Union[List[models.permissions.group_permission.GroupPermission], - NoneType] = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: - Union[int, NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - definitions: - BaseConnectionV3: - type: object - required: - - account_id - - project_id - - name - - type - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - postgres - - redshift - - snowflake - - bigquery - - adapter - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - details: - oneOf: - - oneOf: - - $ref: '#/definitions/PostgresConnectionV3' - - $ref: '#/definitions/SnowflakeConnectionV3' - - $ref: '#/definitions/BigqueryConnectionV3' - - $ref: '#/definitions/DbtAdapterConnection' - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - private_link_endpoint_id: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BaseConnectionV3(id: Union[int, NoneType], account_id: int, - project_id: int, name: str, type: models.connection.common.ConnectionType, - created_by_id: Union[int, NoneType] = None, created_by_service_token_id: - Union[int, NoneType] = None, details: Union[ForwardRef(''AnyConnection''), - NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None, - private_link_endpoint_id: Union[str, NoneType] = None)' - PostgresConnectionV3: - type: object - required: - - hostname - - dbname - - port - - tunnel_enabled - properties: - hostname: - type: string - dbname: - type: string - port: - type: integer - tunnel_enabled: - type: boolean - encryption: - oneOf: - - $ref: '#/definitions/ConnectionEncryption' - - type: 'null' - additionalProperties: false - description: 'PostgresConnectionV3(hostname: str, dbname: str, port: int, - tunnel_enabled: bool, encryption: Union[models.connection.encryption.ConnectionEncryption, - NoneType] = None)' - ConnectionEncryption: - type: object - required: - - account_id - - connection_id - - username - - port - - hostname - properties: - account_id: - type: integer - connection_id: - type: integer - username: - type: string - port: - type: integer - hostname: - type: string - public_key: - oneOf: - - type: string - - type: 'null' - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'ConnectionEncryption(account_id: int, connection_id: int, - username: str, port: int, hostname: str, public_key: Union[str, NoneType] - = None, state: int = 1, id: Union[int, NoneType] = None, private_key: - Union[str, NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None)' - SnowflakeConnectionV3: - type: object - required: - - account - - database - - warehouse - - allow_sso - - client_session_keep_alive - properties: - account: - type: string - database: - type: string - warehouse: - type: string - allow_sso: - type: boolean - client_session_keep_alive: - type: boolean - role: - oneOf: - - type: string - - type: 'null' - oauth_client_id: - oneOf: - - type: string - - type: 'null' - oauth_client_secret: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SnowflakeConnectionV3(account: str, database: str, warehouse: - str, allow_sso: bool, client_session_keep_alive: bool, role: Union[str, - NoneType] = None, oauth_client_id: Union[str, NoneType] = None, _oauth_client_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - oauth_client_secret: Union[str, NoneType] = None, _oauth_client_secret: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None)' - BigqueryConnectionV3: - type: object - required: - - project_id - - timeout_seconds - - private_key_id - - client_email - - client_id - - auth_uri - - token_uri - - auth_provider_x509_cert_url - - client_x509_cert_url - properties: - project_id: - type: string - timeout_seconds: - type: integer - private_key_id: - type: string - client_email: - type: string - client_id: - type: string - auth_uri: - type: string - token_uri: - type: string - auth_provider_x509_cert_url: - type: string - client_x509_cert_url: - type: string - priority: - oneOf: - - type: string - - type: 'null' - retries: - type: integer - default: 1 - scopes: - oneOf: - - type: array - items: - type: string - - type: 'null' - location: - oneOf: - - type: string - - type: 'null' - maximum_bytes_billed: - oneOf: - - type: integer - - type: 'null' - execution_project: - oneOf: - - type: string - - type: 'null' - impersonate_service_account: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - job_retry_deadline_seconds: - oneOf: - - type: integer - - type: 'null' - job_creation_timeout_seconds: - oneOf: - - type: integer - - type: 'null' - application_id: - oneOf: - - type: string - - type: 'null' - application_secret: - oneOf: - - type: string - - type: 'null' - is_configured_for_oauth: - type: boolean - default: false - gcs_bucket: - oneOf: - - type: string - - type: 'null' - dataproc_region: - oneOf: - - type: string - - type: 'null' - dataproc_cluster_name: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BigqueryConnectionV3(project_id: str, timeout_seconds: int, - private_key_id: str, client_email: str, client_id: str, auth_uri: str, - token_uri: str, auth_provider_x509_cert_url: str, client_x509_cert_url: - str, priority: Union[str, NoneType] = None, retries: int = 1, scopes: - Union[List[str], NoneType] = None, location: Union[str, NoneType] = None, - maximum_bytes_billed: Union[int, NoneType] = None, execution_project: - Union[str, NoneType] = None, impersonate_service_account: Union[str, NoneType] - = None, private_key: Union[str, NoneType] = None, job_retry_deadline_seconds: - Union[int, NoneType] = None, job_creation_timeout_seconds: Union[int, - NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, application_id: Union[str, NoneType] = None, application_secret: - Union[str, NoneType] = None, is_configured_for_oauth: bool = False, _application_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - _application_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, gcs_bucket: Union[str, NoneType] = None, dataproc_region: - Union[str, NoneType] = None, dataproc_cluster_name: Union[str, NoneType] - = None)' - DbtAdapterConnection: - type: object - required: - - connection_details - properties: - adapter_id: - oneOf: - - type: integer - - type: 'null' - connection_details: - oneOf: - - $ref: '#/definitions/ApacheSparkConnectionSchema' - - $ref: '#/definitions/DatabricksSparkConnectionSchema' - - $ref: '#/definitions/DatabricksConnectionSchema' - - $ref: '#/definitions/TrinoConnectionSchema' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterConnection(adapter_id: Union[int, NoneType], connection_details: - Union[schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionSchema, - schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionSchema, - schemas.adapters.databricks.connection_schema.DatabricksConnectionSchema, - schemas.adapters.trino.connection_schema.TrinoConnectionSchema], created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - ApacheSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/ApacheSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'ApacheSparkConnectionSchema(fields: schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionFields - = ApacheSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''HTTP'', value=''http''), - SelectOption(label=''Thrift'', value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''Port number of host.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description=''Organization id'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), auth=TextField(metadata=TextFieldMetadata(label=''Auth'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - ApacheSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - $ref: '#/definitions/TextField' - default: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'ApacheSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''HTTP'', value=''http''), SelectOption(label=''Thrift'', - value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''Port - number of host.'', field_type=''number'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization: Union[schemas.fields.TextField.TextField, NoneType] - = TextField(metadata=TextFieldMetadata(label=''Organization'', description=''Organization - id'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), auth: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Auth'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TextField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: string - additionalProperties: false - description: 'TextField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: str = None)' - TextFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: text - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'TextFieldMetadata(label: str, description: str, field_type: - str = ''text'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - validation: schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - GenericTextValidation: - type: object - required: [] - properties: - min_length: - oneOf: - - type: integer - - type: 'null' - max_length: - oneOf: - - type: integer - - type: 'null' - required: - oneOf: - - type: boolean - - type: 'null' - default: false - pattern: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'GenericTextValidation(min_length: Union[int, NoneType] = None, - max_length: Union[int, NoneType] = None, required: Union[bool, NoneType] - = False, pattern: Union[str, NoneType] = None)' - SelectField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/SelectFieldMetadata' - value: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SelectField(metadata: schemas.fields.SelectField.SelectFieldMetadata, - value: Union[str, NoneType] = None)' - SelectFieldMetadata: - type: object - required: - - label - - description - - options - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: select - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - options: - type: array - items: - $ref: '#/definitions/SelectOption' - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'SelectFieldMetadata(label: str, description: str, field_type: - str = ''select'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - options: List[schemas.fields.SelectField.SelectOption] = None, validation: - schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - SelectOption: - type: object - required: - - label - - value - properties: - label: - type: string - value: - oneOf: - - type: string - - type: integer - additionalProperties: false - description: 'SelectOption(label: str, value: Union[str, int])' - LegacyIntegerField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: integer - additionalProperties: false - description: 'LegacyIntegerField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: int = None)' - DatabricksSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect - to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if - using a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if - using Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksSparkConnectionSchema(fields: schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionFields - = DatabricksSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''ODBC'', value=''odbc'')], - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''odbc''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to Databricks for this connection.'', - field_type=''number'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericIntegerValidation(required=True)), value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint=TextField(metadata=TextFieldMetadata(label=''Endpoint'', - description=''The ID of the endpoint to connect to (required if using - Databricks SQL Analytics)'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', - description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - DatabricksSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if using - a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - $ref: '#/definitions/TextField' - default: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if using - Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - $ref: '#/definitions/TextField' - default: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''ODBC'', value=''odbc'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''odbc''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to Databricks for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Endpoint'', description=''The - ID of the endpoint to connect to (required if using Databricks SQL Analytics)'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), driver: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Driver'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization: Union[schemas.fields.TextField.TextField, NoneType] = TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''))' - DatabricksConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksConnectionSchema(fields: schemas.adapters.databricks.connection_schema.DatabricksConnectionFields - = DatabricksConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''databricks''), - host=TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path=TextField(metadata=TextFieldMetadata(label=''HTTP Path'', description=''The - HTTP path of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_http_path'')), value=''''), - catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value='''')), field_order: List[str] = - )' - DatabricksConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - $ref: '#/definitions/TextField' - default: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''databricks''), host: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''HTTP - Path'', description=''The HTTP path of the Databricks cluster or SQL warehouse.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_http_path'')), value=''''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value=''''))' - TrinoConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'TrinoConnectionSchema(fields: schemas.adapters.trino.connection_schema.TrinoConnectionFields - = TrinoConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''trino''), method=TextField(metadata=TextFieldMetadata(label=''Method'', - description=''The auth method to use.'', field_type=''hidden'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host=TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443)), field_order: List[str] = )' - TrinoConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - $ref: '#/definitions/TextField' - default: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - additionalProperties: false - description: 'TrinoConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''trino''), method: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Method'', description=''The - auth method to use.'', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443))' - RepositoryV3: - type: object - required: - - account_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - full_name: - oneOf: - - type: string - - type: 'null' - remote_url: - oneOf: - - type: string - pattern: ^\S+[/:](?P[^\s/]+?)(?:\.git)?$ - - type: 'null' - remote_backend: - oneOf: - - type: string - enum: - - azure_active_directory - - github - - managed - - gitlab - - manual_config - - type: 'null' - git_clone_strategy: - oneOf: - - type: string - enum: - - azure_active_directory_app - - deploy_key - - deploy_token - - github_app - - git_token - - type: 'null' - deploy_key_id: - oneOf: - - type: integer - - type: 'null' - repository_credentials_id: - oneOf: - - type: integer - - type: 'null' - github_installation_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_secret: - oneOf: - - type: string - - type: 'null' - pull_request_url_template: - oneOf: - - type: string - pattern: ^(http|https)://(.*) - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - deploy_key: - oneOf: - - type: object - - type: 'null' - github_repo: - oneOf: - - type: string - - type: 'null' - name: - oneOf: - - type: string - - type: 'null' - git_provider_id: - oneOf: - - type: integer - - type: 'null' - gitlab: - oneOf: - - $ref: '#/definitions/RepositoryGitlab' - - type: 'null' - git_provider: - oneOf: - - $ref: '#/definitions/GitProvider' - - type: 'null' - additionalProperties: false - description: 'RepositoryV3(id: Union[int, NoneType], account_id: int, project_id: - Union[int, NoneType] = None, full_name: Union[str, NoneType] = None, remote_url: - Union[RemoteUrl, NoneType] = None, remote_backend: Union[models.repository.GitRemoteBackend, - NoneType] = None, git_clone_strategy: Union[models.repository.GitCloneStrategy, - NoneType] = None, deploy_key_id: Union[int, NoneType] = None, repository_credentials_id: - Union[int, NoneType] = None, github_installation_id: Union[int, NoneType] - = None, github_webhook_id: Union[int, NoneType] = None, github_webhook_secret: - Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, - NoneType] = None, git_provider: Union[models.git_provider.GitProvider, - NoneType] = None)' - RepositoryGitlab: - type: object - required: - - account_id - - gitlab_project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - repository_id: - oneOf: - - type: integer - - type: 'null' - gitlab_project_id: - type: integer - state: - type: integer - default: 1 - project_access_token_id: - oneOf: - - type: integer - - type: 'null' - project_access_token: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RepositoryGitlab(id: Union[int, NoneType], account_id: int, - repository_id: Union[int, NoneType], gitlab_project_id: int, state: int - = 1, project_access_token_id: Union[int, NoneType] = None, project_access_token: - Union[str, NoneType] = None, _project_access_token: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - GitProvider: - type: object - required: - - account_id - - provider_type - properties: - account_id: - type: integer - provider_type: - type: string - enum: - - azure_active_directory - - github - - gitlab - - git_url - - managed_github - - manual_config - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This class represents a git provider integration the\ - \ user\n has setup and will interact with via the dbt Cloud IDE.\n\ - \ " - GroupPermission: - type: object - required: - - account_id - - group_id - - all_projects - - permission_set - properties: - account_id: - type: integer - group_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - all_projects: - type: boolean - permission_set: - type: string - enum: - - owner - - member - - account_admin - - security_admin - - billing_admin - - admin - - database_admin - - git_admin - - team_admin - - job_admin - - job_viewer - - analyst - - developer - - stakeholder - - readonly - - project_creator - - account_viewer - - metadata_only - - semantic_layer_only - - webhooks_only - permission_level: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'GroupPermission(account_id: int, group_id: int, project_id: - Union[int, NoneType], all_projects: bool, permission_set: models.permissions.sets.PredefinedPermissionSet, - permission_level: Union[int, NoneType] = None, id: Union[int, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - JobDefinitionV2: - type: object - required: - - environment_id - - account_id - - project_id - - name - - generate_docs - - run_generate_sources - - state - properties: - environment_id: - type: integer - account_id: - type: integer - project_id: - type: integer - name: - type: string - generate_docs: - type: boolean - run_generate_sources: - type: boolean - state: - type: integer - dbt_version: - oneOf: - - type: string - - type: 'null' - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - deactivated: - type: boolean - default: false - run_failure_count: - type: integer - default: 0 - triggers: - oneOf: - - $ref: '#/definitions/JobDefinitionTriggers' - - type: 'null' - settings: - oneOf: - - $ref: '#/definitions/JobDefinitionSettings' - - type: 'null' - execution: - oneOf: - - $ref: '#/definitions/JobDefinitionExecution' - - type: 'null' - schedule: - oneOf: - - $ref: '#/definitions/JobDefinitionSchedule' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - execute_steps: - oneOf: - - type: array - items: - type: string - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - most_recent_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - most_recent_completed_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - job_type: - oneOf: - - type: string - enum: - - ci - - scheduled - - other - - type: 'null' - additionalProperties: false - description: 'JobDefinitionV2(environment_id: int, account_id: int, project_id: - int, name: str, generate_docs: bool, run_generate_sources: bool, state: - int, dbt_version: Union[str, NoneType], raw_dbt_version: Union[str, NoneType] - = None, id: Union[int, NoneType] = None, deactivated: bool = False, run_failure_count: - int = 0, triggers: Union[models.job_definition.JobDefinitionTriggers, - NoneType] = None, settings: Union[models.job_definition.JobDefinitionSettings, - NoneType] = None, execution: Union[models.job_definition.JobDefinitionExecution, - NoneType] = None, schedule: Union[models.job_definition.JobDefinitionSchedule, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, execute_steps: - Union[List[str], NoneType] = None, environment: ''Optional[models.environment.EnvironmentV3]'' - = None, most_recent_run: Union[models.run.Run, NoneType] = None, most_recent_completed_run: - Union[models.run.Run, NoneType] = None, custom_environment_variables: - Union[List[models.custom_environment_variable.CustomEnvironmentVariable], - NoneType] = None, job_type: Union[common.constants.JobType, NoneType] - = None)' - JobDefinitionTriggers: - type: object - required: - - github_webhook - - schedule - properties: - github_webhook: - type: boolean - schedule: - type: boolean - git_provider_webhook: - oneOf: - - type: boolean - - type: 'null' - custom_branch_only: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'JobDefinitionTriggers(github_webhook: bool, schedule: bool, - git_provider_webhook: Union[bool, NoneType] = None, custom_branch_only: - Union[bool, NoneType] = None)' - JobDefinitionSettings: - type: object - required: - - threads - - target_name - properties: - threads: - type: integer - target_name: - type: string - additionalProperties: false - description: 'JobDefinitionSettings(threads: int, target_name: str)' - JobDefinitionExecution: - type: object - required: - - timeout_seconds - properties: - timeout_seconds: - type: integer - additionalProperties: false - description: 'JobDefinitionExecution(timeout_seconds: int)' - JobDefinitionSchedule: - type: object - required: - - cron - - date - - time - properties: - cron: - type: string - date: - type: string - enum: - - every_day - - days_of_week - - custom_cron - time: - type: string - enum: - - every_hour - - at_exact_hours - additionalProperties: false - description: 'JobDefinitionSchedule(cron: str, date: models.job_definition.DateStrategy, - time: models.job_definition.TimeStrategy)' - EnvironmentV3: - type: object - required: - - account_id - - project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - credentials_id: - oneOf: - - type: integer - - type: 'null' - name: - type: string - default: New Environment - dbt_version: - type: string - default: 1.6.0-latest - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - type: - type: string - enum: - - development - - deployment - default: deployment - use_custom_branch: - type: boolean - default: false - custom_branch: - oneOf: - - type: string - - type: 'null' - supports_docs: - type: boolean - default: false - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - project: - oneOf: - - $ref: '#/definitions/Project' - - type: 'null' - jobs: - oneOf: - - type: array - items: - type: object - additionalProperties: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - - type: 'null' - credentials: - oneOf: - - $ref: '#/definitions/PostgresCredentials' - - $ref: '#/definitions/RedshiftCredentials' - - $ref: '#/definitions/SnowflakeCredentials' - - $ref: '#/definitions/BigqueryCredentials' - - $ref: '#/definitions/DbtAdapterCredentials' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - deployment_type: - oneOf: - - type: string - enum: - - production - - type: 'null' - additionalProperties: false - description: "\n An environment is a collection of settings within a\ - \ project that defines how dbt is run.\n Use it to define the version\ - \ controlled branch and warehouse connection that dbt will run on.\n \ - \ " - Project: - type: object - required: - - name - - account_id - properties: - name: - type: string - account_id: - type: integer - connection_id: - oneOf: - - type: integer - - type: 'null' - repository_id: - oneOf: - - type: integer - - type: 'null' - semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false - state: - type: integer - default: 1 - dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' - connection: - oneOf: - - $ref: '#/definitions/BaseConnectionV3' - - type: 'null' - repository: - oneOf: - - $ref: '#/definitions/RepositoryV3' - - type: 'null' - group_permissions: - oneOf: - - type: array - items: - $ref: '#/definitions/GroupPermission' - - type: 'null' - docs_job_id: - oneOf: - - type: integer - - type: 'null' - freshness_job_id: - oneOf: - - type: integer - - type: 'null' - docs_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - freshness_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: - int = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: - Union[models.connection.common.BaseConnectionV3, NoneType] = None, repository: - Union[models.repository.RepositoryV3, NoneType] = None, group_permissions: - Union[List[models.permissions.group_permission.GroupPermission], NoneType] - = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: Union[int, - NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - Run: - type: object - required: - - account_id - - environment_id - - project_id - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - trigger_id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - environment_id: - type: integer - project_id: - type: integer - job_definition_id: - type: integer - status: - type: integer - default: 1 - dbt_version: - type: string - default: 1.6.0-latest - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - status_message: - oneOf: - - type: string - - type: 'null' - owner_thread_id: - oneOf: - - type: string - - type: 'null' - executed_by_thread_id: - oneOf: - - type: string - - type: 'null' - deferring_run_id: - oneOf: - - type: integer - - type: 'null' - artifacts_saved: - type: boolean - default: false - artifact_s3_path: - oneOf: - - type: string - - type: 'null' - has_docs_generated: - type: boolean - default: false - has_sources_generated: - type: boolean - default: false - notifications_sent: - type: boolean - default: false - blocked_by: - type: array - items: - type: integer - default: [] - scribe_enabled: - type: boolean - default: false - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - dequeued_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_checked_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_heartbeat_at: - oneOf: - - type: string - format: date-time - - type: 'null' - should_start_at: - oneOf: - - type: string - format: date-time - - type: 'null' - trigger: - oneOf: - - $ref: '#/definitions/RunTrigger' - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - environment: - oneOf: - - type: object - - type: 'null' - run_steps: - oneOf: - - type: array - items: - $ref: '#/definitions/RunStep' - - type: 'null' - default: [] - status_humanized: - oneOf: - - type: string - - type: 'null' - in_progress: - oneOf: - - type: boolean - - type: 'null' - is_complete: - oneOf: - - type: boolean - - type: 'null' - is_success: - oneOf: - - type: boolean - - type: 'null' - is_error: - oneOf: - - type: boolean - - type: 'null' - is_cancelled: - oneOf: - - type: boolean - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - queued_duration: - oneOf: - - type: string - - type: 'null' - run_duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - queued_duration_humanized: - oneOf: - - type: string - - type: 'null' - run_duration_humanized: - oneOf: - - type: string - - type: 'null' - created_at_humanized: - oneOf: - - type: string - - type: 'null' - finished_at_humanized: - oneOf: - - type: string - - type: 'null' - job_id: - oneOf: - - type: integer - - type: 'null' - is_running: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: "\n Represents a run of a job definition.\n " - RunTrigger: - type: object - required: - - cause - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - cause: - type: string - job_definition_id: - type: integer - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - azure_pull_request_id: - oneOf: - - type: integer - - type: 'null' - github_pull_request_id: - oneOf: - - type: integer - - type: 'null' - gitlab_merge_request_id: - oneOf: - - type: integer - - type: 'null' - schema_override: - oneOf: - - type: string - - type: 'null' - dbt_version_override: - oneOf: - - type: string - - type: 'null' - threads_override: - oneOf: - - type: integer - - type: 'null' - target_name_override: - oneOf: - - type: string - - type: 'null' - generate_docs_override: - oneOf: - - type: boolean - - type: 'null' - timeout_seconds_override: - oneOf: - - type: integer - - type: 'null' - steps_override: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - cause_humanized: - oneOf: - - type: string - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - additionalProperties: false - description: 'RunTrigger(id: Union[int, NoneType], cause: str, job_definition_id: - int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] - = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: - Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None)' - RunStep: - type: object - required: - - run_id - - account_id - - index - - status - - name - properties: - id: - oneOf: - - type: integer - - type: 'null' - run_id: - type: integer - account_id: - type: integer - index: - type: integer - status: - type: integer - name: - type: string - logs: - oneOf: - - type: string - - type: 'null' - debug_logs: - oneOf: - - type: string - - type: 'null' - log_location: - oneOf: - - type: string - enum: - - legacy - - s3 - - db - - empty - - type: 'null' - default: db - log_path: - oneOf: - - type: string - - type: 'null' - debug_log_path: - oneOf: - - type: string - - type: 'null' - log_archive_type: - oneOf: - - type: string - - type: 'null' - default: db_flushed - truncated_debug_logs: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - status_color: - oneOf: - - type: string - - type: 'null' - status_humanized: - oneOf: - - type: string - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: - int, index: int, status: int, name: str, logs: Union[str, NoneType] = - None, debug_logs: Union[str, NoneType] = None, log_location: Union[models.run_step.RunStepLogLocation, - NoneType] = , log_path: Union[str, NoneType] - = None, debug_log_path: Union[str, NoneType] = None, log_archive_type: - Union[str, NoneType] = , truncated_debug_logs: - Union[str, NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, started_at: - Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, - NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: - Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' - PostgresCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - postgres - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'PostgresCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str = None, default_schema: str = - None, target_name: str = ''default'', password: Union[str, NoneType] = - None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - RedshiftCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - redshift - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RedshiftCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str, default_schema: str, target_name: - str = ''default'', password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - SnowflakeCredentials: - type: object - required: - - account_id - - type - - state - - threads - - auth_type - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - snowflake - state: - type: integer - threads: - type: integer - auth_type: - type: string - enum: - - password - - sso - - keypair - schema: - type: string - user: - oneOf: - - type: string - - type: 'null' - target_name: - type: string - default: default - role: - oneOf: - - type: string - - type: 'null' - database: - oneOf: - - type: string - - type: 'null' - warehouse: - oneOf: - - type: string - - type: 'null' - password: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - private_key_passphrase: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'SnowflakeCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, auth_type: models.credentials.snowflake.SnowflakeAuthenticationType, - schema: str, user: Union[str, NoneType] = None, target_name: str = ''default'', - role: Union[str, NoneType] = None, database: Union[str, NoneType] = None, - warehouse: Union[str, NoneType] = None, _refresh_token: Union[str, NoneType] - = None, password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, private_key: Union[str, NoneType] = None, _private_key: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - BigqueryCredentials: - type: object - required: - - account_id - - type - - state - - threads - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - bigquery - state: - type: integer - threads: - type: integer - schema: - type: string - target_name: - type: string - default: default - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - username: - oneOf: - - type: string - - type: 'null' - has_refresh_token: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'BigqueryCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, schema: str, target_name: str = ''default'', - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' - DbtAdapterCredentials: - type: object - required: - - account_id - - type - - state - - threads - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - adapter - state: - type: integer - threads: - type: integer - adapter_id: - oneOf: - - type: integer - - type: 'null' - credential_details: - oneOf: - - $ref: '#/definitions/BaseSparkAdapterCredentialsSchema' - - $ref: '#/definitions/DatabricksCredentialsSchema' - - $ref: '#/definitions/TrinoCredentialsSchema' - - type: 'null' - unencrypted_credential_details: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: 'null' - target_name: - type: string - default: default - adapter: - oneOf: - - $ref: '#/definitions/DbtAdapter' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, adapter_id: Union[int, NoneType], credential_details: - Union[schemas.adapters.base_spark.BaseSparkAdapterCredentialsSchema, schemas.adapters.databricks.credentials_schema.DatabricksCredentialsSchema, - schemas.adapters.trino.credentials_schema.TrinoCredentialsSchema, NoneType] - = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' - BaseSparkAdapterCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/BaseSparkAdapterCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'BaseSparkAdapterCredentialsSchema(fields: schemas.adapters.base_spark.BaseSparkAdapterCredentialFields - = BaseSparkAdapterCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - BaseSparkAdapterCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'BaseSparkAdapterCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DatabricksCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'DatabricksCredentialsSchema(fields: schemas.adapters.databricks.credentials_schema.DatabricksCredentialFields - = DatabricksCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - Union[List[str], NoneType] = None)' - DatabricksCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TrinoCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoCredentialFields' - default: - user: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'TrinoCredentialsSchema(fields: schemas.adapters.trino.credentials_schema.TrinoCredentialFields - = TrinoCredentialFields(user=TextField(metadata=TextFieldMetadata(label=''User'', - description=''The username of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password=TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - TrinoCredentialFields: - type: object - required: [] - properties: - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - $ref: '#/definitions/TextField' - default: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - $ref: '#/definitions/TextField' - default: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'TrinoCredentialFields(user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description=''The - username of the account to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DbtAdapter: - type: object - required: - - account_id - - project_id - - adapter_version - - metadata_json - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - adapter_version: - type: string - enum: - - apache_spark_v0 - - databricks_spark_v0 - - databricks_v0 - - trino_v0 - - snowflake_v0 - - bigquery_v0 - - postgres_v0 - - redshift_v0 - metadata_json: - type: object - additionalProperties: - type: string - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapter(id: Union[int, NoneType], account_id: int, project_id: - int, created_by_id: Union[int, NoneType], created_by_service_token_id: - Union[int, NoneType], adapter_version: schemas.adapter.DbtAdapterVersion, - metadata_json: Dict[str, str], state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' - CustomEnvironmentVariable: - type: object - required: - - account_id - - project_id - - name - - type - properties: - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - project - - environment - - job - - user - state: - oneOf: - - type: integer - - type: 'null' - default: 1 - user_id: - oneOf: - - type: integer - - type: 'null' - environment_id: - oneOf: - - type: integer - - type: 'null' - job_definition_id: - oneOf: - - type: integer - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - raw_value: - oneOf: - - type: string - - type: 'null' - display_value: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This model represents a user-defined environment variable,\ - \ which can be\n set on the account, job or user-level and leveraged\ - \ in both the IDE and\n scheduled Runs.\n " - $schema: http://json-schema.org/draft-07/schema# + $ref: '#/components/schemas/JobDefinitionV2' + required: + - account_id + - name + - state ProjectEnveloped: type: object properties: data: - type: array - items: - $ref: '#/components/schemas/Project' + $ref: '#/components/schemas/Project' status: $ref: '#/components/schemas/Status' required: @@ -37895,7616 +4417,142 @@ components: - status ProjectRequest: type: object - required: - - name - - account_id properties: name: type: string + minLength: 1 account_id: type: integer + description: id of account this project belongs to connection_id: - oneOf: - - type: integer - - type: 'null' + type: integer repository_id: - oneOf: - - type: integer - - type: 'null' + type: integer semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' + type: integer id: - oneOf: - - type: integer - - type: 'null' - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false + type: integer state: type: integer - default: 1 dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' + type: string + minLength: 1 + connection: + $ref: '#/components/schemas/BaseConnectionV3Request' + repository: + $ref: '#/components/schemas/RepositoryV3Request' + group_permissions: + type: array + items: + $ref: '#/components/schemas/GroupPermissionRequest' docs_job_id: - oneOf: - - type: integer - - type: 'null' + type: integer freshness_job_id: - oneOf: - - type: integer - - type: 'null' - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: int - = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: Union[models.connection.common.BaseConnectionV3, - NoneType] = None, repository: Union[models.repository.RepositoryV3, NoneType] - = None, group_permissions: Union[List[models.permissions.group_permission.GroupPermission], - NoneType] = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: - Union[int, NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - definitions: - BaseConnectionV3: - type: object - required: - - account_id - - project_id - - name - - type - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - postgres - - redshift - - snowflake - - bigquery - - adapter - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - details: - oneOf: - - oneOf: - - $ref: '#/definitions/PostgresConnectionV3' - - $ref: '#/definitions/SnowflakeConnectionV3' - - $ref: '#/definitions/BigqueryConnectionV3' - - $ref: '#/definitions/DbtAdapterConnection' - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - private_link_endpoint_id: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BaseConnectionV3(id: Union[int, NoneType], account_id: int, - project_id: int, name: str, type: models.connection.common.ConnectionType, - created_by_id: Union[int, NoneType] = None, created_by_service_token_id: - Union[int, NoneType] = None, details: Union[ForwardRef(''AnyConnection''), - NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None, - private_link_endpoint_id: Union[str, NoneType] = None)' - PostgresConnectionV3: - type: object - required: - - hostname - - dbname - - port - - tunnel_enabled - properties: - hostname: - type: string - dbname: - type: string - port: - type: integer - tunnel_enabled: - type: boolean - encryption: - oneOf: - - $ref: '#/definitions/ConnectionEncryption' - - type: 'null' - additionalProperties: false - description: 'PostgresConnectionV3(hostname: str, dbname: str, port: int, - tunnel_enabled: bool, encryption: Union[models.connection.encryption.ConnectionEncryption, - NoneType] = None)' - ConnectionEncryption: - type: object - required: - - account_id - - connection_id - - username - - port - - hostname - properties: - account_id: - type: integer - connection_id: - type: integer - username: - type: string - port: - type: integer - hostname: - type: string - public_key: - oneOf: - - type: string - - type: 'null' - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'ConnectionEncryption(account_id: int, connection_id: int, - username: str, port: int, hostname: str, public_key: Union[str, NoneType] - = None, state: int = 1, id: Union[int, NoneType] = None, private_key: - Union[str, NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None)' - SnowflakeConnectionV3: - type: object - required: - - account - - database - - warehouse - - allow_sso - - client_session_keep_alive - properties: - account: - type: string - database: - type: string - warehouse: - type: string - allow_sso: - type: boolean - client_session_keep_alive: - type: boolean - role: - oneOf: - - type: string - - type: 'null' - oauth_client_id: - oneOf: - - type: string - - type: 'null' - oauth_client_secret: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SnowflakeConnectionV3(account: str, database: str, warehouse: - str, allow_sso: bool, client_session_keep_alive: bool, role: Union[str, - NoneType] = None, oauth_client_id: Union[str, NoneType] = None, _oauth_client_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - oauth_client_secret: Union[str, NoneType] = None, _oauth_client_secret: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None)' - BigqueryConnectionV3: - type: object - required: - - project_id - - timeout_seconds - - private_key_id - - client_email - - client_id - - auth_uri - - token_uri - - auth_provider_x509_cert_url - - client_x509_cert_url - properties: - project_id: - type: string - timeout_seconds: - type: integer - private_key_id: - type: string - client_email: - type: string - client_id: - type: string - auth_uri: - type: string - token_uri: - type: string - auth_provider_x509_cert_url: - type: string - client_x509_cert_url: - type: string - priority: - oneOf: - - type: string - - type: 'null' - retries: - type: integer - default: 1 - scopes: - oneOf: - - type: array - items: - type: string - - type: 'null' - location: - oneOf: - - type: string - - type: 'null' - maximum_bytes_billed: - oneOf: - - type: integer - - type: 'null' - execution_project: - oneOf: - - type: string - - type: 'null' - impersonate_service_account: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - job_retry_deadline_seconds: - oneOf: - - type: integer - - type: 'null' - job_creation_timeout_seconds: - oneOf: - - type: integer - - type: 'null' - application_id: - oneOf: - - type: string - - type: 'null' - application_secret: - oneOf: - - type: string - - type: 'null' - is_configured_for_oauth: - type: boolean - default: false - gcs_bucket: - oneOf: - - type: string - - type: 'null' - dataproc_region: - oneOf: - - type: string - - type: 'null' - dataproc_cluster_name: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BigqueryConnectionV3(project_id: str, timeout_seconds: int, - private_key_id: str, client_email: str, client_id: str, auth_uri: str, - token_uri: str, auth_provider_x509_cert_url: str, client_x509_cert_url: - str, priority: Union[str, NoneType] = None, retries: int = 1, scopes: - Union[List[str], NoneType] = None, location: Union[str, NoneType] = None, - maximum_bytes_billed: Union[int, NoneType] = None, execution_project: - Union[str, NoneType] = None, impersonate_service_account: Union[str, NoneType] - = None, private_key: Union[str, NoneType] = None, job_retry_deadline_seconds: - Union[int, NoneType] = None, job_creation_timeout_seconds: Union[int, - NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, application_id: Union[str, NoneType] = None, application_secret: - Union[str, NoneType] = None, is_configured_for_oauth: bool = False, _application_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - _application_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, gcs_bucket: Union[str, NoneType] = None, dataproc_region: - Union[str, NoneType] = None, dataproc_cluster_name: Union[str, NoneType] - = None)' - DbtAdapterConnection: - type: object - required: - - connection_details - properties: - adapter_id: - oneOf: - - type: integer - - type: 'null' - connection_details: - oneOf: - - $ref: '#/definitions/ApacheSparkConnectionSchema' - - $ref: '#/definitions/DatabricksSparkConnectionSchema' - - $ref: '#/definitions/DatabricksConnectionSchema' - - $ref: '#/definitions/TrinoConnectionSchema' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterConnection(adapter_id: Union[int, NoneType], connection_details: - Union[schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionSchema, - schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionSchema, - schemas.adapters.databricks.connection_schema.DatabricksConnectionSchema, - schemas.adapters.trino.connection_schema.TrinoConnectionSchema], created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - ApacheSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/ApacheSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'ApacheSparkConnectionSchema(fields: schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionFields - = ApacheSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''HTTP'', value=''http''), - SelectOption(label=''Thrift'', value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''Port number of host.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description=''Organization id'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), auth=TextField(metadata=TextFieldMetadata(label=''Auth'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - ApacheSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - $ref: '#/definitions/TextField' - default: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'ApacheSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''HTTP'', value=''http''), SelectOption(label=''Thrift'', - value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''Port - number of host.'', field_type=''number'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization: Union[schemas.fields.TextField.TextField, NoneType] - = TextField(metadata=TextFieldMetadata(label=''Organization'', description=''Organization - id'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), auth: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Auth'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TextField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: string - additionalProperties: false - description: 'TextField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: str = None)' - TextFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: text - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'TextFieldMetadata(label: str, description: str, field_type: - str = ''text'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - validation: schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - GenericTextValidation: - type: object - required: [] - properties: - min_length: - oneOf: - - type: integer - - type: 'null' - max_length: - oneOf: - - type: integer - - type: 'null' - required: - oneOf: - - type: boolean - - type: 'null' - default: false - pattern: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'GenericTextValidation(min_length: Union[int, NoneType] = None, - max_length: Union[int, NoneType] = None, required: Union[bool, NoneType] - = False, pattern: Union[str, NoneType] = None)' - SelectField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/SelectFieldMetadata' - value: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SelectField(metadata: schemas.fields.SelectField.SelectFieldMetadata, - value: Union[str, NoneType] = None)' - SelectFieldMetadata: - type: object - required: - - label - - description - - options - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: select - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - options: - type: array - items: - $ref: '#/definitions/SelectOption' - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'SelectFieldMetadata(label: str, description: str, field_type: - str = ''select'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - options: List[schemas.fields.SelectField.SelectOption] = None, validation: - schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - SelectOption: - type: object - required: - - label - - value - properties: - label: - type: string - value: - oneOf: - - type: string - - type: integer - additionalProperties: false - description: 'SelectOption(label: str, value: Union[str, int])' - LegacyIntegerField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: integer - additionalProperties: false - description: 'LegacyIntegerField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: int = None)' - DatabricksSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect - to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if - using a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if - using Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksSparkConnectionSchema(fields: schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionFields - = DatabricksSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''ODBC'', value=''odbc'')], - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''odbc''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to Databricks for this connection.'', - field_type=''number'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericIntegerValidation(required=True)), value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint=TextField(metadata=TextFieldMetadata(label=''Endpoint'', - description=''The ID of the endpoint to connect to (required if using - Databricks SQL Analytics)'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', - description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - DatabricksSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if using - a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - $ref: '#/definitions/TextField' - default: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if using - Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - $ref: '#/definitions/TextField' - default: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''ODBC'', value=''odbc'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''odbc''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to Databricks for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Endpoint'', description=''The - ID of the endpoint to connect to (required if using Databricks SQL Analytics)'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), driver: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Driver'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization: Union[schemas.fields.TextField.TextField, NoneType] = TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''))' - DatabricksConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksConnectionSchema(fields: schemas.adapters.databricks.connection_schema.DatabricksConnectionFields - = DatabricksConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''databricks''), - host=TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path=TextField(metadata=TextFieldMetadata(label=''HTTP Path'', description=''The - HTTP path of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_http_path'')), value=''''), - catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value='''')), field_order: List[str] = - )' - DatabricksConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - $ref: '#/definitions/TextField' - default: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''databricks''), host: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''HTTP - Path'', description=''The HTTP path of the Databricks cluster or SQL warehouse.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_http_path'')), value=''''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value=''''))' - TrinoConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'TrinoConnectionSchema(fields: schemas.adapters.trino.connection_schema.TrinoConnectionFields - = TrinoConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''trino''), method=TextField(metadata=TextFieldMetadata(label=''Method'', - description=''The auth method to use.'', field_type=''hidden'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host=TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443)), field_order: List[str] = )' - TrinoConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - $ref: '#/definitions/TextField' - default: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - additionalProperties: false - description: 'TrinoConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''trino''), method: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Method'', description=''The - auth method to use.'', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443))' - RepositoryV3: - type: object - required: - - account_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - full_name: - oneOf: - - type: string - - type: 'null' - remote_url: - oneOf: - - type: string - pattern: ^\S+[/:](?P[^\s/]+?)(?:\.git)?$ - - type: 'null' - remote_backend: - oneOf: - - type: string - enum: - - azure_active_directory - - github - - managed - - gitlab - - manual_config - - type: 'null' - git_clone_strategy: - oneOf: - - type: string - enum: - - azure_active_directory_app - - deploy_key - - deploy_token - - github_app - - git_token - - type: 'null' - deploy_key_id: - oneOf: - - type: integer - - type: 'null' - repository_credentials_id: - oneOf: - - type: integer - - type: 'null' - github_installation_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_secret: - oneOf: - - type: string - - type: 'null' - pull_request_url_template: - oneOf: - - type: string - pattern: ^(http|https)://(.*) - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - deploy_key: - oneOf: - - type: object - - type: 'null' - github_repo: - oneOf: - - type: string - - type: 'null' - name: - oneOf: - - type: string - - type: 'null' - git_provider_id: - oneOf: - - type: integer - - type: 'null' - gitlab: - oneOf: - - $ref: '#/definitions/RepositoryGitlab' - - type: 'null' - git_provider: - oneOf: - - $ref: '#/definitions/GitProvider' - - type: 'null' - additionalProperties: false - description: 'RepositoryV3(id: Union[int, NoneType], account_id: int, project_id: - Union[int, NoneType] = None, full_name: Union[str, NoneType] = None, remote_url: - Union[RemoteUrl, NoneType] = None, remote_backend: Union[models.repository.GitRemoteBackend, - NoneType] = None, git_clone_strategy: Union[models.repository.GitCloneStrategy, - NoneType] = None, deploy_key_id: Union[int, NoneType] = None, repository_credentials_id: - Union[int, NoneType] = None, github_installation_id: Union[int, NoneType] - = None, github_webhook_id: Union[int, NoneType] = None, github_webhook_secret: - Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, - NoneType] = None, git_provider: Union[models.git_provider.GitProvider, - NoneType] = None)' - RepositoryGitlab: - type: object - required: - - account_id - - gitlab_project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - repository_id: - oneOf: - - type: integer - - type: 'null' - gitlab_project_id: - type: integer - state: - type: integer - default: 1 - project_access_token_id: - oneOf: - - type: integer - - type: 'null' - project_access_token: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RepositoryGitlab(id: Union[int, NoneType], account_id: int, - repository_id: Union[int, NoneType], gitlab_project_id: int, state: int - = 1, project_access_token_id: Union[int, NoneType] = None, project_access_token: - Union[str, NoneType] = None, _project_access_token: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - GitProvider: - type: object - required: - - account_id - - provider_type - properties: - account_id: - type: integer - provider_type: - type: string - enum: - - azure_active_directory - - github - - gitlab - - git_url - - managed_github - - manual_config - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This class represents a git provider integration the\ - \ user\n has setup and will interact with via the dbt Cloud IDE.\n\ - \ " - GroupPermission: - type: object - required: - - account_id - - group_id - - all_projects - - permission_set - properties: - account_id: - type: integer - group_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - all_projects: - type: boolean - permission_set: - type: string - enum: - - owner - - member - - account_admin - - security_admin - - billing_admin - - admin - - database_admin - - git_admin - - team_admin - - job_admin - - job_viewer - - analyst - - developer - - stakeholder - - readonly - - project_creator - - account_viewer - - metadata_only - - semantic_layer_only - - webhooks_only - permission_level: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'GroupPermission(account_id: int, group_id: int, project_id: - Union[int, NoneType], all_projects: bool, permission_set: models.permissions.sets.PredefinedPermissionSet, - permission_level: Union[int, NoneType] = None, id: Union[int, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - JobDefinitionV2: - type: object - required: - - environment_id - - account_id - - project_id - - name - - generate_docs - - run_generate_sources - - state - properties: - environment_id: - type: integer - account_id: - type: integer - project_id: - type: integer - name: - type: string - generate_docs: - type: boolean - run_generate_sources: - type: boolean - state: - type: integer - dbt_version: - oneOf: - - type: string - - type: 'null' - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - deactivated: - type: boolean - default: false - run_failure_count: - type: integer - default: 0 - triggers: - oneOf: - - $ref: '#/definitions/JobDefinitionTriggers' - - type: 'null' - settings: - oneOf: - - $ref: '#/definitions/JobDefinitionSettings' - - type: 'null' - execution: - oneOf: - - $ref: '#/definitions/JobDefinitionExecution' - - type: 'null' - schedule: - oneOf: - - $ref: '#/definitions/JobDefinitionSchedule' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - execute_steps: - oneOf: - - type: array - items: - type: string - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - most_recent_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - most_recent_completed_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - job_type: - oneOf: - - type: string - enum: - - ci - - scheduled - - other - - type: 'null' - additionalProperties: false - description: 'JobDefinitionV2(environment_id: int, account_id: int, project_id: - int, name: str, generate_docs: bool, run_generate_sources: bool, state: - int, dbt_version: Union[str, NoneType], raw_dbt_version: Union[str, NoneType] - = None, id: Union[int, NoneType] = None, deactivated: bool = False, run_failure_count: - int = 0, triggers: Union[models.job_definition.JobDefinitionTriggers, - NoneType] = None, settings: Union[models.job_definition.JobDefinitionSettings, - NoneType] = None, execution: Union[models.job_definition.JobDefinitionExecution, - NoneType] = None, schedule: Union[models.job_definition.JobDefinitionSchedule, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, execute_steps: - Union[List[str], NoneType] = None, environment: ''Optional[models.environment.EnvironmentV3]'' - = None, most_recent_run: Union[models.run.Run, NoneType] = None, most_recent_completed_run: - Union[models.run.Run, NoneType] = None, custom_environment_variables: - Union[List[models.custom_environment_variable.CustomEnvironmentVariable], - NoneType] = None, job_type: Union[common.constants.JobType, NoneType] - = None)' - JobDefinitionTriggers: - type: object - required: - - github_webhook - - schedule - properties: - github_webhook: - type: boolean - schedule: - type: boolean - git_provider_webhook: - oneOf: - - type: boolean - - type: 'null' - custom_branch_only: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'JobDefinitionTriggers(github_webhook: bool, schedule: bool, - git_provider_webhook: Union[bool, NoneType] = None, custom_branch_only: - Union[bool, NoneType] = None)' - JobDefinitionSettings: - type: object - required: - - threads - - target_name - properties: - threads: - type: integer - target_name: - type: string - additionalProperties: false - description: 'JobDefinitionSettings(threads: int, target_name: str)' - JobDefinitionExecution: - type: object - required: - - timeout_seconds - properties: - timeout_seconds: - type: integer - additionalProperties: false - description: 'JobDefinitionExecution(timeout_seconds: int)' - JobDefinitionSchedule: - type: object - required: - - cron - - date - - time - properties: - cron: - type: string - date: - type: string - enum: - - every_day - - days_of_week - - custom_cron - time: - type: string - enum: - - every_hour - - at_exact_hours - additionalProperties: false - description: 'JobDefinitionSchedule(cron: str, date: models.job_definition.DateStrategy, - time: models.job_definition.TimeStrategy)' - EnvironmentV3: - type: object - required: - - account_id - - project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - credentials_id: - oneOf: - - type: integer - - type: 'null' - name: - type: string - default: New Environment - dbt_version: - type: string - default: 1.6.0-latest - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - type: - type: string - enum: - - development - - deployment - default: deployment - use_custom_branch: - type: boolean - default: false - custom_branch: - oneOf: - - type: string - - type: 'null' - supports_docs: - type: boolean - default: false - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - project: - oneOf: - - $ref: '#/definitions/Project' - - type: 'null' - jobs: - oneOf: - - type: array - items: - type: object - additionalProperties: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - - type: 'null' - credentials: - oneOf: - - $ref: '#/definitions/PostgresCredentials' - - $ref: '#/definitions/RedshiftCredentials' - - $ref: '#/definitions/SnowflakeCredentials' - - $ref: '#/definitions/BigqueryCredentials' - - $ref: '#/definitions/DbtAdapterCredentials' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - deployment_type: - oneOf: - - type: string - enum: - - production - - type: 'null' - additionalProperties: false - description: "\n An environment is a collection of settings within a\ - \ project that defines how dbt is run.\n Use it to define the version\ - \ controlled branch and warehouse connection that dbt will run on.\n \ - \ " - Project: - type: object - required: - - name - - account_id - properties: - name: - type: string - account_id: - type: integer - connection_id: - oneOf: - - type: integer - - type: 'null' - repository_id: - oneOf: - - type: integer - - type: 'null' - semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false - state: - type: integer - default: 1 - dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' - connection: - oneOf: - - $ref: '#/definitions/BaseConnectionV3' - - type: 'null' - repository: - oneOf: - - $ref: '#/definitions/RepositoryV3' - - type: 'null' - group_permissions: - oneOf: - - type: array - items: - $ref: '#/definitions/GroupPermission' - - type: 'null' - docs_job_id: - oneOf: - - type: integer - - type: 'null' - freshness_job_id: - oneOf: - - type: integer - - type: 'null' - docs_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - freshness_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: - int = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: - Union[models.connection.common.BaseConnectionV3, NoneType] = None, repository: - Union[models.repository.RepositoryV3, NoneType] = None, group_permissions: - Union[List[models.permissions.group_permission.GroupPermission], NoneType] - = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: Union[int, - NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - Run: - type: object - required: - - account_id - - environment_id - - project_id - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - trigger_id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - environment_id: - type: integer - project_id: - type: integer - job_definition_id: - type: integer - status: - type: integer - default: 1 - dbt_version: - type: string - default: 1.6.0-latest - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - status_message: - oneOf: - - type: string - - type: 'null' - owner_thread_id: - oneOf: - - type: string - - type: 'null' - executed_by_thread_id: - oneOf: - - type: string - - type: 'null' - deferring_run_id: - oneOf: - - type: integer - - type: 'null' - artifacts_saved: - type: boolean - default: false - artifact_s3_path: - oneOf: - - type: string - - type: 'null' - has_docs_generated: - type: boolean - default: false - has_sources_generated: - type: boolean - default: false - notifications_sent: - type: boolean - default: false - blocked_by: - type: array - items: - type: integer - default: [] - scribe_enabled: - type: boolean - default: false - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - dequeued_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_checked_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_heartbeat_at: - oneOf: - - type: string - format: date-time - - type: 'null' - should_start_at: - oneOf: - - type: string - format: date-time - - type: 'null' - trigger: - oneOf: - - $ref: '#/definitions/RunTrigger' - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - environment: - oneOf: - - type: object - - type: 'null' - run_steps: - oneOf: - - type: array - items: - $ref: '#/definitions/RunStep' - - type: 'null' - default: [] - status_humanized: - oneOf: - - type: string - - type: 'null' - in_progress: - oneOf: - - type: boolean - - type: 'null' - is_complete: - oneOf: - - type: boolean - - type: 'null' - is_success: - oneOf: - - type: boolean - - type: 'null' - is_error: - oneOf: - - type: boolean - - type: 'null' - is_cancelled: - oneOf: - - type: boolean - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - queued_duration: - oneOf: - - type: string - - type: 'null' - run_duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - queued_duration_humanized: - oneOf: - - type: string - - type: 'null' - run_duration_humanized: - oneOf: - - type: string - - type: 'null' - created_at_humanized: - oneOf: - - type: string - - type: 'null' - finished_at_humanized: - oneOf: - - type: string - - type: 'null' - job_id: - oneOf: - - type: integer - - type: 'null' - is_running: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: "\n Represents a run of a job definition.\n " - RunTrigger: - type: object - required: - - cause - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - cause: - type: string - job_definition_id: - type: integer - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - azure_pull_request_id: - oneOf: - - type: integer - - type: 'null' - github_pull_request_id: - oneOf: - - type: integer - - type: 'null' - gitlab_merge_request_id: - oneOf: - - type: integer - - type: 'null' - schema_override: - oneOf: - - type: string - - type: 'null' - dbt_version_override: - oneOf: - - type: string - - type: 'null' - threads_override: - oneOf: - - type: integer - - type: 'null' - target_name_override: - oneOf: - - type: string - - type: 'null' - generate_docs_override: - oneOf: - - type: boolean - - type: 'null' - timeout_seconds_override: - oneOf: - - type: integer - - type: 'null' - steps_override: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - cause_humanized: - oneOf: - - type: string - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - additionalProperties: false - description: 'RunTrigger(id: Union[int, NoneType], cause: str, job_definition_id: - int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] - = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: - Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None)' - RunStep: - type: object - required: - - run_id - - account_id - - index - - status - - name - properties: - id: - oneOf: - - type: integer - - type: 'null' - run_id: - type: integer - account_id: - type: integer - index: - type: integer - status: - type: integer - name: - type: string - logs: - oneOf: - - type: string - - type: 'null' - debug_logs: - oneOf: - - type: string - - type: 'null' - log_location: - oneOf: - - type: string - enum: - - legacy - - s3 - - db - - empty - - type: 'null' - default: db - log_path: - oneOf: - - type: string - - type: 'null' - debug_log_path: - oneOf: - - type: string - - type: 'null' - log_archive_type: - oneOf: - - type: string - - type: 'null' - default: db_flushed - truncated_debug_logs: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - status_color: - oneOf: - - type: string - - type: 'null' - status_humanized: - oneOf: - - type: string - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: - int, index: int, status: int, name: str, logs: Union[str, NoneType] = - None, debug_logs: Union[str, NoneType] = None, log_location: Union[models.run_step.RunStepLogLocation, - NoneType] = , log_path: Union[str, NoneType] - = None, debug_log_path: Union[str, NoneType] = None, log_archive_type: - Union[str, NoneType] = , truncated_debug_logs: - Union[str, NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, started_at: - Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, - NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: - Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' - PostgresCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - postgres - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'PostgresCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str = None, default_schema: str = - None, target_name: str = ''default'', password: Union[str, NoneType] = - None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - RedshiftCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - redshift - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RedshiftCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str, default_schema: str, target_name: - str = ''default'', password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - SnowflakeCredentials: - type: object - required: - - account_id - - type - - state - - threads - - auth_type - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - snowflake - state: - type: integer - threads: - type: integer - auth_type: - type: string - enum: - - password - - sso - - keypair - schema: - type: string - user: - oneOf: - - type: string - - type: 'null' - target_name: - type: string - default: default - role: - oneOf: - - type: string - - type: 'null' - database: - oneOf: - - type: string - - type: 'null' - warehouse: - oneOf: - - type: string - - type: 'null' - password: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - private_key_passphrase: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'SnowflakeCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, auth_type: models.credentials.snowflake.SnowflakeAuthenticationType, - schema: str, user: Union[str, NoneType] = None, target_name: str = ''default'', - role: Union[str, NoneType] = None, database: Union[str, NoneType] = None, - warehouse: Union[str, NoneType] = None, _refresh_token: Union[str, NoneType] - = None, password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, private_key: Union[str, NoneType] = None, _private_key: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - BigqueryCredentials: - type: object - required: - - account_id - - type - - state - - threads - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - bigquery - state: - type: integer - threads: - type: integer - schema: - type: string - target_name: - type: string - default: default - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - username: - oneOf: - - type: string - - type: 'null' - has_refresh_token: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'BigqueryCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, schema: str, target_name: str = ''default'', - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' - DbtAdapterCredentials: - type: object - required: - - account_id - - type - - state - - threads - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - adapter - state: - type: integer - threads: - type: integer - adapter_id: - oneOf: - - type: integer - - type: 'null' - credential_details: - oneOf: - - $ref: '#/definitions/BaseSparkAdapterCredentialsSchema' - - $ref: '#/definitions/DatabricksCredentialsSchema' - - $ref: '#/definitions/TrinoCredentialsSchema' - - type: 'null' - unencrypted_credential_details: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: 'null' - target_name: - type: string - default: default - adapter: - oneOf: - - $ref: '#/definitions/DbtAdapter' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, adapter_id: Union[int, NoneType], credential_details: - Union[schemas.adapters.base_spark.BaseSparkAdapterCredentialsSchema, schemas.adapters.databricks.credentials_schema.DatabricksCredentialsSchema, - schemas.adapters.trino.credentials_schema.TrinoCredentialsSchema, NoneType] - = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' - BaseSparkAdapterCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/BaseSparkAdapterCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'BaseSparkAdapterCredentialsSchema(fields: schemas.adapters.base_spark.BaseSparkAdapterCredentialFields - = BaseSparkAdapterCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - BaseSparkAdapterCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'BaseSparkAdapterCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DatabricksCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'DatabricksCredentialsSchema(fields: schemas.adapters.databricks.credentials_schema.DatabricksCredentialFields - = DatabricksCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - Union[List[str], NoneType] = None)' - DatabricksCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TrinoCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoCredentialFields' - default: - user: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'TrinoCredentialsSchema(fields: schemas.adapters.trino.credentials_schema.TrinoCredentialFields - = TrinoCredentialFields(user=TextField(metadata=TextFieldMetadata(label=''User'', - description=''The username of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password=TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - TrinoCredentialFields: - type: object - required: [] - properties: - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - $ref: '#/definitions/TextField' - default: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - $ref: '#/definitions/TextField' - default: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'TrinoCredentialFields(user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description=''The - username of the account to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DbtAdapter: - type: object - required: - - account_id - - project_id - - adapter_version - - metadata_json - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - adapter_version: - type: string - enum: - - apache_spark_v0 - - databricks_spark_v0 - - databricks_v0 - - trino_v0 - - snowflake_v0 - - bigquery_v0 - - postgres_v0 - - redshift_v0 - metadata_json: - type: object - additionalProperties: - type: string - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapter(id: Union[int, NoneType], account_id: int, project_id: - int, created_by_id: Union[int, NoneType], created_by_service_token_id: - Union[int, NoneType], adapter_version: schemas.adapter.DbtAdapterVersion, - metadata_json: Dict[str, str], state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' - CustomEnvironmentVariable: - type: object - required: - - account_id - - project_id - - name - - type - properties: - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - project - - environment - - job - - user - state: - oneOf: - - type: integer - - type: 'null' - default: 1 - user_id: - oneOf: - - type: integer - - type: 'null' - environment_id: - oneOf: - - type: integer - - type: 'null' - job_definition_id: - oneOf: - - type: integer - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - raw_value: - oneOf: - - type: string - - type: 'null' - display_value: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This model represents a user-defined environment variable,\ - \ which can be\n set on the account, job or user-level and leveraged\ - \ in both the IDE and\n scheduled Runs.\n " - $schema: http://json-schema.org/draft-07/schema# - RepositoryV3: + type: integer + docs_job: + $ref: '#/components/schemas/JobDefinitionV2Request' + freshness_job: + $ref: '#/components/schemas/JobDefinitionV2Request' + required: + - account_id + - name + - state + RepositoryGitlab: + type: object + properties: + id: + type: integer + account_id: + type: integer + repository_id: + type: integer + gitlab_project_id: + type: integer + state: + type: integer + project_access_token_id: + type: integer + project_access_token: + type: string + _project_access_token: + allOf: + - $ref: '#/components/schemas/DataclassEncryptedField' + title: ' project access token' + required: + - account_id + - gitlab_project_id + - state + RepositoryGitlabRequest: type: object + properties: + id: + type: integer + account_id: + type: integer + repository_id: + type: integer + gitlab_project_id: + type: integer + state: + type: integer + project_access_token_id: + type: integer + project_access_token: + type: string + minLength: 1 + _project_access_token: + allOf: + - $ref: '#/components/schemas/DataclassEncryptedFieldRequest' + title: ' project access token' required: - account_id + - gitlab_project_id + - state + RepositoryV3: + type: object properties: id: - oneOf: - - type: integer - - type: 'null' + type: integer account_id: type: integer project_id: - oneOf: - - type: integer - - type: 'null' + type: integer full_name: - oneOf: - - type: string - - type: 'null' - remote_url: - oneOf: - - type: string - pattern: ^\S+[/:](?P[^\s/]+?)(?:\.git)?$ - - type: 'null' - remote_backend: - oneOf: - - type: string - enum: - - azure_active_directory - - github - - managed - - gitlab - - manual_config - - type: 'null' - git_clone_strategy: - oneOf: - - type: string - enum: - - azure_active_directory_app - - deploy_key - - deploy_token - - github_app - - git_token - - type: 'null' + type: string deploy_key_id: - oneOf: - - type: integer - - type: 'null' + type: integer repository_credentials_id: - oneOf: - - type: integer - - type: 'null' + type: integer github_installation_id: - oneOf: - - type: integer - - type: 'null' + type: integer github_webhook_id: - oneOf: - - type: integer - - type: 'null' - pull_request_url_template: - oneOf: - - type: string - pattern: ^(http|https)://(.*) - - type: 'null' + type: integer + github_webhook_secret: + type: string + _github_webhook_secret: + allOf: + - $ref: '#/components/schemas/DataclassEncryptedField' + title: ' github webhook secret' state: type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - deploy_key: - oneOf: - - type: object - - type: 'null' - readOnly: true github_repo: - oneOf: - - type: string - - type: 'null' - readOnly: true + type: string name: - oneOf: - - type: string - - type: 'null' - readOnly: true + type: string git_provider_id: - oneOf: - - type: integer - - type: 'null' + type: integer gitlab: - oneOf: - - $ref: '#/definitions/RepositoryGitlab' - - type: 'null' + $ref: '#/components/schemas/RepositoryGitlab' git_provider: - oneOf: - - $ref: '#/definitions/GitProvider' - - type: 'null' - additionalProperties: false - description: 'RepositoryV3(id: Union[int, NoneType], account_id: int, project_id: - Union[int, NoneType] = None, full_name: Union[str, NoneType] = None, remote_url: - Union[RemoteUrl, NoneType] = None, remote_backend: Union[models.repository.GitRemoteBackend, - NoneType] = None, git_clone_strategy: Union[models.repository.GitCloneStrategy, - NoneType] = None, deploy_key_id: Union[int, NoneType] = None, repository_credentials_id: - Union[int, NoneType] = None, github_installation_id: Union[int, NoneType] - = None, github_webhook_id: Union[int, NoneType] = None, github_webhook_secret: - Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: Union[Dict[Any, - Any], NoneType] = None, github_repo: Union[str, NoneType] = None, name: Union[str, - NoneType] = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, - NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] - = None)' - definitions: - BaseConnectionV3: - type: object - required: - - account_id - - project_id - - name - - type - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - postgres - - redshift - - snowflake - - bigquery - - adapter - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - details: - oneOf: - - oneOf: - - $ref: '#/definitions/PostgresConnectionV3' - - $ref: '#/definitions/SnowflakeConnectionV3' - - $ref: '#/definitions/BigqueryConnectionV3' - - $ref: '#/definitions/DbtAdapterConnection' - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - private_link_endpoint_id: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BaseConnectionV3(id: Union[int, NoneType], account_id: int, - project_id: int, name: str, type: models.connection.common.ConnectionType, - created_by_id: Union[int, NoneType] = None, created_by_service_token_id: - Union[int, NoneType] = None, details: Union[ForwardRef(''AnyConnection''), - NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None, - private_link_endpoint_id: Union[str, NoneType] = None)' - PostgresConnectionV3: - type: object - required: - - hostname - - dbname - - port - - tunnel_enabled - properties: - hostname: - type: string - dbname: - type: string - port: - type: integer - tunnel_enabled: - type: boolean - encryption: - oneOf: - - $ref: '#/definitions/ConnectionEncryption' - - type: 'null' - additionalProperties: false - description: 'PostgresConnectionV3(hostname: str, dbname: str, port: int, - tunnel_enabled: bool, encryption: Union[models.connection.encryption.ConnectionEncryption, - NoneType] = None)' - ConnectionEncryption: - type: object - required: - - account_id - - connection_id - - username - - port - - hostname - properties: - account_id: - type: integer - connection_id: - type: integer - username: - type: string - port: - type: integer - hostname: - type: string - public_key: - oneOf: - - type: string - - type: 'null' - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'ConnectionEncryption(account_id: int, connection_id: int, - username: str, port: int, hostname: str, public_key: Union[str, NoneType] - = None, state: int = 1, id: Union[int, NoneType] = None, private_key: - Union[str, NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None)' - SnowflakeConnectionV3: - type: object - required: - - account - - database - - warehouse - - allow_sso - - client_session_keep_alive - properties: - account: - type: string - database: - type: string - warehouse: - type: string - allow_sso: - type: boolean - client_session_keep_alive: - type: boolean - role: - oneOf: - - type: string - - type: 'null' - oauth_client_id: - oneOf: - - type: string - - type: 'null' - oauth_client_secret: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SnowflakeConnectionV3(account: str, database: str, warehouse: - str, allow_sso: bool, client_session_keep_alive: bool, role: Union[str, - NoneType] = None, oauth_client_id: Union[str, NoneType] = None, _oauth_client_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - oauth_client_secret: Union[str, NoneType] = None, _oauth_client_secret: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None)' - BigqueryConnectionV3: - type: object - required: - - project_id - - timeout_seconds - - private_key_id - - client_email - - client_id - - auth_uri - - token_uri - - auth_provider_x509_cert_url - - client_x509_cert_url - properties: - project_id: - type: string - timeout_seconds: - type: integer - private_key_id: - type: string - client_email: - type: string - client_id: - type: string - auth_uri: - type: string - token_uri: - type: string - auth_provider_x509_cert_url: - type: string - client_x509_cert_url: - type: string - priority: - oneOf: - - type: string - - type: 'null' - retries: - type: integer - default: 1 - scopes: - oneOf: - - type: array - items: - type: string - - type: 'null' - location: - oneOf: - - type: string - - type: 'null' - maximum_bytes_billed: - oneOf: - - type: integer - - type: 'null' - execution_project: - oneOf: - - type: string - - type: 'null' - impersonate_service_account: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - job_retry_deadline_seconds: - oneOf: - - type: integer - - type: 'null' - job_creation_timeout_seconds: - oneOf: - - type: integer - - type: 'null' - application_id: - oneOf: - - type: string - - type: 'null' - application_secret: - oneOf: - - type: string - - type: 'null' - is_configured_for_oauth: - type: boolean - default: false - gcs_bucket: - oneOf: - - type: string - - type: 'null' - dataproc_region: - oneOf: - - type: string - - type: 'null' - dataproc_cluster_name: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BigqueryConnectionV3(project_id: str, timeout_seconds: int, - private_key_id: str, client_email: str, client_id: str, auth_uri: str, - token_uri: str, auth_provider_x509_cert_url: str, client_x509_cert_url: - str, priority: Union[str, NoneType] = None, retries: int = 1, scopes: - Union[List[str], NoneType] = None, location: Union[str, NoneType] = None, - maximum_bytes_billed: Union[int, NoneType] = None, execution_project: - Union[str, NoneType] = None, impersonate_service_account: Union[str, NoneType] - = None, private_key: Union[str, NoneType] = None, job_retry_deadline_seconds: - Union[int, NoneType] = None, job_creation_timeout_seconds: Union[int, - NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, application_id: Union[str, NoneType] = None, application_secret: - Union[str, NoneType] = None, is_configured_for_oauth: bool = False, _application_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - _application_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, gcs_bucket: Union[str, NoneType] = None, dataproc_region: - Union[str, NoneType] = None, dataproc_cluster_name: Union[str, NoneType] - = None)' - DbtAdapterConnection: - type: object - required: - - connection_details - properties: - adapter_id: - oneOf: - - type: integer - - type: 'null' - connection_details: - oneOf: - - $ref: '#/definitions/ApacheSparkConnectionSchema' - - $ref: '#/definitions/DatabricksSparkConnectionSchema' - - $ref: '#/definitions/DatabricksConnectionSchema' - - $ref: '#/definitions/TrinoConnectionSchema' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterConnection(adapter_id: Union[int, NoneType], connection_details: - Union[schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionSchema, - schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionSchema, - schemas.adapters.databricks.connection_schema.DatabricksConnectionSchema, - schemas.adapters.trino.connection_schema.TrinoConnectionSchema], created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - ApacheSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/ApacheSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'ApacheSparkConnectionSchema(fields: schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionFields - = ApacheSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''HTTP'', value=''http''), - SelectOption(label=''Thrift'', value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''Port number of host.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description=''Organization id'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), auth=TextField(metadata=TextFieldMetadata(label=''Auth'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - ApacheSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - $ref: '#/definitions/TextField' - default: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'ApacheSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''HTTP'', value=''http''), SelectOption(label=''Thrift'', - value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''Port - number of host.'', field_type=''number'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization: Union[schemas.fields.TextField.TextField, NoneType] - = TextField(metadata=TextFieldMetadata(label=''Organization'', description=''Organization - id'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), auth: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Auth'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TextField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: string - additionalProperties: false - description: 'TextField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: str = None)' - TextFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: text - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'TextFieldMetadata(label: str, description: str, field_type: - str = ''text'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - validation: schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - GenericTextValidation: - type: object - required: [] - properties: - min_length: - oneOf: - - type: integer - - type: 'null' - max_length: - oneOf: - - type: integer - - type: 'null' - required: - oneOf: - - type: boolean - - type: 'null' - default: false - pattern: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'GenericTextValidation(min_length: Union[int, NoneType] = None, - max_length: Union[int, NoneType] = None, required: Union[bool, NoneType] - = False, pattern: Union[str, NoneType] = None)' - SelectField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/SelectFieldMetadata' - value: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SelectField(metadata: schemas.fields.SelectField.SelectFieldMetadata, - value: Union[str, NoneType] = None)' - SelectFieldMetadata: - type: object - required: - - label - - description - - options - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: select - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - options: - type: array - items: - $ref: '#/definitions/SelectOption' - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'SelectFieldMetadata(label: str, description: str, field_type: - str = ''select'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - options: List[schemas.fields.SelectField.SelectOption] = None, validation: - schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - SelectOption: - type: object - required: - - label - - value - properties: - label: - type: string - value: - oneOf: - - type: string - - type: integer - additionalProperties: false - description: 'SelectOption(label: str, value: Union[str, int])' - LegacyIntegerField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: integer - additionalProperties: false - description: 'LegacyIntegerField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: int = None)' - DatabricksSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect - to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if - using a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if - using Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksSparkConnectionSchema(fields: schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionFields - = DatabricksSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''ODBC'', value=''odbc'')], - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''odbc''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to Databricks for this connection.'', - field_type=''number'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericIntegerValidation(required=True)), value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint=TextField(metadata=TextFieldMetadata(label=''Endpoint'', - description=''The ID of the endpoint to connect to (required if using - Databricks SQL Analytics)'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', - description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - DatabricksSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if using - a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - $ref: '#/definitions/TextField' - default: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if using - Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - $ref: '#/definitions/TextField' - default: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''ODBC'', value=''odbc'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''odbc''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to Databricks for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Endpoint'', description=''The - ID of the endpoint to connect to (required if using Databricks SQL Analytics)'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), driver: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Driver'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization: Union[schemas.fields.TextField.TextField, NoneType] = TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''))' - DatabricksConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksConnectionSchema(fields: schemas.adapters.databricks.connection_schema.DatabricksConnectionFields - = DatabricksConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''databricks''), - host=TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path=TextField(metadata=TextFieldMetadata(label=''HTTP Path'', description=''The - HTTP path of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_http_path'')), value=''''), - catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value='''')), field_order: List[str] = - )' - DatabricksConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - $ref: '#/definitions/TextField' - default: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''databricks''), host: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''HTTP - Path'', description=''The HTTP path of the Databricks cluster or SQL warehouse.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_http_path'')), value=''''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value=''''))' - TrinoConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'TrinoConnectionSchema(fields: schemas.adapters.trino.connection_schema.TrinoConnectionFields - = TrinoConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''trino''), method=TextField(metadata=TextFieldMetadata(label=''Method'', - description=''The auth method to use.'', field_type=''hidden'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host=TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443)), field_order: List[str] = )' - TrinoConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - $ref: '#/definitions/TextField' - default: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - additionalProperties: false - description: 'TrinoConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''trino''), method: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Method'', description=''The - auth method to use.'', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443))' - RepositoryV3: - type: object - required: - - account_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - full_name: - oneOf: - - type: string - - type: 'null' - remote_url: - oneOf: - - type: string - pattern: ^\S+[/:](?P[^\s/]+?)(?:\.git)?$ - - type: 'null' - remote_backend: - oneOf: - - type: string - enum: - - azure_active_directory - - github - - managed - - gitlab - - manual_config - - type: 'null' - git_clone_strategy: - oneOf: - - type: string - enum: - - azure_active_directory_app - - deploy_key - - deploy_token - - github_app - - git_token - - type: 'null' - deploy_key_id: - oneOf: - - type: integer - - type: 'null' - repository_credentials_id: - oneOf: - - type: integer - - type: 'null' - github_installation_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_id: - oneOf: - - type: integer - - type: 'null' - pull_request_url_template: - oneOf: - - type: string - pattern: ^(http|https)://(.*) - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - deploy_key: - oneOf: - - type: object - - type: 'null' - readOnly: true - github_repo: - oneOf: - - type: string - - type: 'null' - readOnly: true - name: - oneOf: - - type: string - - type: 'null' - readOnly: true - git_provider_id: - oneOf: - - type: integer - - type: 'null' - gitlab: - oneOf: - - $ref: '#/definitions/RepositoryGitlab' - - type: 'null' - git_provider: - oneOf: - - $ref: '#/definitions/GitProvider' - - type: 'null' - additionalProperties: false - description: 'RepositoryV3(id: Union[int, NoneType], account_id: int, project_id: - Union[int, NoneType] = None, full_name: Union[str, NoneType] = None, remote_url: - Union[RemoteUrl, NoneType] = None, remote_backend: Union[models.repository.GitRemoteBackend, - NoneType] = None, git_clone_strategy: Union[models.repository.GitCloneStrategy, - NoneType] = None, deploy_key_id: Union[int, NoneType] = None, repository_credentials_id: - Union[int, NoneType] = None, github_installation_id: Union[int, NoneType] - = None, github_webhook_id: Union[int, NoneType] = None, github_webhook_secret: - Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, - NoneType] = None, git_provider: Union[models.git_provider.GitProvider, - NoneType] = None)' - RepositoryGitlab: - type: object - required: - - account_id - - gitlab_project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - repository_id: - oneOf: - - type: integer - - type: 'null' - gitlab_project_id: - type: integer - state: - type: integer - default: 1 - project_access_token_id: - oneOf: - - type: integer - - type: 'null' - project_access_token: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RepositoryGitlab(id: Union[int, NoneType], account_id: int, - repository_id: Union[int, NoneType], gitlab_project_id: int, state: int - = 1, project_access_token_id: Union[int, NoneType] = None, project_access_token: - Union[str, NoneType] = None, _project_access_token: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - GitProvider: - type: object - required: - - account_id - - provider_type - properties: - account_id: - type: integer - provider_type: - type: string - enum: - - azure_active_directory - - github - - gitlab - - git_url - - managed_github - - manual_config - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This class represents a git provider integration the\ - \ user\n has setup and will interact with via the dbt Cloud IDE.\n\ - \ " - GroupPermission: - type: object - required: - - account_id - - group_id - - all_projects - - permission_set - properties: - account_id: - type: integer - group_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - all_projects: - type: boolean - permission_set: - type: string - enum: - - owner - - member - - account_admin - - security_admin - - billing_admin - - admin - - database_admin - - git_admin - - team_admin - - job_admin - - job_viewer - - analyst - - developer - - stakeholder - - readonly - - project_creator - - account_viewer - - metadata_only - - semantic_layer_only - - webhooks_only - permission_level: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'GroupPermission(account_id: int, group_id: int, project_id: - Union[int, NoneType], all_projects: bool, permission_set: models.permissions.sets.PredefinedPermissionSet, - permission_level: Union[int, NoneType] = None, id: Union[int, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - JobDefinitionV2: - type: object - required: - - environment_id - - account_id - - project_id - - name - - generate_docs - - run_generate_sources - - state - properties: - environment_id: - type: integer - account_id: - type: integer - project_id: - type: integer - name: - type: string - generate_docs: - type: boolean - run_generate_sources: - type: boolean - state: - type: integer - dbt_version: - oneOf: - - type: string - - type: 'null' - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - deactivated: - type: boolean - default: false - run_failure_count: - type: integer - default: 0 - triggers: - oneOf: - - $ref: '#/definitions/JobDefinitionTriggers' - - type: 'null' - settings: - oneOf: - - $ref: '#/definitions/JobDefinitionSettings' - - type: 'null' - execution: - oneOf: - - $ref: '#/definitions/JobDefinitionExecution' - - type: 'null' - schedule: - oneOf: - - $ref: '#/definitions/JobDefinitionSchedule' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - execute_steps: - oneOf: - - type: array - items: - type: string - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - most_recent_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - most_recent_completed_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - job_type: - oneOf: - - type: string - enum: - - ci - - scheduled - - other - - type: 'null' - additionalProperties: false - description: 'JobDefinitionV2(environment_id: int, account_id: int, project_id: - int, name: str, generate_docs: bool, run_generate_sources: bool, state: - int, dbt_version: Union[str, NoneType], raw_dbt_version: Union[str, NoneType] - = None, id: Union[int, NoneType] = None, deactivated: bool = False, run_failure_count: - int = 0, triggers: Union[models.job_definition.JobDefinitionTriggers, - NoneType] = None, settings: Union[models.job_definition.JobDefinitionSettings, - NoneType] = None, execution: Union[models.job_definition.JobDefinitionExecution, - NoneType] = None, schedule: Union[models.job_definition.JobDefinitionSchedule, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, execute_steps: - Union[List[str], NoneType] = None, environment: ''Optional[models.environment.EnvironmentV3]'' - = None, most_recent_run: Union[models.run.Run, NoneType] = None, most_recent_completed_run: - Union[models.run.Run, NoneType] = None, custom_environment_variables: - Union[List[models.custom_environment_variable.CustomEnvironmentVariable], - NoneType] = None, job_type: Union[common.constants.JobType, NoneType] - = None)' - JobDefinitionTriggers: - type: object - required: - - github_webhook - - schedule - properties: - github_webhook: - type: boolean - schedule: - type: boolean - git_provider_webhook: - oneOf: - - type: boolean - - type: 'null' - custom_branch_only: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'JobDefinitionTriggers(github_webhook: bool, schedule: bool, - git_provider_webhook: Union[bool, NoneType] = None, custom_branch_only: - Union[bool, NoneType] = None)' - JobDefinitionSettings: - type: object - required: - - threads - - target_name - properties: - threads: - type: integer - target_name: - type: string - additionalProperties: false - description: 'JobDefinitionSettings(threads: int, target_name: str)' - JobDefinitionExecution: - type: object - required: - - timeout_seconds - properties: - timeout_seconds: - type: integer - additionalProperties: false - description: 'JobDefinitionExecution(timeout_seconds: int)' - JobDefinitionSchedule: - type: object - required: - - cron - - date - - time - properties: - cron: - type: string - date: - type: string - enum: - - every_day - - days_of_week - - custom_cron - time: - type: string - enum: - - every_hour - - at_exact_hours - additionalProperties: false - description: 'JobDefinitionSchedule(cron: str, date: models.job_definition.DateStrategy, - time: models.job_definition.TimeStrategy)' - EnvironmentV3: - type: object - required: - - account_id - - project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - credentials_id: - oneOf: - - type: integer - - type: 'null' - name: - type: string - default: New Environment - dbt_version: - type: string - default: 1.6.0-latest - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - type: - type: string - enum: - - development - - deployment - default: deployment - use_custom_branch: - type: boolean - default: false - custom_branch: - oneOf: - - type: string - - type: 'null' - supports_docs: - type: boolean - default: false - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - project: - oneOf: - - $ref: '#/definitions/Project' - - type: 'null' - jobs: - oneOf: - - type: array - items: - type: object - additionalProperties: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - - type: 'null' - credentials: - oneOf: - - $ref: '#/definitions/PostgresCredentials' - - $ref: '#/definitions/RedshiftCredentials' - - $ref: '#/definitions/SnowflakeCredentials' - - $ref: '#/definitions/BigqueryCredentials' - - $ref: '#/definitions/DbtAdapterCredentials' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - deployment_type: - oneOf: - - type: string - enum: - - production - - type: 'null' - additionalProperties: false - description: "\n An environment is a collection of settings within a\ - \ project that defines how dbt is run.\n Use it to define the version\ - \ controlled branch and warehouse connection that dbt will run on.\n \ - \ " - Project: - type: object - required: - - name - - account_id - properties: - name: - type: string - account_id: - type: integer - connection_id: - oneOf: - - type: integer - - type: 'null' - repository_id: - oneOf: - - type: integer - - type: 'null' - semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false - state: - type: integer - default: 1 - dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' - connection: - oneOf: - - $ref: '#/definitions/BaseConnectionV3' - - type: 'null' - repository: - oneOf: - - $ref: '#/definitions/RepositoryV3' - - type: 'null' - group_permissions: - oneOf: - - type: array - items: - $ref: '#/definitions/GroupPermission' - - type: 'null' - docs_job_id: - oneOf: - - type: integer - - type: 'null' - freshness_job_id: - oneOf: - - type: integer - - type: 'null' - docs_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - freshness_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: - int = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: - Union[models.connection.common.BaseConnectionV3, NoneType] = None, repository: - Union[models.repository.RepositoryV3, NoneType] = None, group_permissions: - Union[List[models.permissions.group_permission.GroupPermission], NoneType] - = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: Union[int, - NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - Run: - type: object - required: - - account_id - - environment_id - - project_id - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - trigger_id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - environment_id: - type: integer - project_id: - type: integer - job_definition_id: - type: integer - status: - type: integer - default: 1 - dbt_version: - type: string - default: 1.6.0-latest - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - status_message: - oneOf: - - type: string - - type: 'null' - owner_thread_id: - oneOf: - - type: string - - type: 'null' - executed_by_thread_id: - oneOf: - - type: string - - type: 'null' - deferring_run_id: - oneOf: - - type: integer - - type: 'null' - artifacts_saved: - type: boolean - default: false - artifact_s3_path: - oneOf: - - type: string - - type: 'null' - has_docs_generated: - type: boolean - default: false - has_sources_generated: - type: boolean - default: false - notifications_sent: - type: boolean - default: false - blocked_by: - type: array - items: - type: integer - default: [] - scribe_enabled: - type: boolean - default: false - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - dequeued_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_checked_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_heartbeat_at: - oneOf: - - type: string - format: date-time - - type: 'null' - should_start_at: - oneOf: - - type: string - format: date-time - - type: 'null' - trigger: - oneOf: - - $ref: '#/definitions/RunTrigger' - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - environment: - oneOf: - - type: object - - type: 'null' - run_steps: - oneOf: - - type: array - items: - $ref: '#/definitions/RunStep' - - type: 'null' - default: [] - status_humanized: - oneOf: - - type: string - - type: 'null' - in_progress: - oneOf: - - type: boolean - - type: 'null' - is_complete: - oneOf: - - type: boolean - - type: 'null' - is_success: - oneOf: - - type: boolean - - type: 'null' - is_error: - oneOf: - - type: boolean - - type: 'null' - is_cancelled: - oneOf: - - type: boolean - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - queued_duration: - oneOf: - - type: string - - type: 'null' - run_duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - queued_duration_humanized: - oneOf: - - type: string - - type: 'null' - run_duration_humanized: - oneOf: - - type: string - - type: 'null' - created_at_humanized: - oneOf: - - type: string - - type: 'null' - finished_at_humanized: - oneOf: - - type: string - - type: 'null' - job_id: - oneOf: - - type: integer - - type: 'null' - is_running: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: "\n Represents a run of a job definition.\n " - RunTrigger: - type: object - required: - - cause - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - cause: - type: string - job_definition_id: - type: integer - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - azure_pull_request_id: - oneOf: - - type: integer - - type: 'null' - github_pull_request_id: - oneOf: - - type: integer - - type: 'null' - gitlab_merge_request_id: - oneOf: - - type: integer - - type: 'null' - schema_override: - oneOf: - - type: string - - type: 'null' - dbt_version_override: - oneOf: - - type: string - - type: 'null' - threads_override: - oneOf: - - type: integer - - type: 'null' - target_name_override: - oneOf: - - type: string - - type: 'null' - generate_docs_override: - oneOf: - - type: boolean - - type: 'null' - timeout_seconds_override: - oneOf: - - type: integer - - type: 'null' - steps_override: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - cause_humanized: - oneOf: - - type: string - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - additionalProperties: false - description: 'RunTrigger(id: Union[int, NoneType], cause: str, job_definition_id: - int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] - = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: - Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None)' - RunStep: - type: object - required: - - run_id - - account_id - - index - - status - - name - properties: - id: - oneOf: - - type: integer - - type: 'null' - run_id: - type: integer - account_id: - type: integer - index: - type: integer - status: - type: integer - name: - type: string - logs: - oneOf: - - type: string - - type: 'null' - debug_logs: - oneOf: - - type: string - - type: 'null' - log_location: - oneOf: - - type: string - enum: - - legacy - - s3 - - db - - empty - - type: 'null' - default: db - log_path: - oneOf: - - type: string - - type: 'null' - debug_log_path: - oneOf: - - type: string - - type: 'null' - log_archive_type: - oneOf: - - type: string - - type: 'null' - default: db_flushed - truncated_debug_logs: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - status_color: - oneOf: - - type: string - - type: 'null' - status_humanized: - oneOf: - - type: string - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: - int, index: int, status: int, name: str, logs: Union[str, NoneType] = - None, debug_logs: Union[str, NoneType] = None, log_location: Union[models.run_step.RunStepLogLocation, - NoneType] = , log_path: Union[str, NoneType] - = None, debug_log_path: Union[str, NoneType] = None, log_archive_type: - Union[str, NoneType] = , truncated_debug_logs: - Union[str, NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, started_at: - Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, - NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: - Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' - PostgresCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - postgres - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'PostgresCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str = None, default_schema: str = - None, target_name: str = ''default'', password: Union[str, NoneType] = - None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - RedshiftCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - redshift - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RedshiftCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str, default_schema: str, target_name: - str = ''default'', password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - SnowflakeCredentials: - type: object - required: - - account_id - - type - - state - - threads - - auth_type - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - snowflake - state: - type: integer - threads: - type: integer - auth_type: - type: string - enum: - - password - - sso - - keypair - schema: - type: string - user: - oneOf: - - type: string - - type: 'null' - target_name: - type: string - default: default - role: - oneOf: - - type: string - - type: 'null' - database: - oneOf: - - type: string - - type: 'null' - warehouse: - oneOf: - - type: string - - type: 'null' - password: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - private_key_passphrase: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'SnowflakeCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, auth_type: models.credentials.snowflake.SnowflakeAuthenticationType, - schema: str, user: Union[str, NoneType] = None, target_name: str = ''default'', - role: Union[str, NoneType] = None, database: Union[str, NoneType] = None, - warehouse: Union[str, NoneType] = None, _refresh_token: Union[str, NoneType] - = None, password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, private_key: Union[str, NoneType] = None, _private_key: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - BigqueryCredentials: - type: object - required: - - account_id - - type - - state - - threads - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - bigquery - state: - type: integer - threads: - type: integer - schema: - type: string - target_name: - type: string - default: default - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - username: - oneOf: - - type: string - - type: 'null' - has_refresh_token: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'BigqueryCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, schema: str, target_name: str = ''default'', - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' - DbtAdapterCredentials: - type: object - required: - - account_id - - type - - state - - threads - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - adapter - state: - type: integer - threads: - type: integer - adapter_id: - oneOf: - - type: integer - - type: 'null' - credential_details: - oneOf: - - $ref: '#/definitions/BaseSparkAdapterCredentialsSchema' - - $ref: '#/definitions/DatabricksCredentialsSchema' - - $ref: '#/definitions/TrinoCredentialsSchema' - - type: 'null' - unencrypted_credential_details: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: 'null' - target_name: - type: string - default: default - adapter: - oneOf: - - $ref: '#/definitions/DbtAdapter' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, adapter_id: Union[int, NoneType], credential_details: - Union[schemas.adapters.base_spark.BaseSparkAdapterCredentialsSchema, schemas.adapters.databricks.credentials_schema.DatabricksCredentialsSchema, - schemas.adapters.trino.credentials_schema.TrinoCredentialsSchema, NoneType] - = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' - BaseSparkAdapterCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/BaseSparkAdapterCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'BaseSparkAdapterCredentialsSchema(fields: schemas.adapters.base_spark.BaseSparkAdapterCredentialFields - = BaseSparkAdapterCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - BaseSparkAdapterCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'BaseSparkAdapterCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DatabricksCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'DatabricksCredentialsSchema(fields: schemas.adapters.databricks.credentials_schema.DatabricksCredentialFields - = DatabricksCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - Union[List[str], NoneType] = None)' - DatabricksCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TrinoCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoCredentialFields' - default: - user: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'TrinoCredentialsSchema(fields: schemas.adapters.trino.credentials_schema.TrinoCredentialFields - = TrinoCredentialFields(user=TextField(metadata=TextFieldMetadata(label=''User'', - description=''The username of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password=TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - TrinoCredentialFields: - type: object - required: [] - properties: - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - $ref: '#/definitions/TextField' - default: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - $ref: '#/definitions/TextField' - default: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'TrinoCredentialFields(user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description=''The - username of the account to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DbtAdapter: - type: object - required: - - account_id - - project_id - - adapter_version - - metadata_json - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - adapter_version: - type: string - enum: - - apache_spark_v0 - - databricks_spark_v0 - - databricks_v0 - - trino_v0 - - snowflake_v0 - - bigquery_v0 - - postgres_v0 - - redshift_v0 - metadata_json: - type: object - additionalProperties: - type: string - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapter(id: Union[int, NoneType], account_id: int, project_id: - int, created_by_id: Union[int, NoneType], created_by_service_token_id: - Union[int, NoneType], adapter_version: schemas.adapter.DbtAdapterVersion, - metadata_json: Dict[str, str], state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' - CustomEnvironmentVariable: - type: object - required: - - account_id - - project_id - - name - - type - properties: - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - project - - environment - - job - - user - state: - oneOf: - - type: integer - - type: 'null' - default: 1 - user_id: - oneOf: - - type: integer - - type: 'null' - environment_id: - oneOf: - - type: integer - - type: 'null' - job_definition_id: - oneOf: - - type: integer - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - raw_value: - oneOf: - - type: string - - type: 'null' - display_value: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This model represents a user-defined environment variable,\ - \ which can be\n set on the account, job or user-level and leveraged\ - \ in both the IDE and\n scheduled Runs.\n " - $schema: http://json-schema.org/draft-07/schema# + $ref: '#/components/schemas/GitProvider' + required: + - account_id + - state RepositoryV3Enveloped: type: object properties: data: - type: array - items: - $ref: '#/components/schemas/RepositoryV3' + $ref: '#/components/schemas/RepositoryV3' status: $ref: '#/components/schemas/Status' required: @@ -45512,3817 +4560,203 @@ components: - status RepositoryV3Request: type: object - required: - - account_id properties: id: - oneOf: - - type: integer - - type: 'null' + type: integer account_id: type: integer project_id: - oneOf: - - type: integer - - type: 'null' + type: integer full_name: - oneOf: - - type: string - - type: 'null' - remote_url: - oneOf: - - type: string - pattern: ^\S+[/:](?P[^\s/]+?)(?:\.git)?$ - - type: 'null' - remote_backend: - oneOf: - - type: string - enum: - - azure_active_directory - - github - - managed - - gitlab - - manual_config - - type: 'null' - git_clone_strategy: - oneOf: - - type: string - enum: - - azure_active_directory_app - - deploy_key - - deploy_token - - github_app - - git_token - - type: 'null' + type: string + minLength: 1 deploy_key_id: - oneOf: - - type: integer - - type: 'null' + type: integer repository_credentials_id: - oneOf: - - type: integer - - type: 'null' + type: integer github_installation_id: - oneOf: - - type: integer - - type: 'null' + type: integer github_webhook_id: - oneOf: - - type: integer - - type: 'null' + type: integer github_webhook_secret: - oneOf: - - type: string - - type: 'null' - writeOnly: true - pull_request_url_template: - oneOf: - - type: string - pattern: ^(http|https)://(.*) - - type: 'null' + type: string + minLength: 1 + _github_webhook_secret: + allOf: + - $ref: '#/components/schemas/DataclassEncryptedFieldRequest' + title: ' github webhook secret' state: type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' + github_repo: + type: string + minLength: 1 + name: + type: string + minLength: 1 git_provider_id: - oneOf: - - type: integer - - type: 'null' + type: integer gitlab: - oneOf: - - $ref: '#/definitions/RepositoryGitlab' - - type: 'null' + $ref: '#/components/schemas/RepositoryGitlabRequest' git_provider: - oneOf: - - $ref: '#/definitions/GitProvider' - - type: 'null' - additionalProperties: false - description: 'RepositoryV3(id: Union[int, NoneType], account_id: int, project_id: - Union[int, NoneType] = None, full_name: Union[str, NoneType] = None, remote_url: - Union[RemoteUrl, NoneType] = None, remote_backend: Union[models.repository.GitRemoteBackend, - NoneType] = None, git_clone_strategy: Union[models.repository.GitCloneStrategy, - NoneType] = None, deploy_key_id: Union[int, NoneType] = None, repository_credentials_id: - Union[int, NoneType] = None, github_installation_id: Union[int, NoneType] - = None, github_webhook_id: Union[int, NoneType] = None, github_webhook_secret: - Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: Union[Dict[Any, - Any], NoneType] = None, github_repo: Union[str, NoneType] = None, name: Union[str, - NoneType] = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, - NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] - = None)' - definitions: - BaseConnectionV3: - type: object - required: - - account_id - - project_id - - name - - type - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - postgres - - redshift - - snowflake - - bigquery - - adapter - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - details: - oneOf: - - oneOf: - - $ref: '#/definitions/PostgresConnectionV3' - - $ref: '#/definitions/SnowflakeConnectionV3' - - $ref: '#/definitions/BigqueryConnectionV3' - - $ref: '#/definitions/DbtAdapterConnection' - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - private_link_endpoint_id: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BaseConnectionV3(id: Union[int, NoneType], account_id: int, - project_id: int, name: str, type: models.connection.common.ConnectionType, - created_by_id: Union[int, NoneType] = None, created_by_service_token_id: - Union[int, NoneType] = None, details: Union[ForwardRef(''AnyConnection''), - NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None, - private_link_endpoint_id: Union[str, NoneType] = None)' - PostgresConnectionV3: - type: object - required: - - hostname - - dbname - - port - - tunnel_enabled - properties: - hostname: - type: string - dbname: - type: string - port: - type: integer - tunnel_enabled: - type: boolean - encryption: - oneOf: - - $ref: '#/definitions/ConnectionEncryption' - - type: 'null' - additionalProperties: false - description: 'PostgresConnectionV3(hostname: str, dbname: str, port: int, - tunnel_enabled: bool, encryption: Union[models.connection.encryption.ConnectionEncryption, - NoneType] = None)' - ConnectionEncryption: - type: object - required: - - account_id - - connection_id - - username - - port - - hostname - properties: - account_id: - type: integer - connection_id: - type: integer - username: - type: string - port: - type: integer - hostname: - type: string - public_key: - oneOf: - - type: string - - type: 'null' - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'ConnectionEncryption(account_id: int, connection_id: int, - username: str, port: int, hostname: str, public_key: Union[str, NoneType] - = None, state: int = 1, id: Union[int, NoneType] = None, private_key: - Union[str, NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None)' - SnowflakeConnectionV3: - type: object - required: - - account - - database - - warehouse - - allow_sso - - client_session_keep_alive - properties: - account: - type: string - database: - type: string - warehouse: - type: string - allow_sso: - type: boolean - client_session_keep_alive: - type: boolean - role: - oneOf: - - type: string - - type: 'null' - oauth_client_id: - oneOf: - - type: string - - type: 'null' - oauth_client_secret: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SnowflakeConnectionV3(account: str, database: str, warehouse: - str, allow_sso: bool, client_session_keep_alive: bool, role: Union[str, - NoneType] = None, oauth_client_id: Union[str, NoneType] = None, _oauth_client_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - oauth_client_secret: Union[str, NoneType] = None, _oauth_client_secret: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None)' - BigqueryConnectionV3: - type: object - required: - - project_id - - timeout_seconds - - private_key_id - - client_email - - client_id - - auth_uri - - token_uri - - auth_provider_x509_cert_url - - client_x509_cert_url - properties: - project_id: - type: string - timeout_seconds: - type: integer - private_key_id: - type: string - client_email: - type: string - client_id: - type: string - auth_uri: - type: string - token_uri: - type: string - auth_provider_x509_cert_url: - type: string - client_x509_cert_url: - type: string - priority: - oneOf: - - type: string - - type: 'null' - retries: - type: integer - default: 1 - scopes: - oneOf: - - type: array - items: - type: string - - type: 'null' - location: - oneOf: - - type: string - - type: 'null' - maximum_bytes_billed: - oneOf: - - type: integer - - type: 'null' - execution_project: - oneOf: - - type: string - - type: 'null' - impersonate_service_account: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - job_retry_deadline_seconds: - oneOf: - - type: integer - - type: 'null' - job_creation_timeout_seconds: - oneOf: - - type: integer - - type: 'null' - application_id: - oneOf: - - type: string - - type: 'null' - application_secret: - oneOf: - - type: string - - type: 'null' - is_configured_for_oauth: - type: boolean - default: false - gcs_bucket: - oneOf: - - type: string - - type: 'null' - dataproc_region: - oneOf: - - type: string - - type: 'null' - dataproc_cluster_name: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BigqueryConnectionV3(project_id: str, timeout_seconds: int, - private_key_id: str, client_email: str, client_id: str, auth_uri: str, - token_uri: str, auth_provider_x509_cert_url: str, client_x509_cert_url: - str, priority: Union[str, NoneType] = None, retries: int = 1, scopes: - Union[List[str], NoneType] = None, location: Union[str, NoneType] = None, - maximum_bytes_billed: Union[int, NoneType] = None, execution_project: - Union[str, NoneType] = None, impersonate_service_account: Union[str, NoneType] - = None, private_key: Union[str, NoneType] = None, job_retry_deadline_seconds: - Union[int, NoneType] = None, job_creation_timeout_seconds: Union[int, - NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, application_id: Union[str, NoneType] = None, application_secret: - Union[str, NoneType] = None, is_configured_for_oauth: bool = False, _application_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - _application_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, gcs_bucket: Union[str, NoneType] = None, dataproc_region: - Union[str, NoneType] = None, dataproc_cluster_name: Union[str, NoneType] - = None)' - DbtAdapterConnection: - type: object - required: - - connection_details - properties: - adapter_id: - oneOf: - - type: integer - - type: 'null' - connection_details: - oneOf: - - $ref: '#/definitions/ApacheSparkConnectionSchema' - - $ref: '#/definitions/DatabricksSparkConnectionSchema' - - $ref: '#/definitions/DatabricksConnectionSchema' - - $ref: '#/definitions/TrinoConnectionSchema' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterConnection(adapter_id: Union[int, NoneType], connection_details: - Union[schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionSchema, - schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionSchema, - schemas.adapters.databricks.connection_schema.DatabricksConnectionSchema, - schemas.adapters.trino.connection_schema.TrinoConnectionSchema], created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - ApacheSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/ApacheSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'ApacheSparkConnectionSchema(fields: schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionFields - = ApacheSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''HTTP'', value=''http''), - SelectOption(label=''Thrift'', value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''Port number of host.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description=''Organization id'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), auth=TextField(metadata=TextFieldMetadata(label=''Auth'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - ApacheSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - $ref: '#/definitions/TextField' - default: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'ApacheSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''HTTP'', value=''http''), SelectOption(label=''Thrift'', - value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''Port - number of host.'', field_type=''number'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization: Union[schemas.fields.TextField.TextField, NoneType] - = TextField(metadata=TextFieldMetadata(label=''Organization'', description=''Organization - id'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), auth: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Auth'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TextField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: string - additionalProperties: false - description: 'TextField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: str = None)' - TextFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: text - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'TextFieldMetadata(label: str, description: str, field_type: - str = ''text'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - validation: schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - GenericTextValidation: - type: object - required: [] - properties: - min_length: - oneOf: - - type: integer - - type: 'null' - max_length: - oneOf: - - type: integer - - type: 'null' - required: - oneOf: - - type: boolean - - type: 'null' - default: false - pattern: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'GenericTextValidation(min_length: Union[int, NoneType] = None, - max_length: Union[int, NoneType] = None, required: Union[bool, NoneType] - = False, pattern: Union[str, NoneType] = None)' - SelectField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/SelectFieldMetadata' - value: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SelectField(metadata: schemas.fields.SelectField.SelectFieldMetadata, - value: Union[str, NoneType] = None)' - SelectFieldMetadata: - type: object - required: - - label - - description - - options - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: select - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - options: - type: array - items: - $ref: '#/definitions/SelectOption' - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'SelectFieldMetadata(label: str, description: str, field_type: - str = ''select'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - options: List[schemas.fields.SelectField.SelectOption] = None, validation: - schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - SelectOption: - type: object - required: - - label - - value - properties: - label: - type: string - value: - oneOf: - - type: string - - type: integer - additionalProperties: false - description: 'SelectOption(label: str, value: Union[str, int])' - LegacyIntegerField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: integer - additionalProperties: false - description: 'LegacyIntegerField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: int = None)' - DatabricksSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect - to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if - using a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if - using Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksSparkConnectionSchema(fields: schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionFields - = DatabricksSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''ODBC'', value=''odbc'')], - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''odbc''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to Databricks for this connection.'', - field_type=''number'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericIntegerValidation(required=True)), value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint=TextField(metadata=TextFieldMetadata(label=''Endpoint'', - description=''The ID of the endpoint to connect to (required if using - Databricks SQL Analytics)'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', - description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - DatabricksSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if using - a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - $ref: '#/definitions/TextField' - default: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if using - Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - $ref: '#/definitions/TextField' - default: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''ODBC'', value=''odbc'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''odbc''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to Databricks for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Endpoint'', description=''The - ID of the endpoint to connect to (required if using Databricks SQL Analytics)'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), driver: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Driver'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization: Union[schemas.fields.TextField.TextField, NoneType] = TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''))' - DatabricksConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksConnectionSchema(fields: schemas.adapters.databricks.connection_schema.DatabricksConnectionFields - = DatabricksConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''databricks''), - host=TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path=TextField(metadata=TextFieldMetadata(label=''HTTP Path'', description=''The - HTTP path of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_http_path'')), value=''''), - catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value='''')), field_order: List[str] = - )' - DatabricksConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - $ref: '#/definitions/TextField' - default: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''databricks''), host: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''HTTP - Path'', description=''The HTTP path of the Databricks cluster or SQL warehouse.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_http_path'')), value=''''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value=''''))' - TrinoConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'TrinoConnectionSchema(fields: schemas.adapters.trino.connection_schema.TrinoConnectionFields - = TrinoConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''trino''), method=TextField(metadata=TextFieldMetadata(label=''Method'', - description=''The auth method to use.'', field_type=''hidden'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host=TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443)), field_order: List[str] = )' - TrinoConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - $ref: '#/definitions/TextField' - default: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - additionalProperties: false - description: 'TrinoConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''trino''), method: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Method'', description=''The - auth method to use.'', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443))' - RepositoryV3: - type: object - required: - - account_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - full_name: - oneOf: - - type: string - - type: 'null' - remote_url: - oneOf: - - type: string - pattern: ^\S+[/:](?P[^\s/]+?)(?:\.git)?$ - - type: 'null' - remote_backend: - oneOf: - - type: string - enum: - - azure_active_directory - - github - - managed - - gitlab - - manual_config - - type: 'null' - git_clone_strategy: - oneOf: - - type: string - enum: - - azure_active_directory_app - - deploy_key - - deploy_token - - github_app - - git_token - - type: 'null' - deploy_key_id: - oneOf: - - type: integer - - type: 'null' - repository_credentials_id: - oneOf: - - type: integer - - type: 'null' - github_installation_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_secret: - oneOf: - - type: string - - type: 'null' - writeOnly: true - pull_request_url_template: - oneOf: - - type: string - pattern: ^(http|https)://(.*) - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - git_provider_id: - oneOf: - - type: integer - - type: 'null' - gitlab: - oneOf: - - $ref: '#/definitions/RepositoryGitlab' - - type: 'null' - git_provider: - oneOf: - - $ref: '#/definitions/GitProvider' - - type: 'null' - additionalProperties: false - description: 'RepositoryV3(id: Union[int, NoneType], account_id: int, project_id: - Union[int, NoneType] = None, full_name: Union[str, NoneType] = None, remote_url: - Union[RemoteUrl, NoneType] = None, remote_backend: Union[models.repository.GitRemoteBackend, - NoneType] = None, git_clone_strategy: Union[models.repository.GitCloneStrategy, - NoneType] = None, deploy_key_id: Union[int, NoneType] = None, repository_credentials_id: - Union[int, NoneType] = None, github_installation_id: Union[int, NoneType] - = None, github_webhook_id: Union[int, NoneType] = None, github_webhook_secret: - Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, - NoneType] = None, git_provider: Union[models.git_provider.GitProvider, - NoneType] = None)' - RepositoryGitlab: - type: object - required: - - account_id - - gitlab_project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - repository_id: - oneOf: - - type: integer - - type: 'null' - gitlab_project_id: - type: integer - state: - type: integer - default: 1 - project_access_token_id: - oneOf: - - type: integer - - type: 'null' - project_access_token: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RepositoryGitlab(id: Union[int, NoneType], account_id: int, - repository_id: Union[int, NoneType], gitlab_project_id: int, state: int - = 1, project_access_token_id: Union[int, NoneType] = None, project_access_token: - Union[str, NoneType] = None, _project_access_token: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - GitProvider: - type: object - required: - - account_id - - provider_type - properties: - account_id: - type: integer - provider_type: - type: string - enum: - - azure_active_directory - - github - - gitlab - - git_url - - managed_github - - manual_config - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This class represents a git provider integration the\ - \ user\n has setup and will interact with via the dbt Cloud IDE.\n\ - \ " - GroupPermission: - type: object - required: - - account_id - - group_id - - all_projects - - permission_set - properties: - account_id: - type: integer - group_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - all_projects: - type: boolean - permission_set: - type: string - enum: - - owner - - member - - account_admin - - security_admin - - billing_admin - - admin - - database_admin - - git_admin - - team_admin - - job_admin - - job_viewer - - analyst - - developer - - stakeholder - - readonly - - project_creator - - account_viewer - - metadata_only - - semantic_layer_only - - webhooks_only - permission_level: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'GroupPermission(account_id: int, group_id: int, project_id: - Union[int, NoneType], all_projects: bool, permission_set: models.permissions.sets.PredefinedPermissionSet, - permission_level: Union[int, NoneType] = None, id: Union[int, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - JobDefinitionV2: - type: object - required: - - environment_id - - account_id - - project_id - - name - - generate_docs - - run_generate_sources - - state - properties: - environment_id: - type: integer - account_id: - type: integer - project_id: - type: integer - name: - type: string - generate_docs: - type: boolean - run_generate_sources: - type: boolean - state: - type: integer - dbt_version: - oneOf: - - type: string - - type: 'null' - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - deactivated: - type: boolean - default: false - run_failure_count: - type: integer - default: 0 - triggers: - oneOf: - - $ref: '#/definitions/JobDefinitionTriggers' - - type: 'null' - settings: - oneOf: - - $ref: '#/definitions/JobDefinitionSettings' - - type: 'null' - execution: - oneOf: - - $ref: '#/definitions/JobDefinitionExecution' - - type: 'null' - schedule: - oneOf: - - $ref: '#/definitions/JobDefinitionSchedule' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - execute_steps: - oneOf: - - type: array - items: - type: string - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - most_recent_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - most_recent_completed_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - job_type: - oneOf: - - type: string - enum: - - ci - - scheduled - - other - - type: 'null' - additionalProperties: false - description: 'JobDefinitionV2(environment_id: int, account_id: int, project_id: - int, name: str, generate_docs: bool, run_generate_sources: bool, state: - int, dbt_version: Union[str, NoneType], raw_dbt_version: Union[str, NoneType] - = None, id: Union[int, NoneType] = None, deactivated: bool = False, run_failure_count: - int = 0, triggers: Union[models.job_definition.JobDefinitionTriggers, - NoneType] = None, settings: Union[models.job_definition.JobDefinitionSettings, - NoneType] = None, execution: Union[models.job_definition.JobDefinitionExecution, - NoneType] = None, schedule: Union[models.job_definition.JobDefinitionSchedule, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, execute_steps: - Union[List[str], NoneType] = None, environment: ''Optional[models.environment.EnvironmentV3]'' - = None, most_recent_run: Union[models.run.Run, NoneType] = None, most_recent_completed_run: - Union[models.run.Run, NoneType] = None, custom_environment_variables: - Union[List[models.custom_environment_variable.CustomEnvironmentVariable], - NoneType] = None, job_type: Union[common.constants.JobType, NoneType] - = None)' - JobDefinitionTriggers: - type: object - required: - - github_webhook - - schedule - properties: - github_webhook: - type: boolean - schedule: - type: boolean - git_provider_webhook: - oneOf: - - type: boolean - - type: 'null' - custom_branch_only: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'JobDefinitionTriggers(github_webhook: bool, schedule: bool, - git_provider_webhook: Union[bool, NoneType] = None, custom_branch_only: - Union[bool, NoneType] = None)' - JobDefinitionSettings: - type: object - required: - - threads - - target_name - properties: - threads: - type: integer - target_name: - type: string - additionalProperties: false - description: 'JobDefinitionSettings(threads: int, target_name: str)' - JobDefinitionExecution: - type: object - required: - - timeout_seconds - properties: - timeout_seconds: - type: integer - additionalProperties: false - description: 'JobDefinitionExecution(timeout_seconds: int)' - JobDefinitionSchedule: - type: object - required: - - cron - - date - - time - properties: - cron: - type: string - date: - type: string - enum: - - every_day - - days_of_week - - custom_cron - time: - type: string - enum: - - every_hour - - at_exact_hours - additionalProperties: false - description: 'JobDefinitionSchedule(cron: str, date: models.job_definition.DateStrategy, - time: models.job_definition.TimeStrategy)' - EnvironmentV3: - type: object - required: - - account_id - - project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - credentials_id: - oneOf: - - type: integer - - type: 'null' - name: - type: string - default: New Environment - dbt_version: - type: string - default: 1.6.0-latest - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - type: - type: string - enum: - - development - - deployment - default: deployment - use_custom_branch: - type: boolean - default: false - custom_branch: - oneOf: - - type: string - - type: 'null' - supports_docs: - type: boolean - default: false - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - project: - oneOf: - - $ref: '#/definitions/Project' - - type: 'null' - jobs: - oneOf: - - type: array - items: - type: object - additionalProperties: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - - type: 'null' - credentials: - oneOf: - - $ref: '#/definitions/PostgresCredentials' - - $ref: '#/definitions/RedshiftCredentials' - - $ref: '#/definitions/SnowflakeCredentials' - - $ref: '#/definitions/BigqueryCredentials' - - $ref: '#/definitions/DbtAdapterCredentials' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - deployment_type: - oneOf: - - type: string - enum: - - production - - type: 'null' - additionalProperties: false - description: "\n An environment is a collection of settings within a\ - \ project that defines how dbt is run.\n Use it to define the version\ - \ controlled branch and warehouse connection that dbt will run on.\n \ - \ " - Project: - type: object - required: - - name - - account_id - properties: - name: - type: string - account_id: - type: integer - connection_id: - oneOf: - - type: integer - - type: 'null' - repository_id: - oneOf: - - type: integer - - type: 'null' - semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false - state: - type: integer - default: 1 - dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' - connection: - oneOf: - - $ref: '#/definitions/BaseConnectionV3' - - type: 'null' - repository: - oneOf: - - $ref: '#/definitions/RepositoryV3' - - type: 'null' - group_permissions: - oneOf: - - type: array - items: - $ref: '#/definitions/GroupPermission' - - type: 'null' - docs_job_id: - oneOf: - - type: integer - - type: 'null' - freshness_job_id: - oneOf: - - type: integer - - type: 'null' - docs_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - freshness_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: - int = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: - Union[models.connection.common.BaseConnectionV3, NoneType] = None, repository: - Union[models.repository.RepositoryV3, NoneType] = None, group_permissions: - Union[List[models.permissions.group_permission.GroupPermission], NoneType] - = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: Union[int, - NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - Run: - type: object - required: - - account_id - - environment_id - - project_id - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - trigger_id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - environment_id: - type: integer - project_id: - type: integer - job_definition_id: - type: integer - status: - type: integer - default: 1 - dbt_version: - type: string - default: 1.6.0-latest - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - status_message: - oneOf: - - type: string - - type: 'null' - owner_thread_id: - oneOf: - - type: string - - type: 'null' - executed_by_thread_id: - oneOf: - - type: string - - type: 'null' - deferring_run_id: - oneOf: - - type: integer - - type: 'null' - artifacts_saved: - type: boolean - default: false - artifact_s3_path: - oneOf: - - type: string - - type: 'null' - has_docs_generated: - type: boolean - default: false - has_sources_generated: - type: boolean - default: false - notifications_sent: - type: boolean - default: false - blocked_by: - type: array - items: - type: integer - default: [] - scribe_enabled: - type: boolean - default: false - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - dequeued_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_checked_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_heartbeat_at: - oneOf: - - type: string - format: date-time - - type: 'null' - should_start_at: - oneOf: - - type: string - format: date-time - - type: 'null' - trigger: - oneOf: - - $ref: '#/definitions/RunTrigger' - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - environment: - oneOf: - - type: object - - type: 'null' - run_steps: - oneOf: - - type: array - items: - $ref: '#/definitions/RunStep' - - type: 'null' - default: [] - status_humanized: - oneOf: - - type: string - - type: 'null' - in_progress: - oneOf: - - type: boolean - - type: 'null' - is_complete: - oneOf: - - type: boolean - - type: 'null' - is_success: - oneOf: - - type: boolean - - type: 'null' - is_error: - oneOf: - - type: boolean - - type: 'null' - is_cancelled: - oneOf: - - type: boolean - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - queued_duration: - oneOf: - - type: string - - type: 'null' - run_duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - queued_duration_humanized: - oneOf: - - type: string - - type: 'null' - run_duration_humanized: - oneOf: - - type: string - - type: 'null' - created_at_humanized: - oneOf: - - type: string - - type: 'null' - finished_at_humanized: - oneOf: - - type: string - - type: 'null' - job_id: - oneOf: - - type: integer - - type: 'null' - is_running: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: "\n Represents a run of a job definition.\n " - RunTrigger: - type: object - required: - - cause - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - cause: - type: string - job_definition_id: - type: integer - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - azure_pull_request_id: - oneOf: - - type: integer - - type: 'null' - github_pull_request_id: - oneOf: - - type: integer - - type: 'null' - gitlab_merge_request_id: - oneOf: - - type: integer - - type: 'null' - schema_override: - oneOf: - - type: string - - type: 'null' - dbt_version_override: - oneOf: - - type: string - - type: 'null' - threads_override: - oneOf: - - type: integer - - type: 'null' - target_name_override: - oneOf: - - type: string - - type: 'null' - generate_docs_override: - oneOf: - - type: boolean - - type: 'null' - timeout_seconds_override: - oneOf: - - type: integer - - type: 'null' - steps_override: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - cause_humanized: - oneOf: - - type: string - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - additionalProperties: false - description: 'RunTrigger(id: Union[int, NoneType], cause: str, job_definition_id: - int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] - = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: - Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None)' - RunStep: - type: object - required: - - run_id - - account_id - - index - - status - - name - properties: - id: - oneOf: - - type: integer - - type: 'null' - run_id: - type: integer - account_id: - type: integer - index: - type: integer - status: - type: integer - name: - type: string - logs: - oneOf: - - type: string - - type: 'null' - debug_logs: - oneOf: - - type: string - - type: 'null' - log_location: - oneOf: - - type: string - enum: - - legacy - - s3 - - db - - empty - - type: 'null' - default: db - log_path: - oneOf: - - type: string - - type: 'null' - debug_log_path: - oneOf: - - type: string - - type: 'null' - log_archive_type: - oneOf: - - type: string - - type: 'null' - default: db_flushed - truncated_debug_logs: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - status_color: - oneOf: - - type: string - - type: 'null' - status_humanized: - oneOf: - - type: string - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: - int, index: int, status: int, name: str, logs: Union[str, NoneType] = - None, debug_logs: Union[str, NoneType] = None, log_location: Union[models.run_step.RunStepLogLocation, - NoneType] = , log_path: Union[str, NoneType] - = None, debug_log_path: Union[str, NoneType] = None, log_archive_type: - Union[str, NoneType] = , truncated_debug_logs: - Union[str, NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, started_at: - Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, - NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: - Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' - PostgresCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - postgres - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'PostgresCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str = None, default_schema: str = - None, target_name: str = ''default'', password: Union[str, NoneType] = - None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - RedshiftCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - redshift - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RedshiftCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str, default_schema: str, target_name: - str = ''default'', password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - SnowflakeCredentials: - type: object - required: - - account_id - - type - - state - - threads - - auth_type - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - snowflake - state: - type: integer - threads: - type: integer - auth_type: - type: string - enum: - - password - - sso - - keypair - schema: - type: string - user: - oneOf: - - type: string - - type: 'null' - target_name: - type: string - default: default - role: - oneOf: - - type: string - - type: 'null' - database: - oneOf: - - type: string - - type: 'null' - warehouse: - oneOf: - - type: string - - type: 'null' - password: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - private_key_passphrase: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'SnowflakeCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, auth_type: models.credentials.snowflake.SnowflakeAuthenticationType, - schema: str, user: Union[str, NoneType] = None, target_name: str = ''default'', - role: Union[str, NoneType] = None, database: Union[str, NoneType] = None, - warehouse: Union[str, NoneType] = None, _refresh_token: Union[str, NoneType] - = None, password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, private_key: Union[str, NoneType] = None, _private_key: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - BigqueryCredentials: - type: object - required: - - account_id - - type - - state - - threads - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - bigquery - state: - type: integer - threads: - type: integer - schema: - type: string - target_name: - type: string - default: default - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - username: - oneOf: - - type: string - - type: 'null' - has_refresh_token: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'BigqueryCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, schema: str, target_name: str = ''default'', - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' - DbtAdapterCredentials: - type: object - required: - - account_id - - type - - state - - threads - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - adapter - state: - type: integer - threads: - type: integer - adapter_id: - oneOf: - - type: integer - - type: 'null' - credential_details: - oneOf: - - $ref: '#/definitions/BaseSparkAdapterCredentialsSchema' - - $ref: '#/definitions/DatabricksCredentialsSchema' - - $ref: '#/definitions/TrinoCredentialsSchema' - - type: 'null' - unencrypted_credential_details: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: 'null' - target_name: - type: string - default: default - adapter: - oneOf: - - $ref: '#/definitions/DbtAdapter' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, adapter_id: Union[int, NoneType], credential_details: - Union[schemas.adapters.base_spark.BaseSparkAdapterCredentialsSchema, schemas.adapters.databricks.credentials_schema.DatabricksCredentialsSchema, - schemas.adapters.trino.credentials_schema.TrinoCredentialsSchema, NoneType] - = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' - BaseSparkAdapterCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/BaseSparkAdapterCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'BaseSparkAdapterCredentialsSchema(fields: schemas.adapters.base_spark.BaseSparkAdapterCredentialFields - = BaseSparkAdapterCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - BaseSparkAdapterCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'BaseSparkAdapterCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DatabricksCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'DatabricksCredentialsSchema(fields: schemas.adapters.databricks.credentials_schema.DatabricksCredentialFields - = DatabricksCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - Union[List[str], NoneType] = None)' - DatabricksCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TrinoCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoCredentialFields' - default: - user: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'TrinoCredentialsSchema(fields: schemas.adapters.trino.credentials_schema.TrinoCredentialFields - = TrinoCredentialFields(user=TextField(metadata=TextFieldMetadata(label=''User'', - description=''The username of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password=TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - TrinoCredentialFields: - type: object - required: [] - properties: - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - $ref: '#/definitions/TextField' - default: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - $ref: '#/definitions/TextField' - default: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'TrinoCredentialFields(user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description=''The - username of the account to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DbtAdapter: - type: object - required: - - account_id - - project_id - - adapter_version - - metadata_json - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - adapter_version: - type: string - enum: - - apache_spark_v0 - - databricks_spark_v0 - - databricks_v0 - - trino_v0 - - snowflake_v0 - - bigquery_v0 - - postgres_v0 - - redshift_v0 - metadata_json: - type: object - additionalProperties: - type: string - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapter(id: Union[int, NoneType], account_id: int, project_id: - int, created_by_id: Union[int, NoneType], created_by_service_token_id: - Union[int, NoneType], adapter_version: schemas.adapter.DbtAdapterVersion, - metadata_json: Dict[str, str], state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' - CustomEnvironmentVariable: - type: object - required: - - account_id - - project_id - - name - - type - properties: - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - project - - environment - - job - - user - state: - oneOf: - - type: integer - - type: 'null' - default: 1 - user_id: - oneOf: - - type: integer - - type: 'null' - environment_id: - oneOf: - - type: integer - - type: 'null' - job_definition_id: - oneOf: - - type: integer - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - raw_value: - oneOf: - - type: string - - type: 'null' - display_value: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This model represents a user-defined environment variable,\ - \ which can be\n set on the account, job or user-level and leveraged\ - \ in both the IDE and\n scheduled Runs.\n " - $schema: http://json-schema.org/draft-07/schema# + $ref: '#/components/schemas/GitProviderRequest' + required: + - account_id + - state + ResponseData: + type: object + properties: + message: + type: string + new_var_ids: + type: array + items: {} + required: + - message + - new_var_ids + Run: + type: object + properties: + id: + type: integer + trigger_id: + type: integer + account_id: + type: integer + environment_id: + type: integer + project_id: + type: integer + job_definition_id: + type: integer + status: + type: integer + dbt_version: + type: string + git_branch: + type: string + git_sha: + type: string + status_message: + type: string + owner_thread_id: + type: string + executed_by_thread_id: + type: string + deferring_run_id: + type: integer + artifact_s3_path: + type: string + blocked_by: + type: array + items: {} + status_humanized: + type: string + duration: + type: string + queued_duration: + type: string + run_duration: + type: string + duration_humanized: + type: string + queued_duration_humanized: + type: string + run_duration_humanized: + type: string + created_at_humanized: + type: string + finished_at_humanized: + type: string + job_id: + type: integer + required: + - account_id + - blocked_by + - dbt_version + - environment_id + - job_definition_id + - project_id + - status + RunRequest: + type: object + properties: + id: + type: integer + trigger_id: + type: integer + account_id: + type: integer + environment_id: + type: integer + project_id: + type: integer + job_definition_id: + type: integer + status: + type: integer + dbt_version: + type: string + minLength: 1 + git_branch: + type: string + minLength: 1 + git_sha: + type: string + minLength: 1 + status_message: + type: string + minLength: 1 + owner_thread_id: + type: string + minLength: 1 + executed_by_thread_id: + type: string + minLength: 1 + deferring_run_id: + type: integer + artifact_s3_path: + type: string + minLength: 1 + blocked_by: + type: array + items: {} + status_humanized: + type: string + minLength: 1 + duration: + type: string + minLength: 1 + queued_duration: + type: string + minLength: 1 + run_duration: + type: string + minLength: 1 + duration_humanized: + type: string + minLength: 1 + queued_duration_humanized: + type: string + minLength: 1 + run_duration_humanized: + type: string + minLength: 1 + created_at_humanized: + type: string + minLength: 1 + finished_at_humanized: + type: string + minLength: 1 + job_id: + type: integer + required: + - account_id + - blocked_by + - dbt_version + - environment_id + - job_definition_id + - project_id + - status Status: type: object properties: @@ -49341,16 +4775,9 @@ components: - user_message UserCredentials: type: object - required: - - account_id - - user_id - - project_id - - credentials_id properties: id: - oneOf: - - type: integer - - type: 'null' + type: integer account_id: type: integer user_id: @@ -49361,3759 +4788,21 @@ components: type: integer state: type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' credentials: - oneOf: - - $ref: '#/definitions/PostgresCredentials' - - $ref: '#/definitions/RedshiftCredentials' - - $ref: '#/definitions/SnowflakeCredentials' - - $ref: '#/definitions/BigqueryCredentials' - - $ref: '#/definitions/DbtAdapterCredentials' - - type: 'null' - readOnly: true + $ref: '#/components/schemas/PostgresCredentials' project: - oneOf: - - $ref: '#/definitions/Project' - - type: 'null' - readOnly: true - additionalProperties: false - description: 'UserCredentials(id: Union[int, NoneType], account_id: int, user_id: - int, project_id: int, credentials_id: int, state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None, credentials: - Union[models.credentials.postgres.PostgresCredentials, models.credentials.redshift.RedshiftCredentials, - models.credentials.snowflake.SnowflakeCredentials, models.credentials.bigquery.BigqueryCredentials, - models.credentials.dbt_adapter_credentials.DbtAdapterCredentials, NoneType] - = None, project: Union[models.project.Project, NoneType] = None)' - definitions: - PostgresCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - postgres - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'PostgresCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str = None, default_schema: str = - None, target_name: str = ''default'', password: Union[str, NoneType] = - None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - BaseConnectionV3: - type: object - required: - - account_id - - project_id - - name - - type - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - postgres - - redshift - - snowflake - - bigquery - - adapter - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - details: - oneOf: - - oneOf: - - $ref: '#/definitions/PostgresConnectionV3' - - $ref: '#/definitions/SnowflakeConnectionV3' - - $ref: '#/definitions/BigqueryConnectionV3' - - $ref: '#/definitions/DbtAdapterConnection' - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - private_link_endpoint_id: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BaseConnectionV3(id: Union[int, NoneType], account_id: int, - project_id: int, name: str, type: models.connection.common.ConnectionType, - created_by_id: Union[int, NoneType] = None, created_by_service_token_id: - Union[int, NoneType] = None, details: Union[ForwardRef(''AnyConnection''), - NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None, - private_link_endpoint_id: Union[str, NoneType] = None)' - PostgresConnectionV3: - type: object - required: - - hostname - - dbname - - port - - tunnel_enabled - properties: - hostname: - type: string - dbname: - type: string - port: - type: integer - tunnel_enabled: - type: boolean - encryption: - oneOf: - - $ref: '#/definitions/ConnectionEncryption' - - type: 'null' - additionalProperties: false - description: 'PostgresConnectionV3(hostname: str, dbname: str, port: int, - tunnel_enabled: bool, encryption: Union[models.connection.encryption.ConnectionEncryption, - NoneType] = None)' - ConnectionEncryption: - type: object - required: - - account_id - - connection_id - - username - - port - - hostname - properties: - account_id: - type: integer - connection_id: - type: integer - username: - type: string - port: - type: integer - hostname: - type: string - public_key: - oneOf: - - type: string - - type: 'null' - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'ConnectionEncryption(account_id: int, connection_id: int, - username: str, port: int, hostname: str, public_key: Union[str, NoneType] - = None, state: int = 1, id: Union[int, NoneType] = None, private_key: - Union[str, NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None)' - SnowflakeConnectionV3: - type: object - required: - - account - - database - - warehouse - - allow_sso - - client_session_keep_alive - properties: - account: - type: string - database: - type: string - warehouse: - type: string - allow_sso: - type: boolean - client_session_keep_alive: - type: boolean - role: - oneOf: - - type: string - - type: 'null' - oauth_client_id: - oneOf: - - type: string - - type: 'null' - oauth_client_secret: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SnowflakeConnectionV3(account: str, database: str, warehouse: - str, allow_sso: bool, client_session_keep_alive: bool, role: Union[str, - NoneType] = None, oauth_client_id: Union[str, NoneType] = None, _oauth_client_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - oauth_client_secret: Union[str, NoneType] = None, _oauth_client_secret: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None)' - BigqueryConnectionV3: - type: object - required: - - project_id - - timeout_seconds - - private_key_id - - client_email - - client_id - - auth_uri - - token_uri - - auth_provider_x509_cert_url - - client_x509_cert_url - properties: - project_id: - type: string - timeout_seconds: - type: integer - private_key_id: - type: string - client_email: - type: string - client_id: - type: string - auth_uri: - type: string - token_uri: - type: string - auth_provider_x509_cert_url: - type: string - client_x509_cert_url: - type: string - priority: - oneOf: - - type: string - - type: 'null' - retries: - type: integer - default: 1 - scopes: - oneOf: - - type: array - items: - type: string - - type: 'null' - location: - oneOf: - - type: string - - type: 'null' - maximum_bytes_billed: - oneOf: - - type: integer - - type: 'null' - execution_project: - oneOf: - - type: string - - type: 'null' - impersonate_service_account: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - job_retry_deadline_seconds: - oneOf: - - type: integer - - type: 'null' - job_creation_timeout_seconds: - oneOf: - - type: integer - - type: 'null' - application_id: - oneOf: - - type: string - - type: 'null' - application_secret: - oneOf: - - type: string - - type: 'null' - is_configured_for_oauth: - type: boolean - default: false - gcs_bucket: - oneOf: - - type: string - - type: 'null' - dataproc_region: - oneOf: - - type: string - - type: 'null' - dataproc_cluster_name: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BigqueryConnectionV3(project_id: str, timeout_seconds: int, - private_key_id: str, client_email: str, client_id: str, auth_uri: str, - token_uri: str, auth_provider_x509_cert_url: str, client_x509_cert_url: - str, priority: Union[str, NoneType] = None, retries: int = 1, scopes: - Union[List[str], NoneType] = None, location: Union[str, NoneType] = None, - maximum_bytes_billed: Union[int, NoneType] = None, execution_project: - Union[str, NoneType] = None, impersonate_service_account: Union[str, NoneType] - = None, private_key: Union[str, NoneType] = None, job_retry_deadline_seconds: - Union[int, NoneType] = None, job_creation_timeout_seconds: Union[int, - NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, application_id: Union[str, NoneType] = None, application_secret: - Union[str, NoneType] = None, is_configured_for_oauth: bool = False, _application_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - _application_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, gcs_bucket: Union[str, NoneType] = None, dataproc_region: - Union[str, NoneType] = None, dataproc_cluster_name: Union[str, NoneType] - = None)' - DbtAdapterConnection: - type: object - required: - - connection_details - properties: - adapter_id: - oneOf: - - type: integer - - type: 'null' - connection_details: - oneOf: - - $ref: '#/definitions/ApacheSparkConnectionSchema' - - $ref: '#/definitions/DatabricksSparkConnectionSchema' - - $ref: '#/definitions/DatabricksConnectionSchema' - - $ref: '#/definitions/TrinoConnectionSchema' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterConnection(adapter_id: Union[int, NoneType], connection_details: - Union[schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionSchema, - schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionSchema, - schemas.adapters.databricks.connection_schema.DatabricksConnectionSchema, - schemas.adapters.trino.connection_schema.TrinoConnectionSchema], created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - ApacheSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/ApacheSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'ApacheSparkConnectionSchema(fields: schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionFields - = ApacheSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''HTTP'', value=''http''), - SelectOption(label=''Thrift'', value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''Port number of host.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description=''Organization id'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), auth=TextField(metadata=TextFieldMetadata(label=''Auth'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - ApacheSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - $ref: '#/definitions/TextField' - default: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'ApacheSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''HTTP'', value=''http''), SelectOption(label=''Thrift'', - value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''Port - number of host.'', field_type=''number'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization: Union[schemas.fields.TextField.TextField, NoneType] - = TextField(metadata=TextFieldMetadata(label=''Organization'', description=''Organization - id'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), auth: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Auth'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TextField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: string - additionalProperties: false - description: 'TextField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: str = None)' - TextFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: text - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'TextFieldMetadata(label: str, description: str, field_type: - str = ''text'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - validation: schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - GenericTextValidation: - type: object - required: [] - properties: - min_length: - oneOf: - - type: integer - - type: 'null' - max_length: - oneOf: - - type: integer - - type: 'null' - required: - oneOf: - - type: boolean - - type: 'null' - default: false - pattern: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'GenericTextValidation(min_length: Union[int, NoneType] = None, - max_length: Union[int, NoneType] = None, required: Union[bool, NoneType] - = False, pattern: Union[str, NoneType] = None)' - SelectField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/SelectFieldMetadata' - value: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SelectField(metadata: schemas.fields.SelectField.SelectFieldMetadata, - value: Union[str, NoneType] = None)' - SelectFieldMetadata: - type: object - required: - - label - - description - - options - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: select - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - options: - type: array - items: - $ref: '#/definitions/SelectOption' - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'SelectFieldMetadata(label: str, description: str, field_type: - str = ''select'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - options: List[schemas.fields.SelectField.SelectOption] = None, validation: - schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - SelectOption: - type: object - required: - - label - - value - properties: - label: - type: string - value: - oneOf: - - type: string - - type: integer - additionalProperties: false - description: 'SelectOption(label: str, value: Union[str, int])' - LegacyIntegerField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: integer - additionalProperties: false - description: 'LegacyIntegerField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: int = None)' - DatabricksSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect - to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if - using a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if - using Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksSparkConnectionSchema(fields: schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionFields - = DatabricksSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''ODBC'', value=''odbc'')], - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''odbc''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to Databricks for this connection.'', - field_type=''number'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericIntegerValidation(required=True)), value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint=TextField(metadata=TextFieldMetadata(label=''Endpoint'', - description=''The ID of the endpoint to connect to (required if using - Databricks SQL Analytics)'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', - description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - DatabricksSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if using - a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - $ref: '#/definitions/TextField' - default: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if using - Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - $ref: '#/definitions/TextField' - default: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''ODBC'', value=''odbc'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''odbc''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to Databricks for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Endpoint'', description=''The - ID of the endpoint to connect to (required if using Databricks SQL Analytics)'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), driver: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Driver'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization: Union[schemas.fields.TextField.TextField, NoneType] = TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''))' - DatabricksConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksConnectionSchema(fields: schemas.adapters.databricks.connection_schema.DatabricksConnectionFields - = DatabricksConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''databricks''), - host=TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path=TextField(metadata=TextFieldMetadata(label=''HTTP Path'', description=''The - HTTP path of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_http_path'')), value=''''), - catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value='''')), field_order: List[str] = - )' - DatabricksConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - $ref: '#/definitions/TextField' - default: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''databricks''), host: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''HTTP - Path'', description=''The HTTP path of the Databricks cluster or SQL warehouse.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_http_path'')), value=''''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value=''''))' - TrinoConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'TrinoConnectionSchema(fields: schemas.adapters.trino.connection_schema.TrinoConnectionFields - = TrinoConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''trino''), method=TextField(metadata=TextFieldMetadata(label=''Method'', - description=''The auth method to use.'', field_type=''hidden'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host=TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443)), field_order: List[str] = )' - TrinoConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - $ref: '#/definitions/TextField' - default: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - additionalProperties: false - description: 'TrinoConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''trino''), method: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Method'', description=''The - auth method to use.'', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443))' - RepositoryV3: - type: object - required: - - account_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - full_name: - oneOf: - - type: string - - type: 'null' - remote_url: - oneOf: - - type: string - pattern: ^\S+[/:](?P[^\s/]+?)(?:\.git)?$ - - type: 'null' - remote_backend: - oneOf: - - type: string - enum: - - azure_active_directory - - github - - managed - - gitlab - - manual_config - - type: 'null' - git_clone_strategy: - oneOf: - - type: string - enum: - - azure_active_directory_app - - deploy_key - - deploy_token - - github_app - - git_token - - type: 'null' - deploy_key_id: - oneOf: - - type: integer - - type: 'null' - repository_credentials_id: - oneOf: - - type: integer - - type: 'null' - github_installation_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_secret: - oneOf: - - type: string - - type: 'null' - pull_request_url_template: - oneOf: - - type: string - pattern: ^(http|https)://(.*) - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - deploy_key: - oneOf: - - type: object - - type: 'null' - github_repo: - oneOf: - - type: string - - type: 'null' - name: - oneOf: - - type: string - - type: 'null' - git_provider_id: - oneOf: - - type: integer - - type: 'null' - gitlab: - oneOf: - - $ref: '#/definitions/RepositoryGitlab' - - type: 'null' - git_provider: - oneOf: - - $ref: '#/definitions/GitProvider' - - type: 'null' - additionalProperties: false - description: 'RepositoryV3(id: Union[int, NoneType], account_id: int, project_id: - Union[int, NoneType] = None, full_name: Union[str, NoneType] = None, remote_url: - Union[RemoteUrl, NoneType] = None, remote_backend: Union[models.repository.GitRemoteBackend, - NoneType] = None, git_clone_strategy: Union[models.repository.GitCloneStrategy, - NoneType] = None, deploy_key_id: Union[int, NoneType] = None, repository_credentials_id: - Union[int, NoneType] = None, github_installation_id: Union[int, NoneType] - = None, github_webhook_id: Union[int, NoneType] = None, github_webhook_secret: - Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, - NoneType] = None, git_provider: Union[models.git_provider.GitProvider, - NoneType] = None)' - RepositoryGitlab: - type: object - required: - - account_id - - gitlab_project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - repository_id: - oneOf: - - type: integer - - type: 'null' - gitlab_project_id: - type: integer - state: - type: integer - default: 1 - project_access_token_id: - oneOf: - - type: integer - - type: 'null' - project_access_token: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RepositoryGitlab(id: Union[int, NoneType], account_id: int, - repository_id: Union[int, NoneType], gitlab_project_id: int, state: int - = 1, project_access_token_id: Union[int, NoneType] = None, project_access_token: - Union[str, NoneType] = None, _project_access_token: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - GitProvider: - type: object - required: - - account_id - - provider_type - properties: - account_id: - type: integer - provider_type: - type: string - enum: - - azure_active_directory - - github - - gitlab - - git_url - - managed_github - - manual_config - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This class represents a git provider integration the\ - \ user\n has setup and will interact with via the dbt Cloud IDE.\n\ - \ " - GroupPermission: - type: object - required: - - account_id - - group_id - - all_projects - - permission_set - properties: - account_id: - type: integer - group_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - all_projects: - type: boolean - permission_set: - type: string - enum: - - owner - - member - - account_admin - - security_admin - - billing_admin - - admin - - database_admin - - git_admin - - team_admin - - job_admin - - job_viewer - - analyst - - developer - - stakeholder - - readonly - - project_creator - - account_viewer - - metadata_only - - semantic_layer_only - - webhooks_only - permission_level: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'GroupPermission(account_id: int, group_id: int, project_id: - Union[int, NoneType], all_projects: bool, permission_set: models.permissions.sets.PredefinedPermissionSet, - permission_level: Union[int, NoneType] = None, id: Union[int, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - JobDefinitionV2: - type: object - required: - - environment_id - - account_id - - project_id - - name - - generate_docs - - run_generate_sources - - state - properties: - environment_id: - type: integer - account_id: - type: integer - project_id: - type: integer - name: - type: string - generate_docs: - type: boolean - run_generate_sources: - type: boolean - state: - type: integer - dbt_version: - oneOf: - - type: string - - type: 'null' - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - deactivated: - type: boolean - default: false - run_failure_count: - type: integer - default: 0 - triggers: - oneOf: - - $ref: '#/definitions/JobDefinitionTriggers' - - type: 'null' - settings: - oneOf: - - $ref: '#/definitions/JobDefinitionSettings' - - type: 'null' - execution: - oneOf: - - $ref: '#/definitions/JobDefinitionExecution' - - type: 'null' - schedule: - oneOf: - - $ref: '#/definitions/JobDefinitionSchedule' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - execute_steps: - oneOf: - - type: array - items: - type: string - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - most_recent_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - most_recent_completed_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - job_type: - oneOf: - - type: string - enum: - - ci - - scheduled - - other - - type: 'null' - additionalProperties: false - description: 'JobDefinitionV2(environment_id: int, account_id: int, project_id: - int, name: str, generate_docs: bool, run_generate_sources: bool, state: - int, dbt_version: Union[str, NoneType], raw_dbt_version: Union[str, NoneType] - = None, id: Union[int, NoneType] = None, deactivated: bool = False, run_failure_count: - int = 0, triggers: Union[models.job_definition.JobDefinitionTriggers, - NoneType] = None, settings: Union[models.job_definition.JobDefinitionSettings, - NoneType] = None, execution: Union[models.job_definition.JobDefinitionExecution, - NoneType] = None, schedule: Union[models.job_definition.JobDefinitionSchedule, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, execute_steps: - Union[List[str], NoneType] = None, environment: ''Optional[models.environment.EnvironmentV3]'' - = None, most_recent_run: Union[models.run.Run, NoneType] = None, most_recent_completed_run: - Union[models.run.Run, NoneType] = None, custom_environment_variables: - Union[List[models.custom_environment_variable.CustomEnvironmentVariable], - NoneType] = None, job_type: Union[common.constants.JobType, NoneType] - = None)' - JobDefinitionTriggers: - type: object - required: - - github_webhook - - schedule - properties: - github_webhook: - type: boolean - schedule: - type: boolean - git_provider_webhook: - oneOf: - - type: boolean - - type: 'null' - custom_branch_only: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'JobDefinitionTriggers(github_webhook: bool, schedule: bool, - git_provider_webhook: Union[bool, NoneType] = None, custom_branch_only: - Union[bool, NoneType] = None)' - JobDefinitionSettings: - type: object - required: - - threads - - target_name - properties: - threads: - type: integer - target_name: - type: string - additionalProperties: false - description: 'JobDefinitionSettings(threads: int, target_name: str)' - JobDefinitionExecution: - type: object - required: - - timeout_seconds - properties: - timeout_seconds: - type: integer - additionalProperties: false - description: 'JobDefinitionExecution(timeout_seconds: int)' - JobDefinitionSchedule: - type: object - required: - - cron - - date - - time - properties: - cron: - type: string - date: - type: string - enum: - - every_day - - days_of_week - - custom_cron - time: - type: string - enum: - - every_hour - - at_exact_hours - additionalProperties: false - description: 'JobDefinitionSchedule(cron: str, date: models.job_definition.DateStrategy, - time: models.job_definition.TimeStrategy)' - EnvironmentV3: - type: object - required: - - account_id - - project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - credentials_id: - oneOf: - - type: integer - - type: 'null' - name: - type: string - default: New Environment - dbt_version: - type: string - default: 1.6.0-latest - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - type: - type: string - enum: - - development - - deployment - default: deployment - use_custom_branch: - type: boolean - default: false - custom_branch: - oneOf: - - type: string - - type: 'null' - supports_docs: - type: boolean - default: false - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - project: - oneOf: - - $ref: '#/definitions/Project' - - type: 'null' - jobs: - oneOf: - - type: array - items: - type: object - additionalProperties: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - - type: 'null' - credentials: - oneOf: - - $ref: '#/definitions/PostgresCredentials' - - $ref: '#/definitions/RedshiftCredentials' - - $ref: '#/definitions/SnowflakeCredentials' - - $ref: '#/definitions/BigqueryCredentials' - - $ref: '#/definitions/DbtAdapterCredentials' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - deployment_type: - oneOf: - - type: string - enum: - - production - - type: 'null' - additionalProperties: false - description: "\n An environment is a collection of settings within a\ - \ project that defines how dbt is run.\n Use it to define the version\ - \ controlled branch and warehouse connection that dbt will run on.\n \ - \ " - Project: - type: object - required: - - name - - account_id - properties: - name: - type: string - account_id: - type: integer - connection_id: - oneOf: - - type: integer - - type: 'null' - repository_id: - oneOf: - - type: integer - - type: 'null' - semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false - state: - type: integer - default: 1 - dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' - connection: - oneOf: - - $ref: '#/definitions/BaseConnectionV3' - - type: 'null' - repository: - oneOf: - - $ref: '#/definitions/RepositoryV3' - - type: 'null' - group_permissions: - oneOf: - - type: array - items: - $ref: '#/definitions/GroupPermission' - - type: 'null' - docs_job_id: - oneOf: - - type: integer - - type: 'null' - freshness_job_id: - oneOf: - - type: integer - - type: 'null' - docs_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - freshness_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: - int = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: - Union[models.connection.common.BaseConnectionV3, NoneType] = None, repository: - Union[models.repository.RepositoryV3, NoneType] = None, group_permissions: - Union[List[models.permissions.group_permission.GroupPermission], NoneType] - = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: Union[int, - NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - Run: - type: object - required: - - account_id - - environment_id - - project_id - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - trigger_id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - environment_id: - type: integer - project_id: - type: integer - job_definition_id: - type: integer - status: - type: integer - default: 1 - dbt_version: - type: string - default: 1.6.0-latest - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - status_message: - oneOf: - - type: string - - type: 'null' - owner_thread_id: - oneOf: - - type: string - - type: 'null' - executed_by_thread_id: - oneOf: - - type: string - - type: 'null' - deferring_run_id: - oneOf: - - type: integer - - type: 'null' - artifacts_saved: - type: boolean - default: false - artifact_s3_path: - oneOf: - - type: string - - type: 'null' - has_docs_generated: - type: boolean - default: false - has_sources_generated: - type: boolean - default: false - notifications_sent: - type: boolean - default: false - blocked_by: - type: array - items: - type: integer - default: [] - scribe_enabled: - type: boolean - default: false - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - dequeued_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_checked_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_heartbeat_at: - oneOf: - - type: string - format: date-time - - type: 'null' - should_start_at: - oneOf: - - type: string - format: date-time - - type: 'null' - trigger: - oneOf: - - $ref: '#/definitions/RunTrigger' - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - environment: - oneOf: - - type: object - - type: 'null' - run_steps: - oneOf: - - type: array - items: - $ref: '#/definitions/RunStep' - - type: 'null' - default: [] - status_humanized: - oneOf: - - type: string - - type: 'null' - in_progress: - oneOf: - - type: boolean - - type: 'null' - is_complete: - oneOf: - - type: boolean - - type: 'null' - is_success: - oneOf: - - type: boolean - - type: 'null' - is_error: - oneOf: - - type: boolean - - type: 'null' - is_cancelled: - oneOf: - - type: boolean - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - queued_duration: - oneOf: - - type: string - - type: 'null' - run_duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - queued_duration_humanized: - oneOf: - - type: string - - type: 'null' - run_duration_humanized: - oneOf: - - type: string - - type: 'null' - created_at_humanized: - oneOf: - - type: string - - type: 'null' - finished_at_humanized: - oneOf: - - type: string - - type: 'null' - job_id: - oneOf: - - type: integer - - type: 'null' - is_running: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: "\n Represents a run of a job definition.\n " - RunTrigger: - type: object - required: - - cause - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - cause: - type: string - job_definition_id: - type: integer - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - azure_pull_request_id: - oneOf: - - type: integer - - type: 'null' - github_pull_request_id: - oneOf: - - type: integer - - type: 'null' - gitlab_merge_request_id: - oneOf: - - type: integer - - type: 'null' - schema_override: - oneOf: - - type: string - - type: 'null' - dbt_version_override: - oneOf: - - type: string - - type: 'null' - threads_override: - oneOf: - - type: integer - - type: 'null' - target_name_override: - oneOf: - - type: string - - type: 'null' - generate_docs_override: - oneOf: - - type: boolean - - type: 'null' - timeout_seconds_override: - oneOf: - - type: integer - - type: 'null' - steps_override: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - cause_humanized: - oneOf: - - type: string - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - additionalProperties: false - description: 'RunTrigger(id: Union[int, NoneType], cause: str, job_definition_id: - int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] - = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: - Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None)' - RunStep: - type: object - required: - - run_id - - account_id - - index - - status - - name - properties: - id: - oneOf: - - type: integer - - type: 'null' - run_id: - type: integer - account_id: - type: integer - index: - type: integer - status: - type: integer - name: - type: string - logs: - oneOf: - - type: string - - type: 'null' - debug_logs: - oneOf: - - type: string - - type: 'null' - log_location: - oneOf: - - type: string - enum: - - legacy - - s3 - - db - - empty - - type: 'null' - default: db - log_path: - oneOf: - - type: string - - type: 'null' - debug_log_path: - oneOf: - - type: string - - type: 'null' - log_archive_type: - oneOf: - - type: string - - type: 'null' - default: db_flushed - truncated_debug_logs: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - status_color: - oneOf: - - type: string - - type: 'null' - status_humanized: - oneOf: - - type: string - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: - int, index: int, status: int, name: str, logs: Union[str, NoneType] = - None, debug_logs: Union[str, NoneType] = None, log_location: Union[models.run_step.RunStepLogLocation, - NoneType] = , log_path: Union[str, NoneType] - = None, debug_log_path: Union[str, NoneType] = None, log_archive_type: - Union[str, NoneType] = , truncated_debug_logs: - Union[str, NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, started_at: - Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, - NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: - Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' - RedshiftCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - redshift - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RedshiftCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str, default_schema: str, target_name: - str = ''default'', password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - SnowflakeCredentials: - type: object - required: - - account_id - - type - - state - - threads - - auth_type - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - snowflake - state: - type: integer - threads: - type: integer - auth_type: - type: string - enum: - - password - - sso - - keypair - schema: - type: string - user: - oneOf: - - type: string - - type: 'null' - target_name: - type: string - default: default - role: - oneOf: - - type: string - - type: 'null' - database: - oneOf: - - type: string - - type: 'null' - warehouse: - oneOf: - - type: string - - type: 'null' - password: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - private_key_passphrase: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'SnowflakeCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, auth_type: models.credentials.snowflake.SnowflakeAuthenticationType, - schema: str, user: Union[str, NoneType] = None, target_name: str = ''default'', - role: Union[str, NoneType] = None, database: Union[str, NoneType] = None, - warehouse: Union[str, NoneType] = None, _refresh_token: Union[str, NoneType] - = None, password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, private_key: Union[str, NoneType] = None, _private_key: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - BigqueryCredentials: - type: object - required: - - account_id - - type - - state - - threads - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - bigquery - state: - type: integer - threads: - type: integer - schema: - type: string - target_name: - type: string - default: default - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - username: - oneOf: - - type: string - - type: 'null' - has_refresh_token: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'BigqueryCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, schema: str, target_name: str = ''default'', - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' - DbtAdapterCredentials: - type: object - required: - - account_id - - type - - state - - threads - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - adapter - state: - type: integer - threads: - type: integer - adapter_id: - oneOf: - - type: integer - - type: 'null' - credential_details: - oneOf: - - $ref: '#/definitions/BaseSparkAdapterCredentialsSchema' - - $ref: '#/definitions/DatabricksCredentialsSchema' - - $ref: '#/definitions/TrinoCredentialsSchema' - - type: 'null' - unencrypted_credential_details: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: 'null' - target_name: - type: string - default: default - adapter: - oneOf: - - $ref: '#/definitions/DbtAdapter' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, adapter_id: Union[int, NoneType], credential_details: - Union[schemas.adapters.base_spark.BaseSparkAdapterCredentialsSchema, schemas.adapters.databricks.credentials_schema.DatabricksCredentialsSchema, - schemas.adapters.trino.credentials_schema.TrinoCredentialsSchema, NoneType] - = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' - BaseSparkAdapterCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/BaseSparkAdapterCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'BaseSparkAdapterCredentialsSchema(fields: schemas.adapters.base_spark.BaseSparkAdapterCredentialFields - = BaseSparkAdapterCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - BaseSparkAdapterCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'BaseSparkAdapterCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DatabricksCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'DatabricksCredentialsSchema(fields: schemas.adapters.databricks.credentials_schema.DatabricksCredentialFields - = DatabricksCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - Union[List[str], NoneType] = None)' - DatabricksCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TrinoCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoCredentialFields' - default: - user: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'TrinoCredentialsSchema(fields: schemas.adapters.trino.credentials_schema.TrinoCredentialFields - = TrinoCredentialFields(user=TextField(metadata=TextFieldMetadata(label=''User'', - description=''The username of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password=TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - TrinoCredentialFields: - type: object - required: [] - properties: - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - $ref: '#/definitions/TextField' - default: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - $ref: '#/definitions/TextField' - default: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'TrinoCredentialFields(user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description=''The - username of the account to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DbtAdapter: - type: object - required: - - account_id - - project_id - - adapter_version - - metadata_json - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - adapter_version: - type: string - enum: - - apache_spark_v0 - - databricks_spark_v0 - - databricks_v0 - - trino_v0 - - snowflake_v0 - - bigquery_v0 - - postgres_v0 - - redshift_v0 - metadata_json: - type: object - additionalProperties: - type: string - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapter(id: Union[int, NoneType], account_id: int, project_id: - int, created_by_id: Union[int, NoneType], created_by_service_token_id: - Union[int, NoneType], adapter_version: schemas.adapter.DbtAdapterVersion, - metadata_json: Dict[str, str], state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' - CustomEnvironmentVariable: - type: object - required: - - account_id - - project_id - - name - - type - properties: - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - project - - environment - - job - - user - state: - oneOf: - - type: integer - - type: 'null' - default: 1 - user_id: - oneOf: - - type: integer - - type: 'null' - environment_id: - oneOf: - - type: integer - - type: 'null' - job_definition_id: - oneOf: - - type: integer - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - raw_value: - oneOf: - - type: string - - type: 'null' - display_value: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This model represents a user-defined environment variable,\ - \ which can be\n set on the account, job or user-level and leveraged\ - \ in both the IDE and\n scheduled Runs.\n " - $schema: http://json-schema.org/draft-07/schema# + $ref: '#/components/schemas/Project' + required: + - account_id + - credentials_id + - project_id + - state + - user_id UserCredentialsEnveloped: type: object properties: data: - type: array - items: - $ref: '#/components/schemas/UserCredentials' + $ref: '#/components/schemas/UserCredentials' status: $ref: '#/components/schemas/Status' required: @@ -53121,16 +4810,9 @@ components: - status UserCredentialsRequest: type: object - required: - - account_id - - user_id - - project_id - - credentials_id properties: id: - oneOf: - - type: integer - - type: 'null' + type: integer account_id: type: integer user_id: @@ -53141,3738 +4823,16 @@ components: type: integer state: type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'UserCredentials(id: Union[int, NoneType], account_id: int, user_id: - int, project_id: int, credentials_id: int, state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None, credentials: - Union[models.credentials.postgres.PostgresCredentials, models.credentials.redshift.RedshiftCredentials, - models.credentials.snowflake.SnowflakeCredentials, models.credentials.bigquery.BigqueryCredentials, - models.credentials.dbt_adapter_credentials.DbtAdapterCredentials, NoneType] - = None, project: Union[models.project.Project, NoneType] = None)' - definitions: - PostgresCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - postgres - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'PostgresCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str = None, default_schema: str = - None, target_name: str = ''default'', password: Union[str, NoneType] = - None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - BaseConnectionV3: - type: object - required: - - account_id - - project_id - - name - - type - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - postgres - - redshift - - snowflake - - bigquery - - adapter - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - details: - oneOf: - - oneOf: - - $ref: '#/definitions/PostgresConnectionV3' - - $ref: '#/definitions/SnowflakeConnectionV3' - - $ref: '#/definitions/BigqueryConnectionV3' - - $ref: '#/definitions/DbtAdapterConnection' - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - private_link_endpoint_id: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BaseConnectionV3(id: Union[int, NoneType], account_id: int, - project_id: int, name: str, type: models.connection.common.ConnectionType, - created_by_id: Union[int, NoneType] = None, created_by_service_token_id: - Union[int, NoneType] = None, details: Union[ForwardRef(''AnyConnection''), - NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None, - private_link_endpoint_id: Union[str, NoneType] = None)' - PostgresConnectionV3: - type: object - required: - - hostname - - dbname - - port - - tunnel_enabled - properties: - hostname: - type: string - dbname: - type: string - port: - type: integer - tunnel_enabled: - type: boolean - encryption: - oneOf: - - $ref: '#/definitions/ConnectionEncryption' - - type: 'null' - additionalProperties: false - description: 'PostgresConnectionV3(hostname: str, dbname: str, port: int, - tunnel_enabled: bool, encryption: Union[models.connection.encryption.ConnectionEncryption, - NoneType] = None)' - ConnectionEncryption: - type: object - required: - - account_id - - connection_id - - username - - port - - hostname - properties: - account_id: - type: integer - connection_id: - type: integer - username: - type: string - port: - type: integer - hostname: - type: string - public_key: - oneOf: - - type: string - - type: 'null' - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'ConnectionEncryption(account_id: int, connection_id: int, - username: str, port: int, hostname: str, public_key: Union[str, NoneType] - = None, state: int = 1, id: Union[int, NoneType] = None, private_key: - Union[str, NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None)' - SnowflakeConnectionV3: - type: object - required: - - account - - database - - warehouse - - allow_sso - - client_session_keep_alive - properties: - account: - type: string - database: - type: string - warehouse: - type: string - allow_sso: - type: boolean - client_session_keep_alive: - type: boolean - role: - oneOf: - - type: string - - type: 'null' - oauth_client_id: - oneOf: - - type: string - - type: 'null' - oauth_client_secret: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SnowflakeConnectionV3(account: str, database: str, warehouse: - str, allow_sso: bool, client_session_keep_alive: bool, role: Union[str, - NoneType] = None, oauth_client_id: Union[str, NoneType] = None, _oauth_client_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - oauth_client_secret: Union[str, NoneType] = None, _oauth_client_secret: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None)' - BigqueryConnectionV3: - type: object - required: - - project_id - - timeout_seconds - - private_key_id - - client_email - - client_id - - auth_uri - - token_uri - - auth_provider_x509_cert_url - - client_x509_cert_url - properties: - project_id: - type: string - timeout_seconds: - type: integer - private_key_id: - type: string - client_email: - type: string - client_id: - type: string - auth_uri: - type: string - token_uri: - type: string - auth_provider_x509_cert_url: - type: string - client_x509_cert_url: - type: string - priority: - oneOf: - - type: string - - type: 'null' - retries: - type: integer - default: 1 - scopes: - oneOf: - - type: array - items: - type: string - - type: 'null' - location: - oneOf: - - type: string - - type: 'null' - maximum_bytes_billed: - oneOf: - - type: integer - - type: 'null' - execution_project: - oneOf: - - type: string - - type: 'null' - impersonate_service_account: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - job_retry_deadline_seconds: - oneOf: - - type: integer - - type: 'null' - job_creation_timeout_seconds: - oneOf: - - type: integer - - type: 'null' - application_id: - oneOf: - - type: string - - type: 'null' - application_secret: - oneOf: - - type: string - - type: 'null' - is_configured_for_oauth: - type: boolean - default: false - gcs_bucket: - oneOf: - - type: string - - type: 'null' - dataproc_region: - oneOf: - - type: string - - type: 'null' - dataproc_cluster_name: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'BigqueryConnectionV3(project_id: str, timeout_seconds: int, - private_key_id: str, client_email: str, client_id: str, auth_uri: str, - token_uri: str, auth_provider_x509_cert_url: str, client_x509_cert_url: - str, priority: Union[str, NoneType] = None, retries: int = 1, scopes: - Union[List[str], NoneType] = None, location: Union[str, NoneType] = None, - maximum_bytes_billed: Union[int, NoneType] = None, execution_project: - Union[str, NoneType] = None, impersonate_service_account: Union[str, NoneType] - = None, private_key: Union[str, NoneType] = None, job_retry_deadline_seconds: - Union[int, NoneType] = None, job_creation_timeout_seconds: Union[int, - NoneType] = None, _private_key: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, application_id: Union[str, NoneType] = None, application_secret: - Union[str, NoneType] = None, is_configured_for_oauth: bool = False, _application_id: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - _application_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, gcs_bucket: Union[str, NoneType] = None, dataproc_region: - Union[str, NoneType] = None, dataproc_cluster_name: Union[str, NoneType] - = None)' - DbtAdapterConnection: - type: object - required: - - connection_details - properties: - adapter_id: - oneOf: - - type: integer - - type: 'null' - connection_details: - oneOf: - - $ref: '#/definitions/ApacheSparkConnectionSchema' - - $ref: '#/definitions/DatabricksSparkConnectionSchema' - - $ref: '#/definitions/DatabricksConnectionSchema' - - $ref: '#/definitions/TrinoConnectionSchema' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterConnection(adapter_id: Union[int, NoneType], connection_details: - Union[schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionSchema, - schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionSchema, - schemas.adapters.databricks.connection_schema.DatabricksConnectionSchema, - schemas.adapters.trino.connection_schema.TrinoConnectionSchema], created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - ApacheSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/ApacheSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'ApacheSparkConnectionSchema(fields: schemas.adapters.apache_spark.connection_schema.ApacheSparkConnectionFields - = ApacheSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''HTTP'', value=''http''), - SelectOption(label=''Thrift'', value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''Port number of host.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description=''Organization id'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), auth=TextField(metadata=TextFieldMetadata(label=''Auth'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - ApacheSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: HTTP - value: http - - label: Thrift - value: thrift - validation: - min_length: null - max_length: null - required: true - pattern: null - value: http - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: Host name of connection. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: Port number of host. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: '' - connect_timeout: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Timeout - description: Connection timeout in seconds - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 10 - connect_retries: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Connection Retries - description: Connection retries in integer - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: 0 - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: Organization id - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - auth: - $ref: '#/definitions/TextField' - default: - metadata: - label: Auth - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - kerberos_service_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Kerberos Service Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'ApacheSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''HTTP'', value=''http''), SelectOption(label=''Thrift'', - value=''thrift'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''http''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''Host name of connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''Port - number of host.'', field_type=''number'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericIntegerValidation(required=True)), - value=''''), connect_timeout: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Timeout'', description=''Connection timeout in seconds'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=10), connect_retries: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Connection - Retries'', description=''Connection retries in integer'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=False)), - value=0), organization: Union[schemas.fields.TextField.TextField, NoneType] - = TextField(metadata=TextFieldMetadata(label=''Organization'', description=''Organization - id'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), auth: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Auth'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TextField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: string - additionalProperties: false - description: 'TextField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: str = None)' - TextFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: text - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'TextFieldMetadata(label: str, description: str, field_type: - str = ''text'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - validation: schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - GenericTextValidation: - type: object - required: [] - properties: - min_length: - oneOf: - - type: integer - - type: 'null' - max_length: - oneOf: - - type: integer - - type: 'null' - required: - oneOf: - - type: boolean - - type: 'null' - default: false - pattern: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'GenericTextValidation(min_length: Union[int, NoneType] = None, - max_length: Union[int, NoneType] = None, required: Union[bool, NoneType] - = False, pattern: Union[str, NoneType] = None)' - SelectField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/SelectFieldMetadata' - value: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'SelectField(metadata: schemas.fields.SelectField.SelectFieldMetadata, - value: Union[str, NoneType] = None)' - SelectFieldMetadata: - type: object - required: - - label - - description - - options - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: select - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - options: - type: array - items: - $ref: '#/definitions/SelectOption' - validation: - $ref: '#/definitions/GenericTextValidation' - default: - min_length: null - max_length: null - required: false - pattern: null - additionalProperties: false - description: 'SelectFieldMetadata(label: str, description: str, field_type: - str = ''select'', encrypt: bool = False, depends_on: Union[Dict[str, Union[str, - List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] = False, - options: List[schemas.fields.SelectField.SelectOption] = None, validation: - schemas.fields.TextField.GenericTextValidation = GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None))' - SelectOption: - type: object - required: - - label - - value - properties: - label: - type: string - value: - oneOf: - - type: string - - type: integer - additionalProperties: false - description: 'SelectOption(label: str, value: Union[str, int])' - LegacyIntegerField: - type: object - required: - - metadata - - value - properties: - metadata: - $ref: '#/definitions/TextFieldMetadata' - value: - type: integer - additionalProperties: false - description: 'LegacyIntegerField(metadata: schemas.fields.TextField.TextFieldMetadata, - value: int = None)' - DatabricksSparkConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksSparkConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect - to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if - using a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if - using Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksSparkConnectionSchema(fields: schemas.adapters.databricks_spark.connection_schema.DatabricksSparkConnectionFields - = DatabricksSparkConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''spark''), method=SelectField(metadata=SelectFieldMetadata(label=''Method'', - description='''', field_type=''select'', encrypt=False, depends_on=None, - overrideable=False, options=[SelectOption(label=''ODBC'', value=''odbc'')], - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''odbc''), host=TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to Databricks for this connection.'', - field_type=''number'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericIntegerValidation(required=True)), value=443), cluster=TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint=TextField(metadata=TextFieldMetadata(label=''Endpoint'', - description=''The ID of the endpoint to connect to (required if using - Databricks SQL Analytics)'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', - description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization=TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user=TextField(metadata=TextFieldMetadata(label=''User'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - List[str] = )' - DatabricksSparkConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: spark - method: - $ref: '#/definitions/SelectField' - default: - metadata: - label: Method - description: '' - field_type: select - encrypt: false - depends_on: null - overrideable: false - options: - - label: ODBC - value: odbc - validation: - min_length: null - max_length: null - required: true - pattern: null - value: odbc - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Hostname - description: The hostname of the Databricks account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to Databricks for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - cluster: - $ref: '#/definitions/TextField' - default: - metadata: - label: Cluster - description: The ID of the cluster to connect to (required if using - a cluster) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - endpoint: - $ref: '#/definitions/TextField' - default: - metadata: - label: Endpoint - description: The ID of the endpoint to connect to (required if using - Databricks SQL Analytics) - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - driver: - $ref: '#/definitions/TextField' - default: - metadata: - label: Driver - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: /opt/simba/spark/lib/64/libsparkodbc_sb64.so - organization: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Organization - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksSparkConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''spark''), method: schemas.fields.SelectField.SelectField - = SelectField(metadata=SelectFieldMetadata(label=''Method'', description='''', - field_type=''select'', encrypt=False, depends_on=None, overrideable=False, - options=[SelectOption(label=''ODBC'', value=''odbc'')], validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''odbc''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Hostname'', - description=''The hostname of the Databricks account to connect to.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_hostname'')), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to Databricks for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443), cluster: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Cluster'', - description=''The ID of the cluster to connect to (required if using a - cluster)'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), endpoint: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Endpoint'', description=''The - ID of the endpoint to connect to (required if using Databricks SQL Analytics)'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''), driver: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Driver'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''/opt/simba/spark/lib/64/libsparkodbc_sb64.so''), - organization: Union[schemas.fields.TextField.TextField, NoneType] = TextField(metadata=TextFieldMetadata(label=''Organization'', - description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''''))' - DatabricksConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'DatabricksConnectionSchema(fields: schemas.adapters.databricks.connection_schema.DatabricksConnectionFields - = DatabricksConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''databricks''), - host=TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path=TextField(metadata=TextFieldMetadata(label=''HTTP Path'', description=''The - HTTP path of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_http_path'')), value=''''), - catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value='''')), field_order: List[str] = - )' - DatabricksConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: databricks - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Server Hostname - description: The hostname of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_hostname - value: '' - http_path: - $ref: '#/definitions/TextField' - default: - metadata: - label: HTTP Path - description: The HTTP path of the Databricks cluster or SQL warehouse. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: databricks_http_path - value: '' - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: true - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''databricks''), host: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Server Hostname'', description=''The - hostname of the Databricks cluster or SQL warehouse.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=''databricks_hostname'')), value=''''), - http_path: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''HTTP - Path'', description=''The HTTP path of the Databricks cluster or SQL warehouse.'', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=''databricks_http_path'')), value=''''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=True, validation=GenericTextValidation(min_length=None, max_length=None, - required=False, pattern=None)), value=''''))' - TrinoConnectionSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoConnectionFields' - default: - type: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - field_order: - type: array - items: - type: string - default: [] - additionalProperties: false - description: 'TrinoConnectionSchema(fields: schemas.adapters.trino.connection_schema.TrinoConnectionFields - = TrinoConnectionFields(type=TextField(metadata=TextFieldMetadata(label=''Connection - type'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''trino''), method=TextField(metadata=TextFieldMetadata(label=''Method'', - description=''The auth method to use.'', field_type=''hidden'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host=TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443)), field_order: List[str] = )' - TrinoConnectionFields: - type: object - required: [] - properties: - type: - $ref: '#/definitions/TextField' - default: - metadata: - label: Connection type - description: '' - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: trino - method: - $ref: '#/definitions/TextField' - default: - metadata: - label: Method - description: The auth method to use. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: ldap - host: - $ref: '#/definitions/TextField' - default: - metadata: - label: Host - description: The hostname of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - port: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Port - description: The port to connect to for this connection. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 443 - additionalProperties: false - description: 'TrinoConnectionFields(type: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Connection type'', description='''', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''trino''), method: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Method'', description=''The - auth method to use.'', field_type=''hidden'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''ldap''), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''number'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=443))' - RepositoryV3: - type: object - required: - - account_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - full_name: - oneOf: - - type: string - - type: 'null' - remote_url: - oneOf: - - type: string - pattern: ^\S+[/:](?P[^\s/]+?)(?:\.git)?$ - - type: 'null' - remote_backend: - oneOf: - - type: string - enum: - - azure_active_directory - - github - - managed - - gitlab - - manual_config - - type: 'null' - git_clone_strategy: - oneOf: - - type: string - enum: - - azure_active_directory_app - - deploy_key - - deploy_token - - github_app - - git_token - - type: 'null' - deploy_key_id: - oneOf: - - type: integer - - type: 'null' - repository_credentials_id: - oneOf: - - type: integer - - type: 'null' - github_installation_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_id: - oneOf: - - type: integer - - type: 'null' - github_webhook_secret: - oneOf: - - type: string - - type: 'null' - pull_request_url_template: - oneOf: - - type: string - pattern: ^(http|https)://(.*) - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - deploy_key: - oneOf: - - type: object - - type: 'null' - github_repo: - oneOf: - - type: string - - type: 'null' - name: - oneOf: - - type: string - - type: 'null' - git_provider_id: - oneOf: - - type: integer - - type: 'null' - gitlab: - oneOf: - - $ref: '#/definitions/RepositoryGitlab' - - type: 'null' - git_provider: - oneOf: - - $ref: '#/definitions/GitProvider' - - type: 'null' - additionalProperties: false - description: 'RepositoryV3(id: Union[int, NoneType], account_id: int, project_id: - Union[int, NoneType] = None, full_name: Union[str, NoneType] = None, remote_url: - Union[RemoteUrl, NoneType] = None, remote_backend: Union[models.repository.GitRemoteBackend, - NoneType] = None, git_clone_strategy: Union[models.repository.GitCloneStrategy, - NoneType] = None, deploy_key_id: Union[int, NoneType] = None, repository_credentials_id: - Union[int, NoneType] = None, github_installation_id: Union[int, NoneType] - = None, github_webhook_id: Union[int, NoneType] = None, github_webhook_secret: - Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, - NoneType] = None, git_provider: Union[models.git_provider.GitProvider, - NoneType] = None)' - RepositoryGitlab: - type: object - required: - - account_id - - gitlab_project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - repository_id: - oneOf: - - type: integer - - type: 'null' - gitlab_project_id: - type: integer - state: - type: integer - default: 1 - project_access_token_id: - oneOf: - - type: integer - - type: 'null' - project_access_token: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RepositoryGitlab(id: Union[int, NoneType], account_id: int, - repository_id: Union[int, NoneType], gitlab_project_id: int, state: int - = 1, project_access_token_id: Union[int, NoneType] = None, project_access_token: - Union[str, NoneType] = None, _project_access_token: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - GitProvider: - type: object - required: - - account_id - - provider_type - properties: - account_id: - type: integer - provider_type: - type: string - enum: - - azure_active_directory - - github - - gitlab - - git_url - - managed_github - - manual_config - state: - type: integer - default: 1 - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This class represents a git provider integration the\ - \ user\n has setup and will interact with via the dbt Cloud IDE.\n\ - \ " - GroupPermission: - type: object - required: - - account_id - - group_id - - all_projects - - permission_set - properties: - account_id: - type: integer - group_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - all_projects: - type: boolean - permission_set: - type: string - enum: - - owner - - member - - account_admin - - security_admin - - billing_admin - - admin - - database_admin - - git_admin - - team_admin - - job_admin - - job_viewer - - analyst - - developer - - stakeholder - - readonly - - project_creator - - account_viewer - - metadata_only - - semantic_layer_only - - webhooks_only - permission_level: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'GroupPermission(account_id: int, group_id: int, project_id: - Union[int, NoneType], all_projects: bool, permission_set: models.permissions.sets.PredefinedPermissionSet, - permission_level: Union[int, NoneType] = None, id: Union[int, NoneType] - = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None)' - JobDefinitionV2: - type: object - required: - - environment_id - - account_id - - project_id - - name - - generate_docs - - run_generate_sources - - state - properties: - environment_id: - type: integer - account_id: - type: integer - project_id: - type: integer - name: - type: string - generate_docs: - type: boolean - run_generate_sources: - type: boolean - state: - type: integer - dbt_version: - oneOf: - - type: string - - type: 'null' - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - deactivated: - type: boolean - default: false - run_failure_count: - type: integer - default: 0 - triggers: - oneOf: - - $ref: '#/definitions/JobDefinitionTriggers' - - type: 'null' - settings: - oneOf: - - $ref: '#/definitions/JobDefinitionSettings' - - type: 'null' - execution: - oneOf: - - $ref: '#/definitions/JobDefinitionExecution' - - type: 'null' - schedule: - oneOf: - - $ref: '#/definitions/JobDefinitionSchedule' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - execute_steps: - oneOf: - - type: array - items: - type: string - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - most_recent_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - most_recent_completed_run: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - job_type: - oneOf: - - type: string - enum: - - ci - - scheduled - - other - - type: 'null' - additionalProperties: false - description: 'JobDefinitionV2(environment_id: int, account_id: int, project_id: - int, name: str, generate_docs: bool, run_generate_sources: bool, state: - int, dbt_version: Union[str, NoneType], raw_dbt_version: Union[str, NoneType] - = None, id: Union[int, NoneType] = None, deactivated: bool = False, run_failure_count: - int = 0, triggers: Union[models.job_definition.JobDefinitionTriggers, - NoneType] = None, settings: Union[models.job_definition.JobDefinitionSettings, - NoneType] = None, execution: Union[models.job_definition.JobDefinitionExecution, - NoneType] = None, schedule: Union[models.job_definition.JobDefinitionSchedule, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, execute_steps: - Union[List[str], NoneType] = None, environment: ''Optional[models.environment.EnvironmentV3]'' - = None, most_recent_run: Union[models.run.Run, NoneType] = None, most_recent_completed_run: - Union[models.run.Run, NoneType] = None, custom_environment_variables: - Union[List[models.custom_environment_variable.CustomEnvironmentVariable], - NoneType] = None, job_type: Union[common.constants.JobType, NoneType] - = None)' - JobDefinitionTriggers: - type: object - required: - - github_webhook - - schedule - properties: - github_webhook: - type: boolean - schedule: - type: boolean - git_provider_webhook: - oneOf: - - type: boolean - - type: 'null' - custom_branch_only: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'JobDefinitionTriggers(github_webhook: bool, schedule: bool, - git_provider_webhook: Union[bool, NoneType] = None, custom_branch_only: - Union[bool, NoneType] = None)' - JobDefinitionSettings: - type: object - required: - - threads - - target_name - properties: - threads: - type: integer - target_name: - type: string - additionalProperties: false - description: 'JobDefinitionSettings(threads: int, target_name: str)' - JobDefinitionExecution: - type: object - required: - - timeout_seconds - properties: - timeout_seconds: - type: integer - additionalProperties: false - description: 'JobDefinitionExecution(timeout_seconds: int)' - JobDefinitionSchedule: - type: object - required: - - cron - - date - - time - properties: - cron: - type: string - date: - type: string - enum: - - every_day - - days_of_week - - custom_cron - time: - type: string - enum: - - every_hour - - at_exact_hours - additionalProperties: false - description: 'JobDefinitionSchedule(cron: str, date: models.job_definition.DateStrategy, - time: models.job_definition.TimeStrategy)' - EnvironmentV3: - type: object - required: - - account_id - - project_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - credentials_id: - oneOf: - - type: integer - - type: 'null' - name: - type: string - default: New Environment - dbt_version: - type: string - default: 1.6.0-latest - raw_dbt_version: - oneOf: - - type: string - - type: 'null' - type: - type: string - enum: - - development - - deployment - default: deployment - use_custom_branch: - type: boolean - default: false - custom_branch: - oneOf: - - type: string - - type: 'null' - supports_docs: - type: boolean - default: false - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - project: - oneOf: - - $ref: '#/definitions/Project' - - type: 'null' - jobs: - oneOf: - - type: array - items: - type: object - additionalProperties: - oneOf: - - $ref: '#/definitions/Run' - - type: 'null' - - type: 'null' - credentials: - oneOf: - - $ref: '#/definitions/PostgresCredentials' - - $ref: '#/definitions/RedshiftCredentials' - - $ref: '#/definitions/SnowflakeCredentials' - - $ref: '#/definitions/BigqueryCredentials' - - $ref: '#/definitions/DbtAdapterCredentials' - - type: 'null' - custom_environment_variables: - oneOf: - - type: array - items: - $ref: '#/definitions/CustomEnvironmentVariable' - - type: 'null' - deployment_type: - oneOf: - - type: string - enum: - - production - - type: 'null' - additionalProperties: false - description: "\n An environment is a collection of settings within a\ - \ project that defines how dbt is run.\n Use it to define the version\ - \ controlled branch and warehouse connection that dbt will run on.\n \ - \ " - Project: - type: object - required: - - name - - account_id - properties: - name: - type: string - account_id: - type: integer - connection_id: - oneOf: - - type: integer - - type: 'null' - repository_id: - oneOf: - - type: integer - - type: 'null' - semantic_layer_config_id: - oneOf: - - type: integer - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - skipped_setup: - oneOf: - - type: boolean - - type: 'null' - default: false - state: - type: integer - default: 1 - dbt_project_subdirectory: - oneOf: - - type: string - - type: 'null' - connection: - oneOf: - - $ref: '#/definitions/BaseConnectionV3' - - type: 'null' - repository: - oneOf: - - $ref: '#/definitions/RepositoryV3' - - type: 'null' - group_permissions: - oneOf: - - type: array - items: - $ref: '#/definitions/GroupPermission' - - type: 'null' - docs_job_id: - oneOf: - - type: integer - - type: 'null' - freshness_job_id: - oneOf: - - type: integer - - type: 'null' - docs_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - freshness_job: - oneOf: - - $ref: '#/definitions/JobDefinitionV2' - - type: 'null' - additionalProperties: false - description: 'Project(name: str, account_id: int, connection_id: Union[int, - NoneType], repository_id: Union[int, NoneType] = None, semantic_layer_config_id: - Union[int, NoneType] = None, id: Union[int, NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, skipped_setup: Union[bool, NoneType] = False, state: - int = 1, dbt_project_subdirectory: Union[str, NoneType] = None, connection: - Union[models.connection.common.BaseConnectionV3, NoneType] = None, repository: - Union[models.repository.RepositoryV3, NoneType] = None, group_permissions: - Union[List[models.permissions.group_permission.GroupPermission], NoneType] - = None, docs_job_id: Union[int, NoneType] = None, freshness_job_id: Union[int, - NoneType] = None, docs_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None, freshness_job: Union[models.job_definition.JobDefinitionV2, - NoneType] = None)' - Run: - type: object - required: - - account_id - - environment_id - - project_id - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - trigger_id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - environment_id: - type: integer - project_id: - type: integer - job_definition_id: - type: integer - status: - type: integer - default: 1 - dbt_version: - type: string - default: 1.6.0-latest - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - status_message: - oneOf: - - type: string - - type: 'null' - owner_thread_id: - oneOf: - - type: string - - type: 'null' - executed_by_thread_id: - oneOf: - - type: string - - type: 'null' - deferring_run_id: - oneOf: - - type: integer - - type: 'null' - artifacts_saved: - type: boolean - default: false - artifact_s3_path: - oneOf: - - type: string - - type: 'null' - has_docs_generated: - type: boolean - default: false - has_sources_generated: - type: boolean - default: false - notifications_sent: - type: boolean - default: false - blocked_by: - type: array - items: - type: integer - default: [] - scribe_enabled: - type: boolean - default: false - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - dequeued_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_checked_at: - oneOf: - - type: string - format: date-time - - type: 'null' - last_heartbeat_at: - oneOf: - - type: string - format: date-time - - type: 'null' - should_start_at: - oneOf: - - type: string - format: date-time - - type: 'null' - trigger: - oneOf: - - $ref: '#/definitions/RunTrigger' - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - environment: - oneOf: - - type: object - - type: 'null' - run_steps: - oneOf: - - type: array - items: - $ref: '#/definitions/RunStep' - - type: 'null' - default: [] - status_humanized: - oneOf: - - type: string - - type: 'null' - in_progress: - oneOf: - - type: boolean - - type: 'null' - is_complete: - oneOf: - - type: boolean - - type: 'null' - is_success: - oneOf: - - type: boolean - - type: 'null' - is_error: - oneOf: - - type: boolean - - type: 'null' - is_cancelled: - oneOf: - - type: boolean - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - queued_duration: - oneOf: - - type: string - - type: 'null' - run_duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - queued_duration_humanized: - oneOf: - - type: string - - type: 'null' - run_duration_humanized: - oneOf: - - type: string - - type: 'null' - created_at_humanized: - oneOf: - - type: string - - type: 'null' - finished_at_humanized: - oneOf: - - type: string - - type: 'null' - job_id: - oneOf: - - type: integer - - type: 'null' - is_running: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: "\n Represents a run of a job definition.\n " - RunTrigger: - type: object - required: - - cause - - job_definition_id - properties: - id: - oneOf: - - type: integer - - type: 'null' - cause: - type: string - job_definition_id: - type: integer - git_branch: - oneOf: - - type: string - - type: 'null' - git_sha: - oneOf: - - type: string - - type: 'null' - azure_pull_request_id: - oneOf: - - type: integer - - type: 'null' - github_pull_request_id: - oneOf: - - type: integer - - type: 'null' - gitlab_merge_request_id: - oneOf: - - type: integer - - type: 'null' - schema_override: - oneOf: - - type: string - - type: 'null' - dbt_version_override: - oneOf: - - type: string - - type: 'null' - threads_override: - oneOf: - - type: integer - - type: 'null' - target_name_override: - oneOf: - - type: string - - type: 'null' - generate_docs_override: - oneOf: - - type: boolean - - type: 'null' - timeout_seconds_override: - oneOf: - - type: integer - - type: 'null' - steps_override: - oneOf: - - type: array - items: - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - cause_humanized: - oneOf: - - type: string - - type: 'null' - job: - oneOf: - - type: object - - type: 'null' - additionalProperties: false - description: 'RunTrigger(id: Union[int, NoneType], cause: str, job_definition_id: - int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] - = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: - Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None)' - RunStep: - type: object - required: - - run_id - - account_id - - index - - status - - name - properties: - id: - oneOf: - - type: integer - - type: 'null' - run_id: - type: integer - account_id: - type: integer - index: - type: integer - status: - type: integer - name: - type: string - logs: - oneOf: - - type: string - - type: 'null' - debug_logs: - oneOf: - - type: string - - type: 'null' - log_location: - oneOf: - - type: string - enum: - - legacy - - s3 - - db - - empty - - type: 'null' - default: db - log_path: - oneOf: - - type: string - - type: 'null' - debug_log_path: - oneOf: - - type: string - - type: 'null' - log_archive_type: - oneOf: - - type: string - - type: 'null' - default: db_flushed - truncated_debug_logs: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - started_at: - oneOf: - - type: string - format: date-time - - type: 'null' - finished_at: - oneOf: - - type: string - format: date-time - - type: 'null' - status_color: - oneOf: - - type: string - - type: 'null' - status_humanized: - oneOf: - - type: string - - type: 'null' - duration: - oneOf: - - type: string - - type: 'null' - duration_humanized: - oneOf: - - type: string - - type: 'null' - additionalProperties: false - description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: - int, index: int, status: int, name: str, logs: Union[str, NoneType] = - None, debug_logs: Union[str, NoneType] = None, log_location: Union[models.run_step.RunStepLogLocation, - NoneType] = , log_path: Union[str, NoneType] - = None, debug_log_path: Union[str, NoneType] = None, log_archive_type: - Union[str, NoneType] = , truncated_debug_logs: - Union[str, NoneType] = None, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, started_at: - Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, - NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: - Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' - RedshiftCredentials: - type: object - required: - - account_id - - type - - state - - threads - - username - - default_schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - redshift - state: - type: integer - threads: - type: integer - username: - type: string - default_schema: - type: string - target_name: - type: string - default: default - password: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'RedshiftCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, username: str, default_schema: str, target_name: - str = ''default'', password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None)' - SnowflakeCredentials: - type: object - required: - - account_id - - type - - state - - threads - - auth_type - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - snowflake - state: - type: integer - threads: - type: integer - auth_type: - type: string - enum: - - password - - sso - - keypair - schema: - type: string - user: - oneOf: - - type: string - - type: 'null' - target_name: - type: string - default: default - role: - oneOf: - - type: string - - type: 'null' - database: - oneOf: - - type: string - - type: 'null' - warehouse: - oneOf: - - type: string - - type: 'null' - password: - oneOf: - - type: string - - type: 'null' - private_key: - oneOf: - - type: string - - type: 'null' - private_key_passphrase: - oneOf: - - type: string - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'SnowflakeCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, auth_type: models.credentials.snowflake.SnowflakeAuthenticationType, - schema: str, user: Union[str, NoneType] = None, target_name: str = ''default'', - role: Union[str, NoneType] = None, database: Union[str, NoneType] = None, - warehouse: Union[str, NoneType] = None, _refresh_token: Union[str, NoneType] - = None, password: Union[str, NoneType] = None, _password: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, private_key: Union[str, NoneType] = None, _private_key: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: - Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' - BigqueryCredentials: - type: object - required: - - account_id - - type - - state - - threads - - schema - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - bigquery - state: - type: integer - threads: - type: integer - schema: - type: string - target_name: - type: string - default: default - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - username: - oneOf: - - type: string - - type: 'null' - has_refresh_token: - oneOf: - - type: boolean - - type: 'null' - additionalProperties: false - description: 'BigqueryCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, schema: str, target_name: str = ''default'', - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' - DbtAdapterCredentials: - type: object - required: - - account_id - - type - - state - - threads - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - oneOf: - - type: integer - - type: 'null' - type: - type: string - enum: - - adapter - state: - type: integer - threads: - type: integer - adapter_id: - oneOf: - - type: integer - - type: 'null' - credential_details: - oneOf: - - $ref: '#/definitions/BaseSparkAdapterCredentialsSchema' - - $ref: '#/definitions/DatabricksCredentialsSchema' - - $ref: '#/definitions/TrinoCredentialsSchema' - - type: 'null' - unencrypted_credential_details: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: 'null' - target_name: - type: string - default: default - adapter: - oneOf: - - $ref: '#/definitions/DbtAdapter' - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapterCredentials(id: Union[int, NoneType], account_id: - int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, - state: int, threads: int, adapter_id: Union[int, NoneType], credential_details: - Union[schemas.adapters.base_spark.BaseSparkAdapterCredentialsSchema, schemas.adapters.databricks.credentials_schema.DatabricksCredentialsSchema, - schemas.adapters.trino.credentials_schema.TrinoCredentialsSchema, NoneType] - = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, - NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' - BaseSparkAdapterCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/BaseSparkAdapterCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'BaseSparkAdapterCredentialsSchema(fields: schemas.adapters.base_spark.BaseSparkAdapterCredentialFields - = BaseSparkAdapterCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - BaseSparkAdapterCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - oneOf: - - $ref: '#/definitions/LegacyIntegerField' - - type: 'null' - default: - metadata: - label: Threads - description: The number of threads to use for your jobs. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'BaseSparkAdapterCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: Union[schemas.fields.IntegerField.LegacyIntegerField, - NoneType] = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for your jobs.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DatabricksCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/DatabricksCredentialFields' - default: - token: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your - Databricks workspace. Only available in dbt version 1.1 and - later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'DatabricksCredentialsSchema(fields: schemas.adapters.databricks.credentials_schema.DatabricksCredentialFields - = DatabricksCredentialFields(token=TextField(metadata=TextFieldMetadata(label=''Token'', - description=''Personalized user token.'', field_type=''text'', encrypt=True, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), catalog=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value='''')), field_order: - Union[List[str], NoneType] = None)' - DatabricksCredentialFields: - type: object - required: [] - properties: - token: - $ref: '#/definitions/TextField' - default: - metadata: - label: Token - description: Personalized user token. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - catalog: - oneOf: - - $ref: '#/definitions/TextField' - - type: 'null' - default: - metadata: - label: Catalog - description: Catalog name if Unity Catalog is enabled in your Databricks - workspace. Only available in dbt version 1.1 and later. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: '' - additionalProperties: false - description: 'DatabricksCredentialFields(token: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Token'', description=''Personalized - user token.'', field_type=''text'', encrypt=True, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), catalog: Union[schemas.fields.TextField.TextField, - NoneType] = TextField(metadata=TextFieldMetadata(label=''Catalog'', description=''Catalog - name if Unity Catalog is enabled in your Databricks workspace. Only available - in dbt version 1.1 and later.'', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''))' - TrinoCredentialsSchema: - type: object - required: [] - properties: - fields: - $ref: '#/definitions/TrinoCredentialFields' - default: - user: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - field_order: - oneOf: - - type: array - items: - type: string - - type: 'null' - additionalProperties: false - description: 'TrinoCredentialsSchema(fields: schemas.adapters.trino.credentials_schema.TrinoCredentialFields - = TrinoCredentialFields(user=TextField(metadata=TextFieldMetadata(label=''User'', - description=''The username of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password=TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database=TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', - description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), target_name=TextField(metadata=TextFieldMetadata(label=''Target - Name'', description='''', field_type=''text'', encrypt=False, depends_on=None, - overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''default''), threads=LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6)), field_order: Union[List[str], NoneType] = None)' - TrinoCredentialFields: - type: object - required: [] - properties: - user: - $ref: '#/definitions/TextField' - default: - metadata: - label: User - description: The username of the account to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - password: - $ref: '#/definitions/TextField' - default: - metadata: - label: Password - description: The password for the account to connect to. - field_type: text - encrypt: true - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - database: - $ref: '#/definitions/TextField' - default: - metadata: - label: Catalog - description: The catalog to connect to. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - schema: - $ref: '#/definitions/TextField' - default: - metadata: - label: Schema - description: User's schema. - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: true - pattern: null - value: '' - target_name: - $ref: '#/definitions/TextField' - default: - metadata: - label: Target Name - description: '' - field_type: text - encrypt: false - depends_on: null - overrideable: false - validation: - min_length: null - max_length: null - required: false - pattern: null - value: default - threads: - $ref: '#/definitions/LegacyIntegerField' - default: - metadata: - label: Threads - description: The number of threads to use for dbt operations. - field_type: number - encrypt: false - depends_on: null - overrideable: false - validation: - required: true - value: 6 - additionalProperties: false - description: 'TrinoCredentialFields(user: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''User'', description=''The - username of the account to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), password: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Password'', - description=''The password for the account to connect to.'', field_type=''text'', - encrypt=True, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Catalog'', - description=''The catalog to connect to.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s - schema.", field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=True, - pattern=None)), value=''''), target_name: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Target Name'', description='''', - field_type=''text'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericTextValidation(min_length=None, max_length=None, required=False, - pattern=None)), value=''default''), threads: schemas.fields.IntegerField.LegacyIntegerField - = LegacyIntegerField(metadata=IntegerFieldMetadata(label=''Threads'', - description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=6))' - DbtAdapter: - type: object - required: - - account_id - - project_id - - adapter_version - - metadata_json - properties: - id: - oneOf: - - type: integer - - type: 'null' - account_id: - type: integer - project_id: - type: integer - created_by_id: - oneOf: - - type: integer - - type: 'null' - created_by_service_token_id: - oneOf: - - type: integer - - type: 'null' - adapter_version: - type: string - enum: - - apache_spark_v0 - - databricks_spark_v0 - - databricks_v0 - - trino_v0 - - snowflake_v0 - - bigquery_v0 - - postgres_v0 - - redshift_v0 - metadata_json: - type: object - additionalProperties: - type: string - state: - type: integer - default: 1 - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: 'DbtAdapter(id: Union[int, NoneType], account_id: int, project_id: - int, created_by_id: Union[int, NoneType], created_by_service_token_id: - Union[int, NoneType], adapter_version: schemas.adapter.DbtAdapterVersion, - metadata_json: Dict[str, str], state: int = 1, created_at: Union[datetime.datetime, - NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' - CustomEnvironmentVariable: - type: object - required: - - account_id - - project_id - - name - - type - properties: - account_id: - type: integer - project_id: - type: integer - name: - type: string - type: - type: string - enum: - - project - - environment - - job - - user - state: - oneOf: - - type: integer - - type: 'null' - default: 1 - user_id: - oneOf: - - type: integer - - type: 'null' - environment_id: - oneOf: - - type: integer - - type: 'null' - job_definition_id: - oneOf: - - type: integer - - type: 'null' - environment: - oneOf: - - $ref: '#/definitions/EnvironmentV3' - - type: 'null' - raw_value: - oneOf: - - type: string - - type: 'null' - display_value: - oneOf: - - type: string - - type: 'null' - id: - oneOf: - - type: integer - - type: 'null' - created_at: - oneOf: - - type: string - format: date-time - - type: 'null' - updated_at: - oneOf: - - type: string - format: date-time - - type: 'null' - additionalProperties: false - description: "\n This model represents a user-defined environment variable,\ - \ which can be\n set on the account, job or user-level and leveraged\ - \ in both the IDE and\n scheduled Runs.\n " - $schema: http://json-schema.org/draft-07/schema# + credentials: + $ref: '#/components/schemas/PostgresCredentialsRequest' + project: + $ref: '#/components/schemas/ProjectRequest' + required: + - account_id + - credentials_id + - project_id + - state + - user_id securitySchemes: BearerAuthentication: type: http