Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move WritableManifest to dbt/artifacts #9377

Merged
merged 9 commits into from
Jan 24, 2024
Prev Previous commit
Next Next commit
move Documentation to resources/v1 + set up latest aliasing
MichelleArk committed Jan 23, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 4f264e4b262c1fddc135317a167d95dae0960e55
4 changes: 3 additions & 1 deletion core/dbt/artifacts/resources/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
from dbt.artifacts.resources.base import BaseArtifactNode
from dbt.artifacts.resources.documentation import Documentation

# alias to latest resource definitions
from dbt.artifacts.resources.v1.documentation import Documentation

Unchanged files with check annotations Beta

@classmethod
def default(cls):
return cls(

Check warning on line 83 in core/dbt/artifacts/schemas/manifest.py

Codecov / codecov/patch

core/dbt/artifacts/schemas/manifest.py#L83

Added line #L83 was not covered by tests
dbt_schema_version=str(WritableManifest.dbt_schema_version),
)
from dbt_common.dataclass_schema import dbtClassMixin
from dbt.contracts.graph.nodes import ResultNode
from dbt.artifacts.schemas.results import TimingInfo, ExecutionResult
from dbt.artifacts.schemas.run import RunResult, RunResultsArtifact, RunExecutionResult
from dbt.artifacts.schemas.base import VersionedSchema, schema_version

Check warning on line 11 in core/dbt/contracts/sql.py

Codecov / codecov/patch

core/dbt/contracts/sql.py#L9-L11

Added lines #L9 - L11 were not covered by tests
from dbt.logger import LogMessage
if "all" in values:
values.remove("all")
values.update(REFABLE_NODE_TYPES)

Check warning on line 142 in core/dbt/task/clone.py

Codecov / codecov/patch

core/dbt/task/clone.py#L142

Added line #L142 was not covered by tests
values = [NodeType(val) for val in values if val in REFABLE_NODE_TYPES]