Skip to content

Create new Auto Classification Workflow #2095

Create new Auto Classification Workflow

Create new Auto Classification Workflow #2095

Triggered via pull request November 16, 2024 10:37
@pmbrullpmbrull
synchronize #18610
Status Failure
Total duration 18m 53s
Artifacts

py-tests-postgres.yml

on: pull_request_target
Matrix: py-run-tests
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 10 warnings
py-run-tests (3.10): ingestion/src/metadata/workflow/classification.py#L33
Cannot assign to attribute "source" for class "AutoClassificationWorkflow*"   "Step" is not assignable to "Source" (reportAttributeAccessIssue)
py-run-tests (3.10): ingestion/src/metadata/workflow/classification.py#L45
Cannot assign to attribute "steps" for class "AutoClassificationWorkflow*"   "tuple[Processor, Processor, Sink]" is not assignable to "Tuple[Step]"     Tuple size mismatch; expected 1 but received 3 (reportAttributeAccessIssue)
py-run-tests (3.10): ingestion/src/metadata/workflow/classification.py#L47
Cannot assign to attribute "steps" for class "AutoClassificationWorkflow*"   "tuple[Processor, Sink]" is not assignable to "Tuple[Step]"     Tuple size mismatch; expected 1 but received 2 (reportAttributeAccessIssue)
py-run-tests (3.10): ingestion/src/metadata/workflow/classification.py#L50
Type "Step" is not assignable to return type "Processor"   "Step" is not assignable to "Processor" (reportReturnType)
py-run-tests (3.10): ingestion/src/metadata/workflow/classification.py#L53
Type "Step" is not assignable to return type "Processor"   "Step" is not assignable to "Processor" (reportReturnType)
py-run-tests (3.10)
5 errors
py-run-tests (3.10)
Process completed with exit code 2.
py-run-tests (3.10)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3, actions/checkout@v3, actions/setup-java@v3, actions/setup-python@v4, nick-fields/retry@v2.8.3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
py-run-tests (3.10): ingestion/src/metadata/workflow/classification.py#L31
Method "set_steps" is not marked as override but is overriding a method in class "ProfilerWorkflow" (reportImplicitOverride)
py-run-tests (3.10): ingestion/src/metadata/workflow/classification.py#L33
Type annotation for attribute `source` is required because this class is not decorated with `@final` (reportUnannotatedClassAttribute)
py-run-tests (3.10): ingestion/src/metadata/workflow/classification.py#L33
Type of "create" is partially unknown   Type of "create" is "(config_dict: dict[Unknown, Unknown], metadata: OpenMetadata[Unknown, Unknown], pipeline_name: str | None = None) -> Step" (reportUnknownMemberType)
py-run-tests (3.10): ingestion/src/metadata/workflow/classification.py#L33
Type of "metadata" is partially unknown   Type of "metadata" is "OpenMetadata[Unknown, Unknown]" (reportUnknownMemberType)
py-run-tests (3.10): ingestion/src/metadata/workflow/classification.py#L45
Type annotation for attribute `steps` is required because this class is not decorated with `@final` (reportUnannotatedClassAttribute)
py-run-tests (3.10): ingestion/src/metadata/workflow/classification.py#L50
Type of "create" is partially unknown   Type of "create" is "(config_dict: dict[Unknown, Unknown], metadata: OpenMetadata[Unknown, Unknown], pipeline_name: str | None = None) -> Step" (reportUnknownMemberType)
py-run-tests (3.10): ingestion/src/metadata/workflow/classification.py#L50
Type of "metadata" is partially unknown   Type of "metadata" is "OpenMetadata[Unknown, Unknown]" (reportUnknownMemberType)
py-run-tests (3.10): ingestion/src/metadata/workflow/classification.py#L53
Type of "create" is partially unknown   Type of "create" is "(config_dict: dict[Unknown, Unknown], metadata: OpenMetadata[Unknown, Unknown], pipeline_name: str | None = None) -> Step" (reportUnknownMemberType)
py-run-tests (3.10): ingestion/src/metadata/workflow/classification.py#L53
Type of "metadata" is partially unknown   Type of "metadata" is "OpenMetadata[Unknown, Unknown]" (reportUnknownMemberType)