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
|
@@ -19,9 +19,9 @@ from mage_ai.api.resources.BaseResource import BaseResource
|
|
|
19
19
|
from mage_ai.api.resources.BlockResource import BlockResource
|
|
20
20
|
from mage_ai.api.resources.LlmResource import LlmResource
|
|
21
21
|
from mage_ai.authentication.operation_history.utils import (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
load_pipelines_detail,
|
|
23
|
+
record_create_pipeline,
|
|
24
|
+
record_detail_pipeline,
|
|
25
25
|
)
|
|
26
26
|
from mage_ai.cache.pipeline import PipelineCache
|
|
27
27
|
from mage_ai.data_preparation.models.constants import (
|
|
@@ -55,12 +55,41 @@ from mage_ai.server.kernels import PIPELINE_TO_KERNEL_NAME, KernelName
|
|
|
55
55
|
from mage_ai.settings.platform import project_platform_activated
|
|
56
56
|
from mage_ai.settings.platform.utils import get_pipeline_from_platform_async
|
|
57
57
|
from mage_ai.settings.repo import get_repo_path
|
|
58
|
-
from mage_ai.shared.array import find_index
|
|
58
|
+
from mage_ai.shared.array import find, find_index
|
|
59
59
|
from mage_ai.shared.hash import group_by, ignore_keys, merge_dict
|
|
60
60
|
from mage_ai.shared.strings import is_number
|
|
61
61
|
from mage_ai.usage_statistics.logger import UsageStatisticLogger
|
|
62
62
|
|
|
63
63
|
|
|
64
|
+
@safe_db_query
|
|
65
|
+
def query_pipeline_schedules(pipeline_uuids: List[str]):
|
|
66
|
+
a = aliased(PipelineSchedule, name='a')
|
|
67
|
+
result = (
|
|
68
|
+
PipelineSchedule.
|
|
69
|
+
select(*[
|
|
70
|
+
a.created_at,
|
|
71
|
+
a.id,
|
|
72
|
+
a.name,
|
|
73
|
+
a.pipeline_uuid,
|
|
74
|
+
a.schedule_interval,
|
|
75
|
+
a.schedule_type,
|
|
76
|
+
a.start_time,
|
|
77
|
+
a.status,
|
|
78
|
+
a.updated_at,
|
|
79
|
+
]).
|
|
80
|
+
filter(
|
|
81
|
+
a.pipeline_uuid.in_(pipeline_uuids),
|
|
82
|
+
or_(
|
|
83
|
+
a.repo_path.in_(Project().repo_path_for_database_query(
|
|
84
|
+
'pipeline_schedules',
|
|
85
|
+
)),
|
|
86
|
+
a.repo_path.is_(None),
|
|
87
|
+
)
|
|
88
|
+
)
|
|
89
|
+
).all()
|
|
90
|
+
return group_by(lambda x: x.pipeline_uuid, result)
|
|
91
|
+
|
|
92
|
+
|
|
64
93
|
class PipelineResource(BaseResource):
|
|
65
94
|
@classmethod
|
|
66
95
|
@safe_db_query
|
|
@@ -122,7 +151,7 @@ class PipelineResource(BaseResource):
|
|
|
122
151
|
timestamp_start = (datetime.utcnow() - timedelta(
|
|
123
152
|
hours=24 * int(from_history_days),
|
|
124
153
|
)).timestamp()
|
|
125
|
-
history =
|
|
154
|
+
history = load_pipelines_detail(timestamp_start=timestamp_start)
|
|
126
155
|
history = sorted(
|
|
127
156
|
history,
|
|
128
157
|
key=lambda x: int(x.timestamp),
|
|
@@ -186,6 +215,17 @@ class PipelineResource(BaseResource):
|
|
|
186
215
|
print(err_message)
|
|
187
216
|
return None
|
|
188
217
|
|
|
218
|
+
def get_pipeline_with_config(uuid, config: Dict) -> Pipeline:
|
|
219
|
+
try:
|
|
220
|
+
return Pipeline(uuid, config=config)
|
|
221
|
+
except Exception as err:
|
|
222
|
+
err_message = f'Error loading pipeline sync {uuid}: {err}.'
|
|
223
|
+
if err.__class__.__name__ == 'OSError' and 'Too many open files' in err.strerror:
|
|
224
|
+
raise Exception(err_message)
|
|
225
|
+
else:
|
|
226
|
+
print(err_message)
|
|
227
|
+
return None
|
|
228
|
+
|
|
189
229
|
pipeline_uuids_miss = []
|
|
190
230
|
pipelines = []
|
|
191
231
|
|
|
@@ -199,7 +239,9 @@ class PipelineResource(BaseResource):
|
|
|
199
239
|
for uuid in pipeline_uuids:
|
|
200
240
|
pipeline_dict = cache.get_model(dict(uuid=uuid))
|
|
201
241
|
if pipeline_dict and pipeline_dict.get('pipeline'):
|
|
202
|
-
|
|
242
|
+
pipeline = get_pipeline_with_config(uuid, pipeline_dict['pipeline'])
|
|
243
|
+
if pipeline:
|
|
244
|
+
pipelines.append(pipeline)
|
|
203
245
|
else:
|
|
204
246
|
pipeline_uuids_miss.append(uuid)
|
|
205
247
|
|
|
@@ -210,34 +252,6 @@ class PipelineResource(BaseResource):
|
|
|
210
252
|
|
|
211
253
|
pipelines = [p for p in pipelines if p is not None]
|
|
212
254
|
|
|
213
|
-
@safe_db_query
|
|
214
|
-
def query_pipeline_schedules(pipeline_uuids):
|
|
215
|
-
a = aliased(PipelineSchedule, name='a')
|
|
216
|
-
result = (
|
|
217
|
-
PipelineSchedule.
|
|
218
|
-
select(*[
|
|
219
|
-
a.created_at,
|
|
220
|
-
a.id,
|
|
221
|
-
a.name,
|
|
222
|
-
a.pipeline_uuid,
|
|
223
|
-
a.schedule_interval,
|
|
224
|
-
a.schedule_type,
|
|
225
|
-
a.start_time,
|
|
226
|
-
a.status,
|
|
227
|
-
a.updated_at,
|
|
228
|
-
]).
|
|
229
|
-
filter(
|
|
230
|
-
a.pipeline_uuid.in_(pipeline_uuids),
|
|
231
|
-
or_(
|
|
232
|
-
a.repo_path.in_(Project().repo_path_for_database_query(
|
|
233
|
-
'pipeline_schedules',
|
|
234
|
-
)),
|
|
235
|
-
a.repo_path.is_(None),
|
|
236
|
-
)
|
|
237
|
-
)
|
|
238
|
-
).all()
|
|
239
|
-
return group_by(lambda x: x.pipeline_uuid, result)
|
|
240
|
-
|
|
241
255
|
mapping = {}
|
|
242
256
|
if include_schedules:
|
|
243
257
|
mapping = query_pipeline_schedules(pipeline_uuids)
|
|
@@ -282,7 +296,16 @@ class PipelineResource(BaseResource):
|
|
|
282
296
|
vals.append(val)
|
|
283
297
|
bools.append(val is None if not reverse_sort else val is not None)
|
|
284
298
|
elif 'triggers' == k.lower():
|
|
285
|
-
val = len(p.
|
|
299
|
+
val = len(p.schedules)
|
|
300
|
+
vals.append(val)
|
|
301
|
+
bools.append(val is None if not reverse_sort else val is not None)
|
|
302
|
+
elif 'status' == k.lower():
|
|
303
|
+
if len(p.schedules) == 0:
|
|
304
|
+
val = 'no_schedules'
|
|
305
|
+
elif find(lambda s: s.status == 'active', p.schedules) is not None:
|
|
306
|
+
val = 'active'
|
|
307
|
+
else:
|
|
308
|
+
val = 'inactive'
|
|
286
309
|
vals.append(val)
|
|
287
310
|
bools.append(val is None if not reverse_sort else val is not None)
|
|
288
311
|
elif hasattr(p, k):
|
|
@@ -309,7 +332,7 @@ class PipelineResource(BaseResource):
|
|
|
309
332
|
results = pipelines[start_index:end_index]
|
|
310
333
|
|
|
311
334
|
results_size = len(results)
|
|
312
|
-
has_next = limit and
|
|
335
|
+
has_next = limit and results_size > limit
|
|
313
336
|
final_end_idx = results_size - 1 if has_next else results_size
|
|
314
337
|
|
|
315
338
|
arr = results[0:final_end_idx]
|
|
@@ -412,7 +435,7 @@ class PipelineResource(BaseResource):
|
|
|
412
435
|
template_uuid=template_uuid,
|
|
413
436
|
)
|
|
414
437
|
|
|
415
|
-
|
|
438
|
+
record_create_pipeline(
|
|
416
439
|
resource_uuid=pipeline.uuid,
|
|
417
440
|
user=user.id if user else None,
|
|
418
441
|
)
|
|
@@ -464,7 +487,7 @@ class PipelineResource(BaseResource):
|
|
|
464
487
|
if Project(pipeline.repo_config).is_feature_enabled(
|
|
465
488
|
FeatureUUID.OPERATION_HISTORY,
|
|
466
489
|
):
|
|
467
|
-
|
|
490
|
+
record_detail_pipeline(
|
|
468
491
|
resource_uuid=pipeline.uuid,
|
|
469
492
|
user=user.id if user else None,
|
|
470
493
|
)
|
|
@@ -478,6 +501,16 @@ class PipelineResource(BaseResource):
|
|
|
478
501
|
|
|
479
502
|
await BlockCache.initialize_cache()
|
|
480
503
|
|
|
504
|
+
include_schedules = query.get('include_schedules', [False])
|
|
505
|
+
if include_schedules:
|
|
506
|
+
include_schedules = include_schedules[0]
|
|
507
|
+
|
|
508
|
+
if include_schedules:
|
|
509
|
+
mapping = query_pipeline_schedules([pipeline.uuid])
|
|
510
|
+
|
|
511
|
+
if mapping.get(pipeline.uuid):
|
|
512
|
+
pipeline.schedules = mapping[pipeline.uuid] or []
|
|
513
|
+
|
|
481
514
|
return self(pipeline, user, **kwargs)
|
|
482
515
|
|
|
483
516
|
@safe_db_query
|
|
@@ -129,6 +129,12 @@ class PipelineRunResource(DatabaseResource):
|
|
|
129
129
|
if end_timestamp is not None:
|
|
130
130
|
results = results.filter(PipelineRun.created_at <= end_timestamp)
|
|
131
131
|
|
|
132
|
+
limit = int((meta or {}).get(META_KEY_LIMIT, self.DEFAULT_LIMIT))
|
|
133
|
+
|
|
134
|
+
# No need to order the results if limit is 0
|
|
135
|
+
if limit == 0:
|
|
136
|
+
return results
|
|
137
|
+
|
|
132
138
|
if order_by:
|
|
133
139
|
arr = []
|
|
134
140
|
for tup in order_by:
|
|
@@ -204,8 +210,7 @@ class PipelineRunResource(DatabaseResource):
|
|
|
204
210
|
query arg and set it to True (e.g. in order to make the number of pipeline runs
|
|
205
211
|
returned consistent across pages).
|
|
206
212
|
"""
|
|
207
|
-
if
|
|
208
|
-
total_results.count() >= 1 and \
|
|
213
|
+
if limit is not None and limit != 0 and total_count >= 1 and \
|
|
209
214
|
not disable_retries_grouping and \
|
|
210
215
|
(pipeline_uuid is not None or pipeline_schedule_id is not None):
|
|
211
216
|
|
|
@@ -6,7 +6,6 @@ import yaml
|
|
|
6
6
|
|
|
7
7
|
from mage_ai.api.resources.GenericResource import GenericResource
|
|
8
8
|
from mage_ai.cache.block_action_object import BlockActionObjectCache
|
|
9
|
-
from mage_ai.data_preparation.models.block.dbt.profiles import PROFILES_FILE_NAME
|
|
10
9
|
from mage_ai.data_preparation.models.project import Project
|
|
11
10
|
from mage_ai.data_preparation.models.project.constants import FeatureUUID
|
|
12
11
|
from mage_ai.data_preparation.repo_manager import (
|
|
@@ -113,7 +112,7 @@ class ProjectResource(GenericResource):
|
|
|
113
112
|
)
|
|
114
113
|
proc.check_returncode()
|
|
115
114
|
|
|
116
|
-
with open(os.path.join(directory, project_uuid,
|
|
115
|
+
with open(os.path.join(directory, project_uuid, 'profiles.yml'), 'w') as f:
|
|
117
116
|
content = yaml.safe_dump({
|
|
118
117
|
project_uuid: dict(
|
|
119
118
|
outputs=dict(
|
|
@@ -2,7 +2,7 @@ from typing import Dict
|
|
|
2
2
|
|
|
3
3
|
from mage_ai.api.errors import ApiError
|
|
4
4
|
from mage_ai.api.resources.GenericResource import GenericResource
|
|
5
|
-
from mage_ai.authentication.oauth.constants import
|
|
5
|
+
from mage_ai.authentication.oauth.constants import ProviderName
|
|
6
6
|
from mage_ai.data_preparation.git import api
|
|
7
7
|
from mage_ai.data_preparation.git.clients.base import Client as GitClient
|
|
8
8
|
from mage_ai.data_preparation.git.utils import get_provider_from_remote_url
|
|
@@ -36,7 +36,7 @@ class PullRequestResource(GenericResource):
|
|
|
36
36
|
if repository:
|
|
37
37
|
repository = repository[0]
|
|
38
38
|
|
|
39
|
-
provider =
|
|
39
|
+
provider = ProviderName.GITHUB
|
|
40
40
|
if remote_url:
|
|
41
41
|
provider = get_provider_from_remote_url(remote_url)
|
|
42
42
|
|
|
@@ -56,12 +56,21 @@ class PullRequestResource(GenericResource):
|
|
|
56
56
|
for key in [
|
|
57
57
|
'base_branch',
|
|
58
58
|
'compare_branch',
|
|
59
|
+
'body',
|
|
59
60
|
'title',
|
|
60
61
|
]:
|
|
61
|
-
if key not in payload:
|
|
62
|
+
if key not in payload or payload.get(key) is None:
|
|
62
63
|
error.update(dict(message=f'Value for {key} is required but empty.'))
|
|
63
64
|
raise ApiError(error)
|
|
64
65
|
|
|
66
|
+
if payload.get('base_branch') == payload.get('compare_branch'):
|
|
67
|
+
error.update(
|
|
68
|
+
dict(
|
|
69
|
+
message='Base branch and compare branch cannot be the same.',
|
|
70
|
+
)
|
|
71
|
+
)
|
|
72
|
+
raise ApiError(error)
|
|
73
|
+
|
|
65
74
|
repository = payload.get('repository')
|
|
66
75
|
if not repository:
|
|
67
76
|
error.update(
|
|
@@ -55,10 +55,10 @@ def filter_results(result: Dict) -> bool:
|
|
|
55
55
|
class SearchResultResource(GenericResource):
|
|
56
56
|
@classmethod
|
|
57
57
|
async def create(self, payload: Dict, user, **kwargs):
|
|
58
|
-
pipeline_type = payload.get('pipeline_type', None)
|
|
59
|
-
query = payload.get('query', None)
|
|
60
|
-
ratio = payload.get('ratio', None)
|
|
61
|
-
search_type = payload.get('type', None)
|
|
58
|
+
pipeline_type = payload.get('pipeline_type', None) or None
|
|
59
|
+
query = payload.get('query', None) or None
|
|
60
|
+
ratio = payload.get('ratio', None) or None
|
|
61
|
+
search_type = payload.get('type', None) or None
|
|
62
62
|
|
|
63
63
|
results = []
|
|
64
64
|
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import urllib.parse
|
|
2
|
+
from typing import Dict
|
|
3
|
+
|
|
4
|
+
from mage_ai.api.resources.AsyncBaseResource import AsyncBaseResource
|
|
5
|
+
from mage_ai.orchestration.db.models.oauth import User
|
|
6
|
+
from mage_ai.version_control.models import Branch, Remote
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class VersionControlBranchResource(AsyncBaseResource):
|
|
10
|
+
@classmethod
|
|
11
|
+
async def collection(self, query: Dict, _meta: Dict, user: User, **kwargs):
|
|
12
|
+
project = kwargs.get('parent_model')
|
|
13
|
+
|
|
14
|
+
remote = query.get('remote', [None])
|
|
15
|
+
if remote:
|
|
16
|
+
remote = remote[0]
|
|
17
|
+
|
|
18
|
+
if remote:
|
|
19
|
+
remote = Remote.load(name=remote)
|
|
20
|
+
remote.project = project
|
|
21
|
+
remote.hydrate()
|
|
22
|
+
|
|
23
|
+
model = Branch()
|
|
24
|
+
model.project = project
|
|
25
|
+
model.remote = remote
|
|
26
|
+
|
|
27
|
+
models = []
|
|
28
|
+
for m in [Branch.load(
|
|
29
|
+
name=line.strip(),
|
|
30
|
+
) for line in model.list(include_all=True) if len(line) >= 1]:
|
|
31
|
+
m.project = project
|
|
32
|
+
m.remote = remote
|
|
33
|
+
models.append(m)
|
|
34
|
+
|
|
35
|
+
return self.build_result_set(
|
|
36
|
+
models,
|
|
37
|
+
user,
|
|
38
|
+
**kwargs,
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
@classmethod
|
|
42
|
+
async def create(self, payload: Dict, user: User, **kwargs):
|
|
43
|
+
model = self.hydrate_models(**kwargs)
|
|
44
|
+
model.name = payload.get('name')
|
|
45
|
+
model.create()
|
|
46
|
+
|
|
47
|
+
return self(model, user, **kwargs)
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
async def member(self, pk: str, user: User, **kwargs):
|
|
51
|
+
model = self.hydrate_models(**kwargs)
|
|
52
|
+
model.name = urllib.parse.unquote(pk)
|
|
53
|
+
return self(model, user, **kwargs)
|
|
54
|
+
|
|
55
|
+
async def update(self, payload: Dict, **kwargs):
|
|
56
|
+
self.model.update(**payload)
|
|
57
|
+
|
|
58
|
+
async def delete(self, **kwargs):
|
|
59
|
+
query = kwargs.get('query') or {}
|
|
60
|
+
force = query.get('force', [None])
|
|
61
|
+
if force:
|
|
62
|
+
force = force[0]
|
|
63
|
+
|
|
64
|
+
self.model.delete(force=force)
|
|
65
|
+
|
|
66
|
+
@classmethod
|
|
67
|
+
def hydrate_models(self, **kwargs):
|
|
68
|
+
project = kwargs.get('parent_model')
|
|
69
|
+
|
|
70
|
+
query = kwargs.get('query') or {}
|
|
71
|
+
|
|
72
|
+
remote = query.get('remote', [None])
|
|
73
|
+
if remote:
|
|
74
|
+
remote = remote[0]
|
|
75
|
+
|
|
76
|
+
if remote:
|
|
77
|
+
remote = Remote.load(name=remote)
|
|
78
|
+
remote.project = project
|
|
79
|
+
remote.hydrate()
|
|
80
|
+
|
|
81
|
+
model = Branch()
|
|
82
|
+
model.project = project
|
|
83
|
+
model.remote = remote
|
|
84
|
+
|
|
85
|
+
return model
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import urllib.parse
|
|
2
|
+
from typing import Dict
|
|
3
|
+
|
|
4
|
+
from mage_ai.api.resources.AsyncBaseResource import AsyncBaseResource
|
|
5
|
+
from mage_ai.orchestration.db.models.oauth import User
|
|
6
|
+
from mage_ai.version_control.models import File
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class VersionControlFileResource(AsyncBaseResource):
|
|
10
|
+
@classmethod
|
|
11
|
+
async def collection(self, query: Dict, _meta: Dict, user: User, **kwargs):
|
|
12
|
+
project = kwargs.get('parent_model')
|
|
13
|
+
|
|
14
|
+
staged = query.get('staged', [None])
|
|
15
|
+
if staged:
|
|
16
|
+
staged = staged[0]
|
|
17
|
+
|
|
18
|
+
unstaged = query.get('unstaged', [None])
|
|
19
|
+
if unstaged:
|
|
20
|
+
unstaged = unstaged[0]
|
|
21
|
+
|
|
22
|
+
untracked = query.get('untracked', [None])
|
|
23
|
+
if untracked:
|
|
24
|
+
untracked = untracked[0]
|
|
25
|
+
|
|
26
|
+
model = File()
|
|
27
|
+
model.project = project
|
|
28
|
+
|
|
29
|
+
models = []
|
|
30
|
+
for m in [File.load(name=line) for line in model.list(
|
|
31
|
+
staged=staged,
|
|
32
|
+
unstaged=unstaged,
|
|
33
|
+
untracked=untracked,
|
|
34
|
+
) if len(line) >= 1]:
|
|
35
|
+
m.project = project
|
|
36
|
+
models.append(m)
|
|
37
|
+
|
|
38
|
+
return self.build_result_set(
|
|
39
|
+
models,
|
|
40
|
+
user,
|
|
41
|
+
**kwargs,
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
@classmethod
|
|
45
|
+
async def create(self, payload: Dict, user: User, **kwargs):
|
|
46
|
+
project = kwargs.get('parent_model')
|
|
47
|
+
model = File()
|
|
48
|
+
model.project = project
|
|
49
|
+
model.name = payload.get('name')
|
|
50
|
+
model.create()
|
|
51
|
+
return self(model, user, **kwargs)
|
|
52
|
+
|
|
53
|
+
@classmethod
|
|
54
|
+
async def member(self, pk: str, user: User, **kwargs):
|
|
55
|
+
project = kwargs.get('parent_model')
|
|
56
|
+
model = File.load(name=urllib.parse.unquote(pk))
|
|
57
|
+
model.project = project
|
|
58
|
+
model.diff = model.detail()
|
|
59
|
+
return self(model, user, **kwargs)
|
|
60
|
+
|
|
61
|
+
async def update(self, payload: Dict, **kwargs):
|
|
62
|
+
self.model.update(**payload)
|
|
63
|
+
|
|
64
|
+
async def delete(self, **kwargs):
|
|
65
|
+
self.model.delete()
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import urllib.parse
|
|
2
|
+
from typing import Dict
|
|
3
|
+
|
|
4
|
+
from mage_ai.api.errors import ApiError
|
|
5
|
+
from mage_ai.api.resources.AsyncBaseResource import AsyncBaseResource
|
|
6
|
+
from mage_ai.orchestration.db.models.oauth import User
|
|
7
|
+
from mage_ai.shared.hash import ignore_keys
|
|
8
|
+
from mage_ai.version_control.models import Project
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class VersionControlProjectResource(AsyncBaseResource):
|
|
12
|
+
@classmethod
|
|
13
|
+
async def collection(self, query: Dict, _meta: Dict, user: User, **kwargs):
|
|
14
|
+
return self.build_result_set(
|
|
15
|
+
Project.load_all(),
|
|
16
|
+
user,
|
|
17
|
+
**kwargs,
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
@classmethod
|
|
21
|
+
async def create(self, payload: Dict, user: User, **kwargs):
|
|
22
|
+
project = Project.create(payload['uuid'])
|
|
23
|
+
return self(project, user, **kwargs)
|
|
24
|
+
|
|
25
|
+
@classmethod
|
|
26
|
+
def get_model(self, pk, **kwargs):
|
|
27
|
+
model = Project.load(uuid=urllib.parse.unquote(pk))
|
|
28
|
+
if not model.exists():
|
|
29
|
+
raise ApiError(ApiError.RESOURCE_NOT_FOUND)
|
|
30
|
+
|
|
31
|
+
return model
|
|
32
|
+
|
|
33
|
+
@classmethod
|
|
34
|
+
async def member(self, pk: str, user: User, **kwargs):
|
|
35
|
+
return self(self.get_model(pk), user, **kwargs)
|
|
36
|
+
|
|
37
|
+
async def update(self, payload: Dict, **kwargs):
|
|
38
|
+
if 'email' in payload:
|
|
39
|
+
self.model.configure(email=payload.get('email'))
|
|
40
|
+
if 'name' in payload:
|
|
41
|
+
self.model.configure(name=payload.get('name'))
|
|
42
|
+
|
|
43
|
+
self.model.update(ignore_keys(payload, ['email', 'name']))
|
|
44
|
+
|
|
45
|
+
async def delete(self, **kwargs):
|
|
46
|
+
self.model.delete()
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import urllib.parse
|
|
2
|
+
from typing import Dict
|
|
3
|
+
|
|
4
|
+
from mage_ai.api.resources.AsyncBaseResource import AsyncBaseResource
|
|
5
|
+
from mage_ai.orchestration.db.models.oauth import User
|
|
6
|
+
from mage_ai.shared.array import unique_by
|
|
7
|
+
from mage_ai.version_control.models import Remote
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class VersionControlRemoteResource(AsyncBaseResource):
|
|
11
|
+
@classmethod
|
|
12
|
+
async def collection(self, query: Dict, _meta: Dict, user: User, **kwargs):
|
|
13
|
+
project = kwargs.get('parent_model')
|
|
14
|
+
model = Remote()
|
|
15
|
+
model.project = project
|
|
16
|
+
lines = model.list()
|
|
17
|
+
|
|
18
|
+
models = []
|
|
19
|
+
for remote in unique_by(
|
|
20
|
+
[Remote.load_from_text(line) for line in lines if len(line) >= 1],
|
|
21
|
+
lambda x: f'{x.name}:{x.url}',
|
|
22
|
+
):
|
|
23
|
+
remote.project = project
|
|
24
|
+
models.append(remote)
|
|
25
|
+
|
|
26
|
+
return self.build_result_set(
|
|
27
|
+
models,
|
|
28
|
+
user,
|
|
29
|
+
**kwargs,
|
|
30
|
+
)
|
|
31
|
+
|
|
32
|
+
@classmethod
|
|
33
|
+
async def create(self, payload: Dict, user: User, **kwargs):
|
|
34
|
+
project = kwargs.get('parent_model')
|
|
35
|
+
model = Remote.load(**payload)
|
|
36
|
+
model.project = project
|
|
37
|
+
model.create()
|
|
38
|
+
return self(model, user, **kwargs)
|
|
39
|
+
|
|
40
|
+
@classmethod
|
|
41
|
+
async def member(self, pk: str, user: User, **kwargs):
|
|
42
|
+
project = kwargs.get('parent_model')
|
|
43
|
+
|
|
44
|
+
query = kwargs.get('query') or {}
|
|
45
|
+
url = query.get('url', [None])
|
|
46
|
+
if url:
|
|
47
|
+
url = url[0]
|
|
48
|
+
|
|
49
|
+
model = Remote.load(
|
|
50
|
+
name=urllib.parse.unquote(pk),
|
|
51
|
+
url=url,
|
|
52
|
+
)
|
|
53
|
+
model.project = project
|
|
54
|
+
|
|
55
|
+
return self(model, user, **kwargs)
|
|
56
|
+
|
|
57
|
+
async def update(self, payload: Dict, **kwargs):
|
|
58
|
+
if payload.get('fetch'):
|
|
59
|
+
self.model.update(fetch=True)
|
|
60
|
+
if payload.get('set_url'):
|
|
61
|
+
self.model.update(set_url=True)
|
|
62
|
+
|
|
63
|
+
async def delete(self, **kwargs):
|
|
64
|
+
self.model.delete()
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import os
|
|
2
|
+
from enum import Enum
|
|
2
3
|
from typing import Optional
|
|
3
4
|
|
|
4
5
|
ACTIVE_DIRECTORY_CLIENT_ID = '51aec820-9d49-40a9-b046-17c1f28f620d'
|
|
@@ -6,12 +7,17 @@ ACTIVE_DIRECTORY_CLIENT_ID = '51aec820-9d49-40a9-b046-17c1f28f620d'
|
|
|
6
7
|
GITHUB_CLIENT_ID = '8577f13ddc81e2848b07'
|
|
7
8
|
GITHUB_STATE = '1337'
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
|
|
11
|
+
class ProviderName(str, Enum):
|
|
12
|
+
ACTIVE_DIRECTORY = 'active_directory'
|
|
13
|
+
BITBUCKET = 'bitbucket'
|
|
14
|
+
GITHUB = 'github'
|
|
15
|
+
GHE = 'ghe'
|
|
16
|
+
GOOGLE = 'google'
|
|
17
|
+
OKTA = 'okta'
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
VALID_OAUTH_PROVIDERS = [e.value for e in ProviderName]
|
|
15
21
|
|
|
16
22
|
GHE_CLIENT_ID_ENV_VAR = 'GHE_CLIENT_ID'
|
|
17
23
|
GHE_CLIENT_SECRET_ENV_VAR = 'GHE_CLIENT_SECRET'
|
|
@@ -24,16 +30,7 @@ BITBUCKET_OAUTH_SECRET = os.getenv('BITBUCKET_OAUTH_SECRET')
|
|
|
24
30
|
DEFAULT_GITHUB_HOSTNAME = 'https://github.com'
|
|
25
31
|
|
|
26
32
|
GIT_OAUTH_PROVIDERS = [
|
|
27
|
-
|
|
28
|
-
]
|
|
29
|
-
|
|
30
|
-
VALID_OAUTH_PROVIDERS = [
|
|
31
|
-
OAUTH_PROVIDER_ACTIVE_DIRECTORY,
|
|
32
|
-
OAUTH_PROVIDER_BITBUCKET,
|
|
33
|
-
OAUTH_PROVIDER_GHE,
|
|
34
|
-
OAUTH_PROVIDER_GITHUB,
|
|
35
|
-
OAUTH_PROVIDER_GOOGLE,
|
|
36
|
-
OAUTH_PROVIDER_OKTA,
|
|
33
|
+
ProviderName.BITBUCKET,
|
|
37
34
|
]
|
|
38
35
|
|
|
39
36
|
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import asyncio
|
|
2
1
|
import json
|
|
3
2
|
import os
|
|
4
|
-
from concurrent.futures import ThreadPoolExecutor
|
|
5
3
|
from dataclasses import dataclass, field
|
|
6
4
|
from datetime import datetime, timedelta
|
|
7
5
|
from typing import Dict, List, Union
|
|
@@ -14,9 +12,9 @@ from mage_ai.authentication.operation_history.constants import (
|
|
|
14
12
|
)
|
|
15
13
|
from mage_ai.data_preparation.repo_manager import RepoConfig, get_repo_config
|
|
16
14
|
from mage_ai.data_preparation.storage.local_storage import LocalStorage
|
|
15
|
+
from mage_ai.settings.platform.constants import project_platform_activated
|
|
17
16
|
from mage_ai.settings.repo import get_repo_path
|
|
18
17
|
from mage_ai.shared.environments import is_debug
|
|
19
|
-
from mage_ai.shared.io import read_last_line_async
|
|
20
18
|
|
|
21
19
|
|
|
22
20
|
@dataclass
|
|
@@ -49,10 +47,14 @@ class OperationHistory:
|
|
|
49
47
|
|
|
50
48
|
class OperationHistoryReader:
|
|
51
49
|
def __init__(self, repo_config=None, repo_path: str = None):
|
|
52
|
-
self.
|
|
50
|
+
self.root_project = project_platform_activated()
|
|
51
|
+
self.repo_path = repo_path or get_repo_path(root_project=self.root_project)
|
|
53
52
|
|
|
54
53
|
if repo_config is None:
|
|
55
|
-
self.repo_config = get_repo_config(
|
|
54
|
+
self.repo_config = get_repo_config(
|
|
55
|
+
repo_path=self.repo_path,
|
|
56
|
+
root_project=self.root_project,
|
|
57
|
+
)
|
|
56
58
|
elif isinstance(repo_config, dict):
|
|
57
59
|
self.repo_config = RepoConfig.from_dict(repo_config)
|
|
58
60
|
else:
|
|
@@ -102,17 +104,7 @@ class OperationHistoryReader:
|
|
|
102
104
|
|
|
103
105
|
return os.path.join(dir_path, filename)
|
|
104
106
|
|
|
105
|
-
|
|
106
|
-
try:
|
|
107
|
-
file_path = self.build_file_path()
|
|
108
|
-
if file_path and self.storage.path_exists(file_path):
|
|
109
|
-
line = await read_last_line_async()
|
|
110
|
-
return OperationHistory(**json.loads(line))
|
|
111
|
-
except Exception as err:
|
|
112
|
-
if is_debug():
|
|
113
|
-
print(f'[ERROR] OperationHistoryReader.load_most_recent_history: {err}')
|
|
114
|
-
|
|
115
|
-
async def load_all_history_async(
|
|
107
|
+
def load_all_history(
|
|
116
108
|
self,
|
|
117
109
|
operation: OperationType = None,
|
|
118
110
|
resource_type: ResourceType = None,
|
|
@@ -150,7 +142,7 @@ class OperationHistoryReader:
|
|
|
150
142
|
if not self.storage.path_exists(file_path):
|
|
151
143
|
continue
|
|
152
144
|
|
|
153
|
-
text =
|
|
145
|
+
text = self.storage.read(file_path)
|
|
154
146
|
|
|
155
147
|
if text:
|
|
156
148
|
for line in text.split('\n'):
|
|
@@ -166,26 +158,13 @@ class OperationHistoryReader:
|
|
|
166
158
|
arr.append(record)
|
|
167
159
|
except json.decoder.JSONDecodeError as err:
|
|
168
160
|
if is_debug():
|
|
169
|
-
print(f'[ERROR] OperationHistoryReader.
|
|
161
|
+
print(f'[ERROR] OperationHistoryReader.load_all_history: {err}')
|
|
170
162
|
|
|
171
163
|
return arr
|
|
172
164
|
|
|
173
|
-
|
|
165
|
+
def save(self, operation_history: OperationHistory) -> None:
|
|
174
166
|
text = json.dumps(operation_history.to_dict())
|
|
175
167
|
file_path = self.build_file_path(timestamp=operation_history.timestamp)
|
|
176
168
|
self.storage.makedirs(os.path.dirname(file_path), exist_ok=True)
|
|
177
169
|
with self.storage.open_to_write(file_path, append=True) as f:
|
|
178
170
|
f.write(f'{text}\n')
|
|
179
|
-
|
|
180
|
-
async def save_async(self, operation_history: OperationHistory) -> None:
|
|
181
|
-
last_record = await self.load_most_recent_history()
|
|
182
|
-
|
|
183
|
-
if not last_record or last_record != operation_history:
|
|
184
|
-
try:
|
|
185
|
-
asyncio.get_running_loop()
|
|
186
|
-
with ThreadPoolExecutor(1) as pool:
|
|
187
|
-
pool.submit(lambda: asyncio.run(self.save(operation_history))).result()
|
|
188
|
-
except Exception as err:
|
|
189
|
-
if is_debug():
|
|
190
|
-
print(f'[ERROR] OperationHistoryReader.save_async: {err}')
|
|
191
|
-
asyncio.run(self.save(operation_history))
|