mage-ai 0.9.57__py3-none-any.whl → 0.9.59__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mage-ai might be problematic. Click here for more details.
- mage_ai/ai/constants.py +1 -0
- mage_ai/ai/generator.py +7 -0
- mage_ai/ai/llm_pipeline_wizard.py +13 -0
- mage_ai/ai/openai_client.py +9 -1
- mage_ai/api/logging.py +11 -7
- mage_ai/api/policies/BlockPolicy.py +1 -0
- mage_ai/api/policies/CacheItemPolicy.py +16 -3
- mage_ai/api/policies/CommandCenterItemPolicy.py +56 -0
- mage_ai/api/policies/CustomTemplatePolicy.py +0 -3
- mage_ai/api/policies/GitBranchPolicy.py +8 -1
- mage_ai/api/policies/GitFilePolicy.py +1 -0
- mage_ai/api/policies/PipelinePolicy.py +2 -0
- mage_ai/api/policies/PipelineSchedulePolicy.py +1 -0
- mage_ai/api/policies/VersionControlBranchPolicy.py +98 -0
- mage_ai/api/policies/VersionControlFilePolicy.py +96 -0
- mage_ai/api/policies/VersionControlProjectPolicy.py +92 -0
- mage_ai/api/policies/VersionControlRemotePolicy.py +94 -0
- mage_ai/api/presenters/CommandCenterItemPresenter.py +19 -0
- mage_ai/api/presenters/GitBranchPresenter.py +2 -0
- mage_ai/api/presenters/GitCustomBranchPresenter.py +1 -0
- mage_ai/api/presenters/PipelinePresenter.py +5 -5
- mage_ai/api/presenters/PipelineSchedulePresenter.py +4 -0
- mage_ai/api/presenters/VersionControlBranchPresenter.py +15 -0
- mage_ai/api/presenters/VersionControlFilePresenter.py +15 -0
- mage_ai/api/presenters/VersionControlProjectPresenter.py +14 -0
- mage_ai/api/presenters/VersionControlRemotePresenter.py +15 -0
- mage_ai/api/resources/BlockResource.py +110 -80
- mage_ai/api/resources/CacheItemResource.py +88 -0
- mage_ai/api/resources/CommandCenterItemResource.py +29 -0
- mage_ai/api/resources/FileResource.py +15 -1
- mage_ai/api/resources/FolderResource.py +2 -1
- mage_ai/api/resources/GitBranchResource.py +183 -108
- mage_ai/api/resources/GitCustomBranchResource.py +9 -2
- mage_ai/api/resources/GitFileResource.py +26 -13
- mage_ai/api/resources/KernelResource.py +9 -1
- mage_ai/api/resources/LogResource.py +1 -1
- mage_ai/api/resources/OauthResource.py +4 -5
- mage_ai/api/resources/PipelineResource.py +71 -38
- mage_ai/api/resources/PipelineRunResource.py +7 -2
- mage_ai/api/resources/ProjectResource.py +1 -2
- mage_ai/api/resources/PullRequestResource.py +12 -3
- mage_ai/api/resources/SearchResultResource.py +4 -4
- mage_ai/api/resources/VersionControlBranchResource.py +85 -0
- mage_ai/api/resources/VersionControlFileResource.py +65 -0
- mage_ai/api/resources/VersionControlProjectResource.py +46 -0
- mage_ai/api/resources/VersionControlRemoteResource.py +64 -0
- mage_ai/authentication/oauth/constants.py +13 -16
- mage_ai/authentication/operation_history/models.py +11 -32
- mage_ai/authentication/operation_history/utils.py +14 -14
- mage_ai/authentication/permissions/constants.py +5 -0
- mage_ai/authentication/providers/active_directory.py +2 -2
- mage_ai/authentication/providers/bitbucket.py +2 -2
- mage_ai/authentication/providers/constants.py +6 -12
- mage_ai/authentication/providers/ghe.py +2 -2
- mage_ai/authentication/providers/google.py +2 -2
- mage_ai/authentication/providers/okta.py +2 -2
- mage_ai/cache/base.py +11 -3
- mage_ai/cache/block.py +116 -32
- mage_ai/cache/block_action_object/__init__.py +52 -43
- mage_ai/cache/constants.py +1 -0
- mage_ai/cache/dbt/utils.py +31 -10
- mage_ai/cache/file.py +114 -0
- mage_ai/cache/models.py +2 -0
- mage_ai/cache/pipeline.py +34 -8
- mage_ai/cache/tag.py +51 -10
- mage_ai/cache/utils.py +44 -3
- mage_ai/cluster_manager/kubernetes/workload_manager.py +9 -1
- mage_ai/command_center/__init__.py +0 -0
- mage_ai/command_center/applications/__init__.py +0 -0
- mage_ai/command_center/applications/constants.py +96 -0
- mage_ai/command_center/applications/factory.py +54 -0
- mage_ai/command_center/blocks/__init__.py +0 -0
- mage_ai/command_center/blocks/factory.py +39 -0
- mage_ai/command_center/blocks/utils.py +127 -0
- mage_ai/command_center/constants.py +66 -0
- mage_ai/command_center/factory.py +161 -0
- mage_ai/command_center/files/__init__.py +0 -0
- mage_ai/command_center/files/constants.py +235 -0
- mage_ai/command_center/files/factory.py +86 -0
- mage_ai/command_center/models.py +442 -0
- mage_ai/command_center/pipeline_runs/__init__.py +0 -0
- mage_ai/command_center/pipeline_runs/utils.py +141 -0
- mage_ai/command_center/pipelines/__init__.py +0 -0
- mage_ai/command_center/pipelines/constants.py +118 -0
- mage_ai/command_center/pipelines/factory.py +132 -0
- mage_ai/command_center/pipelines/utils.py +120 -0
- mage_ai/command_center/service.py +45 -0
- mage_ai/command_center/settings.py +37 -0
- mage_ai/command_center/support/__init__.py +0 -0
- mage_ai/command_center/support/constants.py +46 -0
- mage_ai/command_center/triggers/__init__.py +0 -0
- mage_ai/command_center/triggers/factory.py +49 -0
- mage_ai/command_center/triggers/utils.py +463 -0
- mage_ai/command_center/utils.py +30 -0
- mage_ai/data_preparation/executors/azure_container_instance_executor.py +1 -1
- mage_ai/data_preparation/executors/block_executor.py +68 -19
- mage_ai/data_preparation/executors/ecs_block_executor.py +2 -2
- mage_ai/data_preparation/executors/executor_factory.py +2 -0
- mage_ai/data_preparation/executors/gcp_cloud_run_block_executor.py +1 -1
- mage_ai/data_preparation/executors/k8s_block_executor.py +2 -2
- mage_ai/data_preparation/executors/pyspark_block_executor.py +7 -1
- mage_ai/data_preparation/git/__init__.py +29 -11
- mage_ai/data_preparation/git/api.py +14 -13
- mage_ai/data_preparation/git/clients/base.py +4 -8
- mage_ai/data_preparation/git/clients/github.py +1 -0
- mage_ai/data_preparation/git/utils.py +5 -7
- mage_ai/data_preparation/models/block/__init__.py +556 -329
- mage_ai/data_preparation/models/block/content.py +111 -0
- mage_ai/data_preparation/models/block/data_integration/mixins.py +1 -0
- mage_ai/data_preparation/models/block/dbt/block.py +30 -20
- mage_ai/data_preparation/models/block/dbt/block_sql.py +93 -257
- mage_ai/data_preparation/models/block/dbt/block_yaml.py +81 -158
- mage_ai/data_preparation/models/block/dbt/constants.py +12 -0
- mage_ai/data_preparation/models/block/dbt/dbt_adapter.py +23 -10
- mage_ai/data_preparation/models/block/dbt/dbt_cli.py +124 -612
- mage_ai/data_preparation/models/block/dbt/profiles.py +19 -15
- mage_ai/data_preparation/models/block/dbt/project.py +3 -0
- mage_ai/data_preparation/models/block/dynamic/constants.py +0 -0
- mage_ai/data_preparation/models/block/dynamic/dynamic_child.py +507 -47
- mage_ai/data_preparation/models/block/dynamic/utils.py +432 -1
- mage_ai/data_preparation/models/block/platform/mixins.py +68 -44
- mage_ai/data_preparation/models/block/r/__init__.py +19 -9
- mage_ai/data_preparation/models/block/sql/__init__.py +33 -18
- mage_ai/data_preparation/models/block/sql/utils/shared.py +4 -1
- mage_ai/data_preparation/models/block/utils.py +176 -71
- mage_ai/data_preparation/models/constants.py +7 -0
- mage_ai/data_preparation/models/file.py +23 -4
- mage_ai/data_preparation/models/pipeline.py +20 -8
- mage_ai/data_preparation/models/project/__init__.py +12 -7
- mage_ai/data_preparation/models/project/constants.py +2 -0
- mage_ai/data_preparation/models/triggers/__init__.py +7 -0
- mage_ai/data_preparation/models/utils.py +20 -0
- mage_ai/data_preparation/models/variable.py +113 -15
- mage_ai/data_preparation/shared/utils.py +6 -3
- mage_ai/data_preparation/storage/base_storage.py +17 -0
- mage_ai/data_preparation/storage/gcs_storage.py +4 -0
- mage_ai/data_preparation/storage/local_storage.py +15 -0
- mage_ai/data_preparation/storage/s3_storage.py +4 -0
- mage_ai/data_preparation/templates/data_exporters/qdrant.py +0 -1
- mage_ai/data_preparation/templates/data_loaders/qdrant.py +2 -1
- mage_ai/data_preparation/variable_manager.py +1 -0
- mage_ai/io/base.py +4 -1
- mage_ai/io/bigquery.py +25 -16
- mage_ai/io/clickhouse.py +3 -0
- mage_ai/io/druid.py +3 -0
- mage_ai/io/mongodb.py +1 -1
- mage_ai/io/pinot.py +3 -0
- mage_ai/io/postgres.py +13 -0
- mage_ai/io/snowflake.py +4 -0
- mage_ai/io/spark.py +8 -3
- mage_ai/io/sql.py +6 -0
- mage_ai/orchestration/db/__init__.py +26 -19
- mage_ai/orchestration/db/cache.py +4 -3
- mage_ai/orchestration/db/models/schedules.py +72 -16
- mage_ai/orchestration/db/models/schedules_project_platform.py +2 -3
- mage_ai/orchestration/pipeline_scheduler_original.py +19 -11
- mage_ai/orchestration/pipeline_scheduler_project_platform.py +20 -11
- mage_ai/presenters/interactions/constants.py +1 -0
- mage_ai/presenters/interactions/models.py +4 -3
- mage_ai/presenters/pages/models/client_pages/pipeline_schedules.py +1 -1
- mage_ai/server/constants.py +1 -1
- mage_ai/server/frontend_dist/404.html +11 -11
- mage_ai/server/frontend_dist/_next/static/PPQxHOmWVJ0iQFzG2rc8m/_buildManifest.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/1235.c9ed47779baccc05.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/125-029194ff22eb33a5.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/1557-4f7485c2e2228f77.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/2474-8e702cea23ddd16d.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/2479-727fa69ee9be6fab.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/26-38bc9380422f3900.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/2717-3e7ea8543b3825b7.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/3366-420721116ea5a665.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/3449-a9c98239582cd6f0.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/3548-13563a1ff815f922.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/3943-9e0a8ba0db34b35f.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/4371-ef23f95888d6cd11.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/4632.a4171dbf46b31c7c.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/523-be11ad59861d00ca.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/5457-d582b00545b4cb5e.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{5189.dca121eccea793be.js → 5729.0f2748e9e6dab951.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5831-2abc4063e887a03e.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/6085-692d2f784c0504f2.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/635-1e8857c2b6dde289.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/7022-0d52dd8868621fb0.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/7264-d05f4b7088533f6f.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/7361-b3d661ec743bfadf.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/737-cc6467310a130dd9.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{4495-4f0340aa82e0c623.js → 7674-9ec4fe64b5bf64d5.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8038-85d715c8c8394827.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/8095-bdce03896ef9639a.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/8146-6bed4e7401e067e6.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/8192-0c0b91523a38c4ca.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/8432-f736d101fc6d9215.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/8513-d207733b485c8d03.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/9264-7cd9cd0ba86ec5e4.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/9265-d2a1aaec75ec69b8.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/9440-54add041c392517f.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/9624-59b2f803f9c88cd6.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/9832-67896490f6e8a014.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/bd1a647f.fe5d87096be24a62.js → frontend_dist/_next/static/chunks/bd1a647f.04f7913662092327.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/404-7cabe357906f44f2.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/_app-a11bd2ebe11b3fd2.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/block-layout-ffca51945cd154ef.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/compute-3ba957769292db80.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/files-45679fd18b3edd82.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-data-products/[...slug]-95735a218106aa99.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/{global-data-products-927ebbdc29529765.js → global-data-products-81d6c7fd9a9cff38.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks/[...slug]-eb4421d51fb7368f.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks-a8c712e20512fede.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/files-f1be1d4735ba6919.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/settings-febe676687966276.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/[user]-70efe222130490b5.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/new-0914c36b3c8fd59f.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users-4f12e989e7809ef9.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage-809d4c99b44991a1.js +1 -0
- mage_ai/server/{frontend_dist_base_path_template/_next/static/chunks/pages/oauth-bd8494f8875c5c97.js → frontend_dist/_next/static/chunks/pages/oauth-aa9079c8dbaea3a5.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/overview-4e30fb5b18383b71.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipeline-runs-5d31c3aace39182d.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-85a80ee66f60a65c.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-0bd74047e257e6d9.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/dashboard-80619dc504d0103b.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-3cc8d74ff8525bfd.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/logs-cdc379ff24ff8858.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-03396d6086003e16.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-d6d920758654f6d9.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors-27727bb87be506c3.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-16aab67743651a0b.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs-e3ca1bedb660b252.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/settings-9d58701fe7213727.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/syncs-0041fd76ee15e49f.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-780be9a2da697915.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers-db8bb970b1f2273f.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-a3422b0ab1dbacd7.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/platform/global-hooks/[...slug]-987a1603f4201943.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/platform/global-hooks-3dc8bf89cab2722b.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/account/profile-43d3f2a5071b9537.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/platform/preferences-c97b1a39b22c112a.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/platform/settings-49efb66da67554ca.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/permissions/{[...slug]-aa5d871de1f3f7b0.js → [...slug]-5117d3555972484c.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/permissions-ee1c19d4a192ae4d.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-4dc5724486ee3396.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/roles/{[...slug]-88d29d1774db67e4.js → [...slug]-fa095aac732368c3.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/{roles-d8ca763e405cd9d1.js → roles-db6d71f8692a33e7.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/sync-data-99c6a263d2ab9553.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users/{[...slug]-250dfdf22bfe67e9.js → [...slug]-9d881ac0a3db9baa.js} +1 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users-bee414d57c4b55d7.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/sign-in-e7030e1a7a9e88e1.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/templates/[...slug]-312afc9a3f8d0a4f.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/templates-e5300c340aa94c6b.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/terminal-fa7ca0c86142d146.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/test-bd51b3918b39329e.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-5158a9d98d2459e8.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/pages/version-control-5ce099a7abb354ff.js +1 -0
- mage_ai/server/frontend_dist/_next/static/chunks/{webpack-17c3a8f588f14cfd.js → webpack-efa55343114c8128.js} +1 -1
- mage_ai/server/{frontend_dist_base_path_template/_next/static/css/d1e8e64d0b07af2f.css → frontend_dist/_next/static/css/b59541b123fd7191.css} +1 -1
- mage_ai/server/frontend_dist/block-layout.html +3 -3
- mage_ai/server/frontend_dist/compute.html +11 -11
- mage_ai/server/frontend_dist/files.html +11 -11
- mage_ai/server/frontend_dist/global-data-products/[...slug].html +11 -11
- mage_ai/server/frontend_dist/global-data-products.html +11 -11
- mage_ai/server/frontend_dist/global-hooks/[...slug].html +11 -11
- mage_ai/server/frontend_dist/global-hooks.html +11 -11
- mage_ai/server/frontend_dist/index.html +3 -3
- mage_ai/server/frontend_dist/manage/files.html +11 -11
- mage_ai/server/frontend_dist/manage/settings.html +11 -11
- mage_ai/server/frontend_dist/manage/users/[user].html +11 -11
- mage_ai/server/frontend_dist/manage/users/new.html +11 -11
- mage_ai/server/frontend_dist/manage/users.html +11 -11
- mage_ai/server/frontend_dist/manage.html +11 -11
- mage_ai/server/frontend_dist/oauth.html +8 -8
- mage_ai/server/frontend_dist/overview.html +11 -11
- mage_ai/server/frontend_dist/pipeline-runs.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills/[...slug].html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/backfills.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/dashboard.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/edit.html +3 -3
- mage_ai/server/frontend_dist/pipelines/[pipeline]/logs.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runs.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors/block-runtime.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/monitors.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/runs/[run].html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/runs.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/settings.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/syncs.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers/[...slug].html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline]/triggers.html +11 -11
- mage_ai/server/frontend_dist/pipelines/[pipeline].html +3 -3
- mage_ai/server/frontend_dist/pipelines.html +11 -11
- mage_ai/server/frontend_dist/platform/global-hooks/[...slug].html +11 -11
- mage_ai/server/frontend_dist/platform/global-hooks.html +11 -11
- mage_ai/server/frontend_dist/settings/account/profile.html +11 -11
- mage_ai/server/frontend_dist/settings/platform/preferences.html +11 -11
- mage_ai/server/frontend_dist/settings/platform/settings.html +11 -11
- mage_ai/server/frontend_dist/settings/workspace/permissions/[...slug].html +11 -11
- mage_ai/server/frontend_dist/settings/workspace/permissions.html +11 -11
- mage_ai/server/frontend_dist/settings/workspace/preferences.html +11 -11
- mage_ai/server/frontend_dist/settings/workspace/roles/[...slug].html +11 -11
- mage_ai/server/frontend_dist/settings/workspace/roles.html +11 -11
- mage_ai/server/frontend_dist/settings/workspace/sync-data.html +11 -11
- mage_ai/server/frontend_dist/settings/workspace/users/[...slug].html +11 -11
- mage_ai/server/frontend_dist/settings/workspace/users.html +11 -11
- mage_ai/server/frontend_dist/settings.html +3 -3
- mage_ai/server/frontend_dist/sign-in.html +40 -41
- mage_ai/server/frontend_dist/templates/[...slug].html +11 -11
- mage_ai/server/frontend_dist/templates.html +11 -11
- mage_ai/server/frontend_dist/terminal.html +11 -11
- mage_ai/server/frontend_dist/test.html +3 -3
- mage_ai/server/frontend_dist/triggers.html +11 -11
- mage_ai/server/frontend_dist/version-control.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/404.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1235.c9ed47779baccc05.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/125-029194ff22eb33a5.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1557-4f7485c2e2228f77.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2474-8e702cea23ddd16d.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2479-727fa69ee9be6fab.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/26-38bc9380422f3900.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2717-3e7ea8543b3825b7.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3366-420721116ea5a665.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3449-a9c98239582cd6f0.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3548-13563a1ff815f922.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3943-9e0a8ba0db34b35f.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/4371-ef23f95888d6cd11.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/4632.a4171dbf46b31c7c.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/523-be11ad59861d00ca.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5457-d582b00545b4cb5e.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{5189.dca121eccea793be.js → 5729.0f2748e9e6dab951.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5831-2abc4063e887a03e.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6085-692d2f784c0504f2.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/635-1e8857c2b6dde289.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/7022-0d52dd8868621fb0.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/7264-d05f4b7088533f6f.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/7361-b3d661ec743bfadf.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/737-cc6467310a130dd9.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{4495-4f0340aa82e0c623.js → 7674-9ec4fe64b5bf64d5.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8038-85d715c8c8394827.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8095-bdce03896ef9639a.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8146-6bed4e7401e067e6.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8192-0c0b91523a38c4ca.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8432-f736d101fc6d9215.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8513-d207733b485c8d03.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9264-7cd9cd0ba86ec5e4.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9265-d2a1aaec75ec69b8.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9440-54add041c392517f.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9624-59b2f803f9c88cd6.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9832-67896490f6e8a014.js +1 -0
- mage_ai/server/{frontend_dist/_next/static/chunks/bd1a647f.fe5d87096be24a62.js → frontend_dist_base_path_template/_next/static/chunks/bd1a647f.04f7913662092327.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/404-7cabe357906f44f2.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/_app-a11bd2ebe11b3fd2.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/block-layout-ffca51945cd154ef.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/compute-3ba957769292db80.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/files-45679fd18b3edd82.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-data-products/[...slug]-95735a218106aa99.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/{global-data-products-927ebbdc29529765.js → global-data-products-81d6c7fd9a9cff38.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks/[...slug]-eb4421d51fb7368f.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks-a8c712e20512fede.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/files-f1be1d4735ba6919.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/settings-febe676687966276.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/[user]-70efe222130490b5.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/new-0914c36b3c8fd59f.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users-4f12e989e7809ef9.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage-809d4c99b44991a1.js +1 -0
- mage_ai/server/{frontend_dist/_next/static/chunks/pages/oauth-bd8494f8875c5c97.js → frontend_dist_base_path_template/_next/static/chunks/pages/oauth-aa9079c8dbaea3a5.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/overview-4e30fb5b18383b71.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipeline-runs-5d31c3aace39182d.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-85a80ee66f60a65c.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills-0bd74047e257e6d9.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/dashboard-80619dc504d0103b.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/edit-3cc8d74ff8525bfd.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/logs-cdc379ff24ff8858.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-03396d6086003e16.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-d6d920758654f6d9.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors-27727bb87be506c3.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-16aab67743651a0b.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs-e3ca1bedb660b252.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/settings-9d58701fe7213727.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/syncs-0041fd76ee15e49f.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-780be9a2da697915.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers-db8bb970b1f2273f.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines-a3422b0ab1dbacd7.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/platform/global-hooks/[...slug]-987a1603f4201943.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/platform/global-hooks-3dc8bf89cab2722b.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/account/profile-43d3f2a5071b9537.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/platform/preferences-c97b1a39b22c112a.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/platform/settings-49efb66da67554ca.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/permissions/{[...slug]-aa5d871de1f3f7b0.js → [...slug]-5117d3555972484c.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/permissions-ee1c19d4a192ae4d.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/preferences-4dc5724486ee3396.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/roles/{[...slug]-88d29d1774db67e4.js → [...slug]-fa095aac732368c3.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/{roles-d8ca763e405cd9d1.js → roles-db6d71f8692a33e7.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/sync-data-99c6a263d2ab9553.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/users/{[...slug]-250dfdf22bfe67e9.js → [...slug]-9d881ac0a3db9baa.js} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/users-bee414d57c4b55d7.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/sign-in-e7030e1a7a9e88e1.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/templates/[...slug]-312afc9a3f8d0a4f.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/templates-e5300c340aa94c6b.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/terminal-fa7ca0c86142d146.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/test-bd51b3918b39329e.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/triggers-5158a9d98d2459e8.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/version-control-5ce099a7abb354ff.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/{webpack-b55fe1e575d8ac9d.js → webpack-bd35e1c7bd7b5a9a.js} +1 -1
- mage_ai/server/{frontend_dist/_next/static/css/d1e8e64d0b07af2f.css → frontend_dist_base_path_template/_next/static/css/b59541b123fd7191.css} +1 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/do4WOsw7lNhouR0mtPTFi/_buildManifest.js +1 -0
- mage_ai/server/frontend_dist_base_path_template/block-layout.html +3 -3
- mage_ai/server/frontend_dist_base_path_template/compute.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/files.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/global-data-products/[...slug].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/global-data-products.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/global-hooks/[...slug].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/global-hooks.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/index.html +3 -3
- mage_ai/server/frontend_dist_base_path_template/manage/files.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/manage/settings.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/manage/users/[user].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/manage/users/new.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/manage/users.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/manage.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/oauth.html +8 -8
- mage_ai/server/frontend_dist_base_path_template/overview.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipeline-runs.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/backfills/[...slug].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/backfills.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/dashboard.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/edit.html +3 -3
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/logs.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors/block-runs.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors/block-runtime.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/monitors.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/runs/[run].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/runs.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/settings.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/syncs.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/triggers/[...slug].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline]/triggers.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/pipelines/[pipeline].html +3 -3
- mage_ai/server/frontend_dist_base_path_template/pipelines.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/platform/global-hooks/[...slug].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/platform/global-hooks.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/account/profile.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/platform/preferences.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/platform/settings.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/permissions/[...slug].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/permissions.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/preferences.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/roles/[...slug].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/roles.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/sync-data.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/users/[...slug].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings/workspace/users.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/settings.html +3 -3
- mage_ai/server/frontend_dist_base_path_template/sign-in.html +40 -41
- mage_ai/server/frontend_dist_base_path_template/templates/[...slug].html +11 -11
- mage_ai/server/frontend_dist_base_path_template/templates.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/terminal.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/test.html +3 -3
- mage_ai/server/frontend_dist_base_path_template/triggers.html +11 -11
- mage_ai/server/frontend_dist_base_path_template/version-control.html +11 -11
- mage_ai/server/logger.py +8 -2
- mage_ai/server/server.py +18 -1
- mage_ai/services/aws/ecs/config.py +3 -3
- mage_ai/services/aws/ecs/ecs.py +2 -2
- mage_ai/services/search/block_action_objects.py +59 -5
- mage_ai/settings/models/configuration_option.py +3 -1
- mage_ai/settings/platform/__init__.py +64 -20
- mage_ai/settings/platform/utils.py +4 -1
- mage_ai/settings/repo.py +5 -4
- mage_ai/shared/custom_logger.py +213 -0
- mage_ai/shared/environments.py +4 -0
- mage_ai/shared/files.py +52 -1
- mage_ai/shared/models.py +2 -1
- mage_ai/shared/parsers.py +8 -1
- mage_ai/shared/path_fixer.py +62 -5
- mage_ai/shared/retry.py +4 -0
- mage_ai/shared/strings.py +4 -0
- mage_ai/tests/api/endpoints/test_blocks.py +101 -1
- mage_ai/tests/api/operations/base/test_base_with_user_permissions.py +4 -1
- mage_ai/tests/base_test.py +21 -2
- mage_ai/tests/cache/test_pipeline_cache.py +11 -8
- mage_ai/tests/data_preparation/executors/test_block_executor.py +55 -45
- mage_ai/tests/data_preparation/git/test_api.py +4 -4
- mage_ai/tests/data_preparation/models/block/dbt/test_block.py +75 -43
- mage_ai/tests/data_preparation/models/block/dbt/test_block_sql.py +329 -320
- mage_ai/tests/data_preparation/models/block/dbt/test_block_yaml.py +298 -268
- mage_ai/tests/data_preparation/models/block/dbt/test_dbt_adapter.py +14 -4
- mage_ai/tests/data_preparation/models/block/dbt/test_dbt_cli.py +14 -11
- mage_ai/tests/data_preparation/models/block/dbt/test_profiles.py +2 -2
- mage_ai/tests/data_preparation/models/block/dbt/test_project.py +2 -2
- mage_ai/tests/data_preparation/models/block/dbt/test_sources.py +2 -2
- mage_ai/tests/data_preparation/models/block/dynamic/test_dynamic_child_block_factory.py +477 -474
- mage_ai/tests/data_preparation/models/block/dynamic/test_dynamic_helpers.py +25 -24
- mage_ai/tests/data_preparation/models/block/platform/test_mixins.py +16 -25
- mage_ai/tests/data_preparation/models/block/test_utils.py +8 -8
- mage_ai/tests/data_preparation/models/test_block.py +6 -8
- mage_ai/tests/data_preparation/models/test_project.py +10 -5
- mage_ai/tests/data_preparation/models/test_variable.py +51 -4
- mage_ai/tests/orchestration/test_pipeline_scheduler_project_platform.py +1 -0
- mage_ai/version_control/__init__.py +0 -0
- mage_ai/version_control/models.py +288 -0
- {mage_ai-0.9.57.dist-info → mage_ai-0.9.59.dist-info}/METADATA +49 -47
- {mage_ai-0.9.57.dist-info → mage_ai-0.9.59.dist-info}/RECORD +504 -486
- mage_ai/server/frontend_dist/_next/static/A7VXVGKgLQCukXcjdysDz/_buildManifest.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1124-09b283a2f26cc576.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1154-2f262f7eb38ebaa1.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1235.53172e14801844e5.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1557-724bfc3eabd095f7.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/161-33f26e485ddef393.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1751-5adf859690505d7b.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/1821-953efd0da290d25f.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2474-352ae192b826d896.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2646-78905b899b68f4eb.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2717-477f64b5e272d5a3.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2852872c-15b31a7081e6a868.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/2920.86a65e5f26ff1795.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3004-9fff558eeede3a83.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/341-ef0f7b98b7f69802.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3419-b8bd26f5946bec5a.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3437-ce26fc28e114b44e.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3540-9bb48b08f439d0a0.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3745-61b1c63bb56bb670.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3859-ba594d21a1260cd2.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/3943-a49377acc514e77f.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5283-8d1dacb2eeb9e652.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5457-b373ebdf4d05d8e2.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5499-261cfa2410506eb4.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5533-3455832bc3f8429b.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5729-9d8204ab91da631d.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5810-addfa3491ae6b01c.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5820-28adeabb5cda2b96.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/5896-7b8e36634d7d94eb.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6043-728790621ca9014c.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6285-648f9a732e100b2f.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6563-5b3b97c9088baf69.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6639-74eefed142e14ea6.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/6965-c613d1834c8ed92d.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/7022-1c1c93b6222d48f9.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/7361-559f4d2eca379217.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/7858-26a5a5d04fa3c703.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8146-7fc9ef7d0202e6ab.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8264-68db2a8334ad48f1.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8432-0ace6fb7bdbc6864.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/844-1e171f361e63b36d.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8731-82571147875a2d58.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/874-d9e1b3c9c00ebac9.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/8998-e46ae0a83be32d42.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/9264-5df6e4c7b1e85c02.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/9302-913007e2f801ad65.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/9440-c51bf1e8f271cb25.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/9624-89a4b20eb3b3c754.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/976-0a8c2c4d7acd957b.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/404-5ddd12931e0e3e41.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/_app-4c0239ca6203e827.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/block-layout-d40babdbf465a7e1.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/compute-822e66aa2e90cf4c.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/files-373217c5de51aeef.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-data-products/[...slug]-0325e76a2f3e08c1.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks/[...slug]-a172f5a447bd8925.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/global-hooks-97bec2ac883e0c26.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/files-02d001d99eeaae3f.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/settings-2e577bfd4f0db2b7.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/[user]-1827574a4ba95a72.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users/new-a913c361bcc0d1a9.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage/users-4e6fdcbbfc931d67.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/manage-1c327edcf05df9c9.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/overview-5a98e6a531410afb.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipeline-runs-1442183d13edec2e.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-38b2241cdd10320c.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/backfills-1c646dbef65d6a69.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/dashboard-35cb916a18ac4e1f.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/edit-cd1918632dfef29d.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/logs-67b0572c84db0940.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-40201b626ea3a664.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-d1f23308effebe03.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/monitors-9a116d88f00916ff.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-2d5abcd019d4bea1.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/runs-5363a7ae9afe8983.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/settings-931a1b3112866a72.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/syncs-5ec5367cb877db38.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-8366661f8e2b2959.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines/[pipeline]/triggers-378f8dada7d0c1dd.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/pipelines-627be24ef4963cfb.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/platform/global-hooks/[...slug]-814bbd11e10c26dc.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/platform/global-hooks-021ec25e05862f8f.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/account/profile-2b0aa123043519b8.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/platform/preferences-05186e17c94347c1.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/platform/settings-efe8bf1bf3177a7e.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/permissions-ce45aad47049d993.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/preferences-1bc694b056ff0bcb.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/sync-data-42bd909eb8951040.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/settings/workspace/users-97c4ce119f7238b5.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/sign-in-1af3ba18ff646dd4.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/templates/[...slug]-ff9d49355393daea.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/templates-299a2c8f2dd89cf3.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/terminal-fb3f398009a02879.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/test-59a08e06f4ef6c3a.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/triggers-551b85802515e313.js +0 -1
- mage_ai/server/frontend_dist/_next/static/chunks/pages/version-control-1362aeda4a31dd41.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1124-09b283a2f26cc576.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1154-2f262f7eb38ebaa1.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1235.53172e14801844e5.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1557-724bfc3eabd095f7.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/161-33f26e485ddef393.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1751-5adf859690505d7b.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/1821-953efd0da290d25f.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2474-352ae192b826d896.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2646-78905b899b68f4eb.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2717-477f64b5e272d5a3.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2852872c-15b31a7081e6a868.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/2920.86a65e5f26ff1795.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3004-9fff558eeede3a83.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/341-ef0f7b98b7f69802.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3419-b8bd26f5946bec5a.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3437-ce26fc28e114b44e.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3540-9bb48b08f439d0a0.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3745-61b1c63bb56bb670.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3859-ba594d21a1260cd2.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/3943-a49377acc514e77f.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5283-8d1dacb2eeb9e652.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5457-b373ebdf4d05d8e2.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5499-261cfa2410506eb4.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5533-3455832bc3f8429b.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5729-9d8204ab91da631d.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5810-addfa3491ae6b01c.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5820-28adeabb5cda2b96.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/5896-7b8e36634d7d94eb.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6043-728790621ca9014c.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6285-648f9a732e100b2f.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6563-5b3b97c9088baf69.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6639-74eefed142e14ea6.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/6965-c613d1834c8ed92d.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/7022-1c1c93b6222d48f9.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/7361-559f4d2eca379217.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/7858-26a5a5d04fa3c703.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8146-7fc9ef7d0202e6ab.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8264-68db2a8334ad48f1.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8432-0ace6fb7bdbc6864.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/844-1e171f361e63b36d.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8731-82571147875a2d58.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/874-d9e1b3c9c00ebac9.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/8998-e46ae0a83be32d42.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9264-5df6e4c7b1e85c02.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9302-913007e2f801ad65.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9440-c51bf1e8f271cb25.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/9624-89a4b20eb3b3c754.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/976-0a8c2c4d7acd957b.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/404-5ddd12931e0e3e41.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/_app-4c0239ca6203e827.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/block-layout-d40babdbf465a7e1.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/compute-822e66aa2e90cf4c.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/files-373217c5de51aeef.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-data-products/[...slug]-0325e76a2f3e08c1.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks/[...slug]-a172f5a447bd8925.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/global-hooks-97bec2ac883e0c26.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/files-02d001d99eeaae3f.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/settings-2e577bfd4f0db2b7.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/[user]-1827574a4ba95a72.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users/new-a913c361bcc0d1a9.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage/users-4e6fdcbbfc931d67.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/manage-1c327edcf05df9c9.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/overview-5a98e6a531410afb.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipeline-runs-1442183d13edec2e.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills/[...slug]-38b2241cdd10320c.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/backfills-1c646dbef65d6a69.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/dashboard-35cb916a18ac4e1f.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/edit-cd1918632dfef29d.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/logs-67b0572c84db0940.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runs-40201b626ea3a664.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors/block-runtime-d1f23308effebe03.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/monitors-9a116d88f00916ff.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs/[run]-2d5abcd019d4bea1.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/runs-5363a7ae9afe8983.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/settings-931a1b3112866a72.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/syncs-5ec5367cb877db38.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers/[...slug]-8366661f8e2b2959.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines/[pipeline]/triggers-378f8dada7d0c1dd.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/pipelines-627be24ef4963cfb.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/platform/global-hooks/[...slug]-814bbd11e10c26dc.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/platform/global-hooks-021ec25e05862f8f.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/account/profile-2b0aa123043519b8.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/platform/preferences-05186e17c94347c1.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/platform/settings-efe8bf1bf3177a7e.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/permissions-ce45aad47049d993.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/preferences-1bc694b056ff0bcb.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/sync-data-42bd909eb8951040.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/settings/workspace/users-97c4ce119f7238b5.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/sign-in-1af3ba18ff646dd4.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/templates/[...slug]-ff9d49355393daea.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/templates-299a2c8f2dd89cf3.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/terminal-fb3f398009a02879.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/test-59a08e06f4ef6c3a.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/triggers-551b85802515e313.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/chunks/pages/version-control-1362aeda4a31dd41.js +0 -1
- mage_ai/server/frontend_dist_base_path_template/_next/static/wSRrM15xnvA8lOWcaque7/_buildManifest.js +0 -1
- /mage_ai/server/frontend_dist/_next/static/{A7VXVGKgLQCukXcjdysDz → PPQxHOmWVJ0iQFzG2rc8m}/_ssgManifest.js +0 -0
- /mage_ai/server/frontend_dist_base_path_template/_next/static/{wSRrM15xnvA8lOWcaque7 → do4WOsw7lNhouR0mtPTFi}/_ssgManifest.js +0 -0
- {mage_ai-0.9.57.dist-info → mage_ai-0.9.59.dist-info}/LICENSE +0 -0
- {mage_ai-0.9.57.dist-info → mage_ai-0.9.59.dist-info}/WHEEL +0 -0
- {mage_ai-0.9.57.dist-info → mage_ai-0.9.59.dist-info}/entry_points.txt +0 -0
- {mage_ai-0.9.57.dist-info → mage_ai-0.9.59.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import logging
|
|
2
|
+
from enum import Enum
|
|
3
|
+
|
|
4
|
+
import simplejson
|
|
5
|
+
|
|
6
|
+
from mage_ai.data_preparation.models.constants import BlockType
|
|
7
|
+
from mage_ai.shared.environments import is_deus_ex_machina
|
|
8
|
+
from mage_ai.shared.parsers import encode_complex
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class Color(str, Enum):
|
|
12
|
+
BLUE = "\x1b[1;34m"
|
|
13
|
+
BOLD_RED = "\x1b[31;1m"
|
|
14
|
+
GREEN = "\x1b[1;32m"
|
|
15
|
+
GREY = "\x1b[38;20m"
|
|
16
|
+
LIGHT_BLUE = "\x1b[1;36m"
|
|
17
|
+
PINK = "\x1b[35m"
|
|
18
|
+
PURPLE = "\x1b[1;35m"
|
|
19
|
+
RED = "\x1b[31;20m"
|
|
20
|
+
RESET = "\x1b[0m"
|
|
21
|
+
YELLOW = "\x1b[33;21m"
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
BLOCK_TYPE_COLOR_MAPPING = {
|
|
25
|
+
BlockType.CALLBACK: Color.GREEN,
|
|
26
|
+
BlockType.CONDITIONAL: Color.BLUE,
|
|
27
|
+
BlockType.CHART: Color.GREY,
|
|
28
|
+
BlockType.CUSTOM: Color.LIGHT_BLUE,
|
|
29
|
+
BlockType.DATA_EXPORTER: Color.YELLOW,
|
|
30
|
+
BlockType.DATA_LOADER: Color.BLUE,
|
|
31
|
+
BlockType.DBT: Color.RED,
|
|
32
|
+
BlockType.DYNAMIC_CHILD: Color.GREEN,
|
|
33
|
+
BlockType.EXTENSION: Color,
|
|
34
|
+
BlockType.GLOBAL_DATA_PRODUCT: Color.RED,
|
|
35
|
+
BlockType.HOOK: Color.BLUE,
|
|
36
|
+
BlockType.MARKDOWN: Color.GREY,
|
|
37
|
+
BlockType.SCRATCHPAD: Color.GREY,
|
|
38
|
+
BlockType.SENSOR: Color.PINK,
|
|
39
|
+
BlockType.TRANSFORMER: Color.PURPLE,
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
COLORS = [c for c in Color]
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def targets():
|
|
46
|
+
return [
|
|
47
|
+
# 'get_outputs',
|
|
48
|
+
# 'get_variables_by_block',
|
|
49
|
+
# 'fetch_input_variables',
|
|
50
|
+
# 'output_variables',
|
|
51
|
+
# 'uuid_for_output_variables',
|
|
52
|
+
# 'dynamic_block_values_and_metadata',
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
class ColorPrinter:
|
|
57
|
+
def __init__(self):
|
|
58
|
+
self.label = None
|
|
59
|
+
|
|
60
|
+
def debug(self, *args, **kwargs):
|
|
61
|
+
self.print(color=Color.PURPLE, *args, **kwargs)
|
|
62
|
+
|
|
63
|
+
def info(self, *args, **kwargs):
|
|
64
|
+
self.print(color=Color.BLUE, *args, **kwargs)
|
|
65
|
+
|
|
66
|
+
def warning(self, *args, **kwargs):
|
|
67
|
+
self.print(color=Color.GREEN, *args, **kwargs)
|
|
68
|
+
|
|
69
|
+
def error(self, *args, **kwargs):
|
|
70
|
+
self.print(color=Color.RED, *args, **kwargs)
|
|
71
|
+
|
|
72
|
+
def critical(self, *args, **kwargs):
|
|
73
|
+
self.print(color=Color.BOLD_RED, *args, **kwargs)
|
|
74
|
+
|
|
75
|
+
def print(self, *args, **kwargs):
|
|
76
|
+
if not is_deus_ex_machina():
|
|
77
|
+
return
|
|
78
|
+
|
|
79
|
+
__uuid = kwargs.pop('__uuid', None)
|
|
80
|
+
targs = targets()
|
|
81
|
+
if targs and __uuid not in targs:
|
|
82
|
+
return
|
|
83
|
+
|
|
84
|
+
color = kwargs.pop('color', None)
|
|
85
|
+
block = kwargs.pop('block', None)
|
|
86
|
+
|
|
87
|
+
more = None
|
|
88
|
+
if kwargs:
|
|
89
|
+
more = simplejson.dumps(
|
|
90
|
+
kwargs,
|
|
91
|
+
default=encode_complex,
|
|
92
|
+
ignore_nan=True,
|
|
93
|
+
indent=2,
|
|
94
|
+
sort_keys=True,
|
|
95
|
+
)
|
|
96
|
+
more = '\n'.join([f'\t\t{line}' for line in more.split('\n')])
|
|
97
|
+
|
|
98
|
+
output = ''.join(args)
|
|
99
|
+
if more:
|
|
100
|
+
output = f'{output}\n{more}'
|
|
101
|
+
|
|
102
|
+
label = __uuid or self.label
|
|
103
|
+
if label:
|
|
104
|
+
output = f'[{label}] {output}'
|
|
105
|
+
|
|
106
|
+
if not color:
|
|
107
|
+
color = COLORS[len(output) % len(COLORS)]
|
|
108
|
+
|
|
109
|
+
block_color = None
|
|
110
|
+
if block:
|
|
111
|
+
block_color = BLOCK_TYPE_COLOR_MAPPING.get(block.type) or color
|
|
112
|
+
|
|
113
|
+
print(f'{color}{"_" * 100}{color}')
|
|
114
|
+
print('\n')
|
|
115
|
+
|
|
116
|
+
if block:
|
|
117
|
+
print(f'{block_color}{"-" * 30}{block_color}')
|
|
118
|
+
print(f'{block_color}[Block] {block.uuid}{block_color}')
|
|
119
|
+
print(f'{block_color}\t\t Type : {block.type}{block_color}')
|
|
120
|
+
print(f'{block_color}\t\t Language: {block.type}{block_color}')
|
|
121
|
+
print(f'{block_color}{"-" * 15}{block_color}')
|
|
122
|
+
|
|
123
|
+
print(f'{color}{output}{color}')
|
|
124
|
+
|
|
125
|
+
print('\n')
|
|
126
|
+
print(f'{color}{"_" * 100}{color}')
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
class CustomFormatter(logging.Formatter):
|
|
130
|
+
# https://stackoverflow.com/a/56944256/1084284
|
|
131
|
+
format = "%(asctime)s - %(name)s - %(levelname)s - %(message)s (%(filename)s:%(lineno)d)"
|
|
132
|
+
|
|
133
|
+
FORMATS = {
|
|
134
|
+
logging.CRITICAL: Color.BOLD_RED + format + Color.RESET,
|
|
135
|
+
logging.DEBUG: Color.PURPLE + format + Color.RESET,
|
|
136
|
+
logging.ERROR: Color.RED + format + Color.RESET,
|
|
137
|
+
logging.INFO: Color.BLUE + format + Color.RESET,
|
|
138
|
+
logging.NOTSET: Color.GREY + format + Color.RESET,
|
|
139
|
+
logging.WARNING: Color.GREEN + format + Color.RESET,
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
def format(self, record):
|
|
143
|
+
log_fmt = self.FORMATS.get(record.levelno)
|
|
144
|
+
formatter = logging.Formatter(log_fmt)
|
|
145
|
+
return formatter.format(record)
|
|
146
|
+
|
|
147
|
+
def debug(self, p: int = 0, *args, **kwargs):
|
|
148
|
+
if is_deus_ex_machina():
|
|
149
|
+
if p:
|
|
150
|
+
self.print(color=Color.PURPLE, *args, **kwargs)
|
|
151
|
+
else:
|
|
152
|
+
super().debug(*args, **kwargs)
|
|
153
|
+
|
|
154
|
+
def info(self, p: int = 0, *args, **kwargs):
|
|
155
|
+
if is_deus_ex_machina():
|
|
156
|
+
if p:
|
|
157
|
+
self.print(color=Color.BLUE, *args, **kwargs)
|
|
158
|
+
else:
|
|
159
|
+
super().info(*args, **kwargs)
|
|
160
|
+
|
|
161
|
+
def warning(self, p: int = 0, *args, **kwargs):
|
|
162
|
+
if is_deus_ex_machina():
|
|
163
|
+
if p:
|
|
164
|
+
self.print(color=Color.YELLOW, *args, **kwargs)
|
|
165
|
+
else:
|
|
166
|
+
super().warning(*args, **kwargs)
|
|
167
|
+
|
|
168
|
+
def error(self, p: int = 0, *args, **kwargs):
|
|
169
|
+
if is_deus_ex_machina():
|
|
170
|
+
if p:
|
|
171
|
+
self.print(color=Color.RED, *args, **kwargs)
|
|
172
|
+
else:
|
|
173
|
+
super().error(*args, **kwargs)
|
|
174
|
+
|
|
175
|
+
def critical(self, p: int = 0, *args, **kwargs):
|
|
176
|
+
if is_deus_ex_machina():
|
|
177
|
+
if p:
|
|
178
|
+
self.print(color=Color.BOLD_RED, *args, **kwargs)
|
|
179
|
+
else:
|
|
180
|
+
super().critical(*args, **kwargs)
|
|
181
|
+
|
|
182
|
+
def print(self, color: Color, *args, **kwargs):
|
|
183
|
+
more = None
|
|
184
|
+
if kwargs:
|
|
185
|
+
more = simplejson.dumps(
|
|
186
|
+
kwargs,
|
|
187
|
+
default=encode_complex,
|
|
188
|
+
ignore_nan=True,
|
|
189
|
+
indent=2,
|
|
190
|
+
sort_keys=True,
|
|
191
|
+
)
|
|
192
|
+
more = '\n'.join([f'\t\t{line}' for line in more.split('\n')])
|
|
193
|
+
|
|
194
|
+
output = ''.join(args)
|
|
195
|
+
if more:
|
|
196
|
+
output = f'{output}\n{more}'
|
|
197
|
+
|
|
198
|
+
print(f'{color}{output}{color}')
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
# create logger with 'spam_application'
|
|
202
|
+
DX_LOGGER = logging.getLogger('deus_ex_machina')
|
|
203
|
+
DX_LOGGER.setLevel(logging.DEBUG)
|
|
204
|
+
|
|
205
|
+
# create console handler with a higher log level
|
|
206
|
+
ch = logging.StreamHandler()
|
|
207
|
+
ch.setLevel(logging.DEBUG)
|
|
208
|
+
|
|
209
|
+
ch.setFormatter(CustomFormatter())
|
|
210
|
+
|
|
211
|
+
DX_LOGGER.addHandler(ch)
|
|
212
|
+
|
|
213
|
+
DX_PRINTER = ColorPrinter()
|
mage_ai/shared/environments.py
CHANGED
mage_ai/shared/files.py
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import glob
|
|
1
2
|
import os
|
|
2
|
-
from
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
from typing import Callable, List, Tuple
|
|
3
5
|
|
|
4
6
|
|
|
5
7
|
def reverse_readline(filename, buf_size=8192):
|
|
@@ -63,3 +65,52 @@ def find_directory(top_level_path: str, comparator: Callable) -> str:
|
|
|
63
65
|
full_path = os.path.join(path, name)
|
|
64
66
|
if comparator(full_path):
|
|
65
67
|
return full_path
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
def get_absolute_paths_from_all_files(
|
|
71
|
+
starting_full_path_directory: str,
|
|
72
|
+
comparator: Callable = None,
|
|
73
|
+
include_hidden_files: bool = False,
|
|
74
|
+
parse_values: Callable = None,
|
|
75
|
+
) -> List[Tuple[str, int, str]]:
|
|
76
|
+
dir_path = os.path.join(starting_full_path_directory, './**/*')
|
|
77
|
+
|
|
78
|
+
arr = []
|
|
79
|
+
for filename in glob.iglob(dir_path, recursive=True):
|
|
80
|
+
absolute_path = os.path.abspath(filename)
|
|
81
|
+
|
|
82
|
+
if os.path.isfile(absolute_path) and \
|
|
83
|
+
(not include_hidden_files or not absolute_path.startswith('.')) and \
|
|
84
|
+
(not comparator or comparator(absolute_path)):
|
|
85
|
+
|
|
86
|
+
value = (absolute_path, os.path.getsize(filename), round(os.path.getmtime(filename)))
|
|
87
|
+
arr.append(parse_values(value) if parse_values else value)
|
|
88
|
+
|
|
89
|
+
return arr
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
def find_file_from_another_file_path(file_path: str, comparator) -> str:
|
|
93
|
+
if not file_path or not comparator:
|
|
94
|
+
return
|
|
95
|
+
|
|
96
|
+
if not os.path.isdir(file_path):
|
|
97
|
+
file_path = os.path.dirname(file_path)
|
|
98
|
+
|
|
99
|
+
parts = Path(file_path).parts
|
|
100
|
+
|
|
101
|
+
absolute_file_path = None
|
|
102
|
+
|
|
103
|
+
while len(parts) > 1 and absolute_file_path is None:
|
|
104
|
+
if len(parts) == 0:
|
|
105
|
+
return
|
|
106
|
+
|
|
107
|
+
fp = os.path.join(*parts)
|
|
108
|
+
for fn in os.listdir(fp):
|
|
109
|
+
afp = os.path.join(fp, fn)
|
|
110
|
+
if afp is not None and comparator(afp):
|
|
111
|
+
absolute_file_path = afp
|
|
112
|
+
break
|
|
113
|
+
|
|
114
|
+
parts = parts[:-1]
|
|
115
|
+
|
|
116
|
+
return absolute_file_path
|
mage_ai/shared/models.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import inspect
|
|
1
2
|
import typing
|
|
2
3
|
from dataclasses import dataclass, make_dataclass
|
|
3
4
|
from enum import Enum
|
|
@@ -119,7 +120,7 @@ class BaseClass:
|
|
|
119
120
|
else:
|
|
120
121
|
return value
|
|
121
122
|
|
|
122
|
-
is_data_class = issubclass(annotation, BaseDataClass)
|
|
123
|
+
is_data_class = inspect.isclass(annotation) and issubclass(annotation, BaseDataClass)
|
|
123
124
|
if is_data_class:
|
|
124
125
|
if is_dict_class:
|
|
125
126
|
if ignore_empty and len(value) == 0:
|
mage_ai/shared/parsers.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
from datetime import datetime
|
|
2
|
+
from enum import Enum
|
|
2
3
|
from json import JSONDecoder
|
|
3
4
|
|
|
4
5
|
import numpy as np
|
|
@@ -23,8 +24,14 @@ MAX_ITEMS_IN_SAMPLE_OUTPUT = 20
|
|
|
23
24
|
|
|
24
25
|
|
|
25
26
|
def encode_complex(obj):
|
|
26
|
-
if isinstance(obj,
|
|
27
|
+
if isinstance(obj, set):
|
|
28
|
+
return list(obj)
|
|
29
|
+
elif isinstance(obj, BaseModel):
|
|
27
30
|
return obj.__class__.__name__
|
|
31
|
+
elif obj.__class__.__name__ == 'BaseDataClass':
|
|
32
|
+
return obj.to_dict()
|
|
33
|
+
elif isinstance(obj, Enum):
|
|
34
|
+
return obj.value
|
|
28
35
|
elif hasattr(obj, 'isoformat') and 'method' in type(obj.isoformat).__name__:
|
|
29
36
|
return obj.isoformat()
|
|
30
37
|
elif isinstance(obj, np.integer):
|
mage_ai/shared/path_fixer.py
CHANGED
|
@@ -5,6 +5,39 @@ from typing import Tuple
|
|
|
5
5
|
from mage_ai.settings.platform import get_repo_paths_for_file_path
|
|
6
6
|
from mage_ai.settings.repo import get_repo_path
|
|
7
7
|
from mage_ai.settings.utils import base_repo_dirname, base_repo_name, base_repo_path
|
|
8
|
+
from mage_ai.shared.files import find_directory
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def add_absolute_path(file_path: str, add_base_repo_path: bool = True) -> str:
|
|
12
|
+
repo_path = get_repo_path(root_project=True)
|
|
13
|
+
repo_path_name = Path(repo_path).name
|
|
14
|
+
|
|
15
|
+
full_path = None
|
|
16
|
+
if os.path.isabs(file_path):
|
|
17
|
+
full_path = file_path
|
|
18
|
+
else:
|
|
19
|
+
try:
|
|
20
|
+
# If the relative path already contains the root project name, return it
|
|
21
|
+
diff = Path(file_path).relative_to(repo_path_name)
|
|
22
|
+
relative_file_path = str(diff)
|
|
23
|
+
full_path = os.path.join(repo_path, relative_file_path)
|
|
24
|
+
except ValueError:
|
|
25
|
+
# Relative path doesn’t contain the repo name
|
|
26
|
+
# Check to see if the first directory is exists right under the root folder
|
|
27
|
+
parts = Path(file_path).parts
|
|
28
|
+
if len(parts) >= 1:
|
|
29
|
+
full_path = os.path.join(repo_path, parts[0])
|
|
30
|
+
if os.path.exists(full_path):
|
|
31
|
+
full_path = os.path.join(repo_path, file_path)
|
|
32
|
+
else:
|
|
33
|
+
full_path = find_directory(repo_path, lambda x: x.endswith(file_path))
|
|
34
|
+
|
|
35
|
+
if full_path:
|
|
36
|
+
# Remove the repo path
|
|
37
|
+
if add_base_repo_path:
|
|
38
|
+
return str(full_path)
|
|
39
|
+
else:
|
|
40
|
+
return str(Path(full_path).relative_to(base_repo_path()))
|
|
8
41
|
|
|
9
42
|
|
|
10
43
|
def add_root_repo_path_to_relative_path(relative_file_path: str) -> str:
|
|
@@ -55,6 +88,21 @@ def remove_base_repo_name(file_path: str) -> str:
|
|
|
55
88
|
return file_path
|
|
56
89
|
|
|
57
90
|
|
|
91
|
+
def remove_base_repo_path_or_name(file_path: str) -> str:
|
|
92
|
+
if not file_path:
|
|
93
|
+
return
|
|
94
|
+
|
|
95
|
+
if os.path.isabs(file_path):
|
|
96
|
+
value = str(remove_base_repo_path(file_path))
|
|
97
|
+
else:
|
|
98
|
+
value = str(remove_base_repo_name(file_path))
|
|
99
|
+
|
|
100
|
+
if len(value) == 0 or value == '.':
|
|
101
|
+
return base_repo_name()
|
|
102
|
+
else:
|
|
103
|
+
return value
|
|
104
|
+
|
|
105
|
+
|
|
58
106
|
def remove_base_repo_directory_name(file_path: str) -> str:
|
|
59
107
|
"""
|
|
60
108
|
Removes /home/src from
|
|
@@ -90,18 +138,27 @@ def get_path_parts(file_path: str) -> Tuple[str, str, str]:
|
|
|
90
138
|
full_path_relative = paths['full_path_relative']
|
|
91
139
|
path = paths['path']
|
|
92
140
|
|
|
141
|
+
paths_to_remove = []
|
|
93
142
|
file_path_base = None
|
|
94
143
|
|
|
144
|
+
if os.path.isabs(file_path):
|
|
145
|
+
paths_to_remove = [
|
|
146
|
+
paths['full_path'],
|
|
147
|
+
path,
|
|
148
|
+
]
|
|
149
|
+
else:
|
|
150
|
+
paths_to_remove = [
|
|
151
|
+
full_path_relative,
|
|
152
|
+
path,
|
|
153
|
+
]
|
|
154
|
+
|
|
95
155
|
# The file path either has both the root project name and the nested project name
|
|
96
156
|
# or just has the nested project name in it.
|
|
97
|
-
for
|
|
98
|
-
full_path_relative,
|
|
99
|
-
path,
|
|
100
|
-
]:
|
|
157
|
+
for path_inner in paths_to_remove:
|
|
101
158
|
if file_path_base:
|
|
102
159
|
break
|
|
103
160
|
try:
|
|
104
|
-
file_path_base = Path(file_path).relative_to(
|
|
161
|
+
file_path_base = Path(file_path).relative_to(path_inner)
|
|
105
162
|
except ValueError:
|
|
106
163
|
pass
|
|
107
164
|
|
mage_ai/shared/retry.py
CHANGED
|
@@ -9,6 +9,7 @@ def retry(
|
|
|
9
9
|
exponential_backoff: bool = True,
|
|
10
10
|
logger=None,
|
|
11
11
|
logging_tags: Dict = None,
|
|
12
|
+
retry_metadata: Dict = None,
|
|
12
13
|
):
|
|
13
14
|
"""
|
|
14
15
|
Create the decorator to retry a method
|
|
@@ -31,6 +32,9 @@ def retry(
|
|
|
31
32
|
curr_delay = delay
|
|
32
33
|
while attempt <= max_attempts:
|
|
33
34
|
try:
|
|
35
|
+
if retry_metadata:
|
|
36
|
+
retry_metadata['attempts'] = (retry_metadata.get('attempts', 0) or 0) + 1
|
|
37
|
+
|
|
34
38
|
return func(*args, **kwargs)
|
|
35
39
|
except Exception as e:
|
|
36
40
|
if logger is None:
|
mage_ai/shared/strings.py
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import os
|
|
2
|
+
|
|
3
|
+
from mage_ai.data_preparation.models.constants import BlockLanguage, BlockType
|
|
2
4
|
from mage_ai.data_preparation.models.pipeline import Pipeline
|
|
3
5
|
from mage_ai.tests.api.endpoints.mixins import (
|
|
4
6
|
BaseAPIEndpointTest,
|
|
@@ -8,6 +10,7 @@ from mage_ai.tests.api.endpoints.mixins import (
|
|
|
8
10
|
build_list_endpoint_tests,
|
|
9
11
|
build_update_endpoint_tests,
|
|
10
12
|
)
|
|
13
|
+
from mage_ai.tests.shared.mixins import DBTMixin
|
|
11
14
|
|
|
12
15
|
|
|
13
16
|
def get_pipeline(self):
|
|
@@ -105,3 +108,100 @@ build_delete_endpoint_tests(
|
|
|
105
108
|
resource='block',
|
|
106
109
|
resource_parent='pipelines',
|
|
107
110
|
)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
class DBTBlockAPIEndpointTest(BaseAPIEndpointTest, DBTMixin):
|
|
114
|
+
pass
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
def __assert_after_create(self):
|
|
118
|
+
pipeline = get_pipeline(self)
|
|
119
|
+
blocks = pipeline.blocks_by_uuid.values()
|
|
120
|
+
blocks_dbt = list(filter(
|
|
121
|
+
lambda x: x.type == BlockType.DBT and x.language == BlockLanguage.SQL,
|
|
122
|
+
blocks,
|
|
123
|
+
))
|
|
124
|
+
|
|
125
|
+
self.assertEqual(len(blocks), 5)
|
|
126
|
+
self.assertEqual(len(blocks_dbt), 1)
|
|
127
|
+
|
|
128
|
+
block = blocks_dbt[0]
|
|
129
|
+
self.assertEqual({
|
|
130
|
+
'dbt_project_name': 'dbt/test_project',
|
|
131
|
+
'file_path': 'dbt/test_project/models/example/my_first_dbt_model.sql',
|
|
132
|
+
'file_source': {
|
|
133
|
+
'path': 'dbt/test_project/models/example/my_first_dbt_model.sql',
|
|
134
|
+
'project_path': 'dbt/test_project',
|
|
135
|
+
},
|
|
136
|
+
}, block.configuration)
|
|
137
|
+
|
|
138
|
+
return True
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
def __assert_after_create_yaml(self):
|
|
142
|
+
pipeline = get_pipeline(self)
|
|
143
|
+
blocks = pipeline.blocks_by_uuid.values()
|
|
144
|
+
blocks_dbt = list(filter(
|
|
145
|
+
lambda x: x.type == BlockType.DBT and x.language == BlockLanguage.YAML,
|
|
146
|
+
blocks,
|
|
147
|
+
))
|
|
148
|
+
|
|
149
|
+
self.assertEqual(len(blocks), 5)
|
|
150
|
+
self.assertEqual(len(blocks_dbt), 1)
|
|
151
|
+
|
|
152
|
+
block = blocks_dbt[0]
|
|
153
|
+
self.assertEqual({
|
|
154
|
+
'dbt_project_name': 'dbt/test_project',
|
|
155
|
+
'file_source': {
|
|
156
|
+
'path': 'dbts/dbt_yaml.yaml',
|
|
157
|
+
'project_path': 'dbt/test_project',
|
|
158
|
+
},
|
|
159
|
+
}, block.configuration)
|
|
160
|
+
|
|
161
|
+
return True
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
build_create_endpoint_tests(
|
|
165
|
+
DBTBlockAPIEndpointTest,
|
|
166
|
+
assert_after_create_count=__assert_after_create,
|
|
167
|
+
assert_before_create_count=lambda self: len(get_pipeline(self).blocks_by_uuid.values()) == 4,
|
|
168
|
+
build_payload=lambda self: dict(
|
|
169
|
+
name=self.faker.unique.name(),
|
|
170
|
+
type=BlockType.DBT,
|
|
171
|
+
language=BlockLanguage.SQL,
|
|
172
|
+
configuration=dict(
|
|
173
|
+
file_path=os.path.join(
|
|
174
|
+
os.path.basename(self.dbt_directory),
|
|
175
|
+
'test_project',
|
|
176
|
+
'models',
|
|
177
|
+
'example',
|
|
178
|
+
'my_first_dbt_model.sql',
|
|
179
|
+
),
|
|
180
|
+
),
|
|
181
|
+
),
|
|
182
|
+
get_resource_parent_id=lambda self: self.pipeline.uuid,
|
|
183
|
+
resource='block',
|
|
184
|
+
resource_parent='pipelines',
|
|
185
|
+
)
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
build_create_endpoint_tests(
|
|
189
|
+
DBTBlockAPIEndpointTest,
|
|
190
|
+
test_uuid='dbt_yaml',
|
|
191
|
+
assert_after_create_count=__assert_after_create_yaml,
|
|
192
|
+
assert_before_create_count=lambda self: len(get_pipeline(self).blocks_by_uuid.values()) == 4,
|
|
193
|
+
build_payload=lambda self: dict(
|
|
194
|
+
name='dbt_yaml',
|
|
195
|
+
type=BlockType.DBT,
|
|
196
|
+
language=BlockLanguage.YAML,
|
|
197
|
+
configuration=dict(
|
|
198
|
+
dbt_project_name=os.path.join(
|
|
199
|
+
os.path.basename(self.dbt_directory),
|
|
200
|
+
'test_project',
|
|
201
|
+
),
|
|
202
|
+
),
|
|
203
|
+
),
|
|
204
|
+
get_resource_parent_id=lambda self: self.pipeline.uuid,
|
|
205
|
+
resource='block',
|
|
206
|
+
resource_parent='pipelines',
|
|
207
|
+
)
|
|
@@ -14,7 +14,10 @@ class BaseOperationsWithUserAuthenticationAndPermissionsTest(Base):
|
|
|
14
14
|
def setUp(self):
|
|
15
15
|
self.set_up()
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
try:
|
|
18
|
+
self.user.save()
|
|
19
|
+
except Exception as err:
|
|
20
|
+
print(err)
|
|
18
21
|
|
|
19
22
|
role = Role.create(name=self.faker.unique.name())
|
|
20
23
|
permission = Permission.create(
|
mage_ai/tests/base_test.py
CHANGED
|
@@ -26,7 +26,18 @@ else:
|
|
|
26
26
|
@classmethod
|
|
27
27
|
def setUpClass(self):
|
|
28
28
|
super().setUpClass()
|
|
29
|
-
|
|
29
|
+
|
|
30
|
+
repo_path = None
|
|
31
|
+
for fp in [
|
|
32
|
+
os.path.dirname(os.getcwd()),
|
|
33
|
+
os.getcwd(),
|
|
34
|
+
'test'
|
|
35
|
+
]:
|
|
36
|
+
repo_path = os.path.join(repo_path or '', fp)
|
|
37
|
+
if not os.path.exists(repo_path):
|
|
38
|
+
os.makedirs(repo_path, exist_ok=True)
|
|
39
|
+
|
|
40
|
+
self.repo_path = repo_path
|
|
30
41
|
set_repo_path(self.repo_path)
|
|
31
42
|
if not Path(self.repo_path).exists():
|
|
32
43
|
Path(self.repo_path).mkdir()
|
|
@@ -89,7 +100,15 @@ class TestCase(unittest.TestCase):
|
|
|
89
100
|
@classmethod
|
|
90
101
|
def setUpClass(self):
|
|
91
102
|
super().setUpClass()
|
|
92
|
-
|
|
103
|
+
repo_path = os.path.join(os.getcwd())
|
|
104
|
+
if not os.path.exists(repo_path):
|
|
105
|
+
os.makedirs(repo_path, exist_ok=True)
|
|
106
|
+
|
|
107
|
+
repo_path = os.path.join(repo_path, 'test')
|
|
108
|
+
if not os.path.exists(repo_path):
|
|
109
|
+
os.makedirs(repo_path, exist_ok=True)
|
|
110
|
+
|
|
111
|
+
self.repo_path = repo_path
|
|
93
112
|
set_repo_path(self.repo_path)
|
|
94
113
|
if not Path(self.repo_path).exists():
|
|
95
114
|
Path(self.repo_path).mkdir()
|
|
@@ -2,7 +2,7 @@ import json
|
|
|
2
2
|
import os
|
|
3
3
|
import shutil
|
|
4
4
|
import uuid
|
|
5
|
-
from datetime import datetime
|
|
5
|
+
from datetime import datetime, timezone
|
|
6
6
|
from unittest.mock import patch
|
|
7
7
|
|
|
8
8
|
from freezegun import freeze_time
|
|
@@ -33,7 +33,7 @@ class PipelineCacheTest(BaseApiTestCase):
|
|
|
33
33
|
),
|
|
34
34
|
)
|
|
35
35
|
|
|
36
|
-
self.cache = CustomPipelineCache()
|
|
36
|
+
self.cache = CustomPipelineCache(root_project=False)
|
|
37
37
|
with open(os.path.join(CURRENT_FILE_PATH, 'example_pipeline.json')) as f:
|
|
38
38
|
self.pipeline_json = json.loads(f.read())['pipeline']
|
|
39
39
|
|
|
@@ -89,7 +89,7 @@ class PipelineCacheTest(BaseApiTestCase):
|
|
|
89
89
|
)
|
|
90
90
|
|
|
91
91
|
def test_update_models(self):
|
|
92
|
-
now = datetime(
|
|
92
|
+
now = datetime(2024, 1, 1)
|
|
93
93
|
model = self.pipeline_json.copy()
|
|
94
94
|
model['name'] = self.uuid
|
|
95
95
|
|
|
@@ -106,7 +106,7 @@ class PipelineCacheTest(BaseApiTestCase):
|
|
|
106
106
|
)
|
|
107
107
|
|
|
108
108
|
def test_update_model(self):
|
|
109
|
-
now = datetime(
|
|
109
|
+
now = datetime(2024, 1, 1)
|
|
110
110
|
model = self.pipeline_json.copy()
|
|
111
111
|
model['name'] = self.uuid
|
|
112
112
|
|
|
@@ -123,7 +123,7 @@ class PipelineCacheTest(BaseApiTestCase):
|
|
|
123
123
|
)
|
|
124
124
|
|
|
125
125
|
def test_add_model(self):
|
|
126
|
-
now = datetime(
|
|
126
|
+
now = datetime(2024, 1, 1, tzinfo=timezone.utc)
|
|
127
127
|
model = self.pipeline_json.copy()
|
|
128
128
|
model['name'] = self.uuid
|
|
129
129
|
|
|
@@ -146,9 +146,10 @@ class PipelineCacheTest(BaseApiTestCase):
|
|
|
146
146
|
)
|
|
147
147
|
|
|
148
148
|
async def test_initialize_cache_for_models(self):
|
|
149
|
-
now = datetime(
|
|
149
|
+
now = datetime(2024, 1, 1, tzinfo=timezone.utc)
|
|
150
150
|
|
|
151
151
|
pipeline_dict = dict(
|
|
152
|
+
created_at=None,
|
|
152
153
|
description=uuid.uuid4().hex,
|
|
153
154
|
blocks=[
|
|
154
155
|
dict(
|
|
@@ -171,10 +172,12 @@ class PipelineCacheTest(BaseApiTestCase):
|
|
|
171
172
|
uuid=uuid.uuid4().hex,
|
|
172
173
|
)
|
|
173
174
|
|
|
175
|
+
repo_path = self.repo_path
|
|
176
|
+
|
|
174
177
|
class TestCustomPipeline:
|
|
175
178
|
@classmethod
|
|
176
|
-
def
|
|
177
|
-
return [pipeline_dict['uuid']]
|
|
179
|
+
def get_all_pipelines_all_projects(cls, repo_path=repo_path, *args, **kwargs):
|
|
180
|
+
return [(pipeline_dict['uuid'], repo_path)]
|
|
178
181
|
|
|
179
182
|
@classmethod
|
|
180
183
|
async def load_metadata(self, pipeline_uuid, **kwargs):
|