Skip to content

Commit

Permalink
remove unused stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
usefulalgorithm committed Jul 24, 2024
1 parent b3aa3ed commit 46b6779
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 71 deletions.
4 changes: 0 additions & 4 deletions metaphor/dbt/cloud/discovery_api/graphql_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
GetJobRunSourcesJobSourcesColumns,
)
from .get_job_run_tests import GetJobRunTests, GetJobRunTestsJob, GetJobRunTestsJobTests
from .get_job_tests import GetJobTests, GetJobTestsJob, GetJobTestsJobTests
from .get_macro_arguments import (
GetMacroArguments,
GetMacroArgumentsEnvironment,
Expand Down Expand Up @@ -124,9 +123,6 @@
"GetJobRunTests",
"GetJobRunTestsJob",
"GetJobRunTestsJobTests",
"GetJobTests",
"GetJobTestsJob",
"GetJobTestsJobTests",
"GetMacroArguments",
"GetMacroArgumentsEnvironment",
"GetMacroArgumentsEnvironmentDefinition",
Expand Down
25 changes: 0 additions & 25 deletions metaphor/dbt/cloud/discovery_api/graphql_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from .get_job_run_snapshots import GetJobRunSnapshots
from .get_job_run_sources import GetJobRunSources
from .get_job_run_tests import GetJobRunTests
from .get_job_tests import GetJobTests
from .get_macro_arguments import GetMacroArguments
from .input_types import MacroDefinitionFilter

Expand All @@ -22,30 +21,6 @@ def gql(q: str) -> str:


class Client(BaseClient):
def get_job_tests(self, job_id: Any, **kwargs: Any) -> GetJobTests:
query = gql(
"""
query GetJobTests($jobId: BigInt!) {
job(id: $jobId) {
tests {
uniqueId
name
status
columnName
executeCompletedAt
dependsOn
}
}
}
"""
)
variables: Dict[str, object] = {"jobId": job_id}
response = self.execute(
query=query, operation_name="GetJobTests", variables=variables, **kwargs
)
data = self.get_data(response)
return GetJobTests.model_validate(data)

def get_job_run_models(
self, job_id: Any, run_id: Any, **kwargs: Any
) -> GetJobRunModels:
Expand Down
29 changes: 0 additions & 29 deletions metaphor/dbt/cloud/discovery_api/graphql_client/get_job_tests.py

This file was deleted.

13 changes: 0 additions & 13 deletions metaphor/dbt/cloud/discovery_api/queries.graphql
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
query GetJobTests($jobId: BigInt!) {
job(id: $jobId) {
tests {
uniqueId
name
status
columnName
executeCompletedAt
dependsOn
}
}
}

query GetJobRunModels($jobId: BigInt!, $runId: BigInt!) {
job(id: $jobId, runId: $runId) {
models {
Expand Down

0 comments on commit 46b6779

Please sign in to comment.