Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 6 additions & 13 deletions .aida/validation_policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# AIDA validation policy
#
# This file wires domains -> pipelines -> steps (command_id + processor_id).
# Initially empty (validate may no-op until you configure routes).
version: 1
validation_policy:
codegen:
Expand All @@ -26,22 +25,16 @@ validation_policy:
pipelines:
package-fast:
steps:
- command_id: package-lint
processor_id: passthrough
- command_id: package-type-check
processor_id: passthrough
- command_id: package-test-py314
processor_id: pytest
- command_id: package-validate
processor_id: external_json
repo-fast:
steps:
- command_id: package-validate-no-tests
processor_id: external_json
api-client-fast:
steps:
- command_id: api-client-tests
processor_id: pytest
repo-fast:
steps:
- command_id: workspace-lint
processor_id: passthrough
- command_id: workspace-type-check
processor_id: passthrough
aida-config:
steps:
- command_id: aida-doctor
Expand Down
63 changes: 27 additions & 36 deletions .aida/validation_registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,36 @@ version: 1
registry:
includes: []
commands:
package-lint:
package-validate:
argv:
- make
- -C
- '{root}'
- lint
- bash
- '{workspace_root}/scripts/validate_python.sh'
- --project-path
- '{workspace_root}/{root}'
- --workspace-root
- '{workspace_root}'
- --scope
- '{scope}'
- --auto-fix
- "true"
cwd: '{workspace_root}'
package-type-check:
timeout_sec: 900
package-validate-no-tests:
argv:
- make
- -C
- '{root}'
- type-check
cwd: '{workspace_root}'
package-test-py314:
argv:
- make
- -C
- '{root}'
- test
cwd: '{workspace_root}'
env:
TEST_ENVS: py314
workspace-lint:
argv:
- make
- lint
cwd: '{workspace_root}'
workspace-type-check:
argv:
- make
- type-check
- bash
- '{workspace_root}/scripts/validate_python.sh'
- --project-path
- '{workspace_root}/{root}'
- --workspace-root
- '{workspace_root}'
- --scope
- '{scope}'
- --auto-fix
- "true"
- --steps-csv
- format,lint,types
cwd: '{workspace_root}'
timeout_sec: 600
api-client-tests:
argv:
- uv
Expand All @@ -52,10 +49,4 @@ registry:
- aida-mcp
- doctor
cwd: '{workspace_root}'
processors:
passthrough:
kind: builtin
builtin_id: passthrough
pytest:
kind: builtin
builtin_id: pytest
processors: {}
4 changes: 1 addition & 3 deletions packages/gooddata-sdk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ dependencies = [
"brotli==1.2.0",
"requests~=2.32.0",
"python-dotenv>=1.0.0,<2.0.0",
"gooddata-code-convertors",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
Expand Down Expand Up @@ -75,9 +76,6 @@ allowed-unresolved-imports = ["gooddata_api_client.**"]

[tool.hatch.build.targets.wheel]
packages = ["src/gooddata_sdk"]
include = [
"src/gooddata_sdk/cli/package.json",
]

[tool.coverage.run]
source = ["gooddata_sdk"]
Expand Down
19 changes: 19 additions & 0 deletions packages/gooddata-sdk/src/gooddata_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,25 @@
CatalogWorkspacePermissionAssignment,
)
from gooddata_sdk.catalog.validate_by_item import CatalogValidateByItem
from gooddata_sdk.catalog.workspace.aac import (
aac_attribute_hierarchy_to_declarative,
aac_dashboard_to_declarative,
aac_dataset_to_declarative,
aac_date_dataset_to_declarative,
aac_metric_to_declarative,
aac_plugin_to_declarative,
aac_visualization_to_declarative,
declarative_attribute_hierarchy_to_aac,
declarative_dashboard_to_aac,
declarative_dataset_to_aac,
declarative_date_instance_to_aac,
declarative_metric_to_aac,
declarative_plugin_to_aac,
declarative_visualization_to_aac,
detect_yaml_format,
load_aac_workspace_from_disk,
store_aac_workspace_to_disk,
)
from gooddata_sdk.catalog.workspace.content_service import CatalogWorkspaceContent, CatalogWorkspaceContentService
from gooddata_sdk.catalog.workspace.declarative_model.workspace.analytics_model.analytics_model import (
CatalogDeclarativeAnalytics,
Expand Down
Loading
Loading