Skip to content

Commit

Permalink
remove old DiffSummary graphql query
Browse files Browse the repository at this point in the history
  • Loading branch information
ajtmccarty committed Nov 8, 2024
1 parent c05e713 commit 1944d75
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 159 deletions.
11 changes: 1 addition & 10 deletions backend/infrahub/graphql/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@
from .mutations.resource_manager import (
InfrahubNumberPoolMutation,
)
from .queries.diff.diff import (
DiffSummaryElementAttribute,
DiffSummaryElementRelationshipMany,
DiffSummaryElementRelationshipOne,
)
from .resolver import (
account_resolver,
ancestors_resolver,
Expand Down Expand Up @@ -107,11 +102,7 @@ class BranchDetails:


class GraphQLSchemaManager: # pylint: disable=too-many-public-methods
_extra_types: dict[str, GraphQLTypes] = {
"DiffSummaryElementAttribute": DiffSummaryElementAttribute,
"DiffSummaryElementRelationshipOne": DiffSummaryElementRelationshipOne,
"DiffSummaryElementRelationshipMany": DiffSummaryElementRelationshipMany,
}
_extra_types: dict[str, GraphQLTypes] = {}
_branch_details_by_name: dict[str, BranchDetails] = {}

@classmethod
Expand Down
2 changes: 0 additions & 2 deletions backend/infrahub/graphql/queries/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from .account import AccountPermissions, AccountToken
from .branch import BranchQueryList
from .diff.diff import DiffSummary
from .internal import InfrahubInfo
from .ipam import InfrahubIPAddressGetNextAvailable, InfrahubIPPrefixGetNextAvailable
from .relationship import Relationship
Expand All @@ -13,7 +12,6 @@
"AccountPermissions",
"AccountToken",
"BranchQueryList",
"DiffSummary",
"InfrahubIPAddressGetNextAvailable",
"InfrahubIPPrefixGetNextAvailable",
"InfrahubInfo",
Expand Down
145 changes: 0 additions & 145 deletions backend/infrahub/graphql/queries/diff/diff.py

This file was deleted.

2 changes: 0 additions & 2 deletions backend/infrahub/graphql/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
AccountPermissions,
AccountToken,
BranchQueryList,
DiffSummary,
InfrahubInfo,
InfrahubIPAddressGetNextAvailable,
InfrahubIPPrefixGetNextAvailable,
Expand All @@ -63,7 +62,6 @@ class InfrahubBaseQuery(ObjectType):

DiffTree = DiffTreeQuery
DiffTreeSummary = DiffTreeSummaryQuery
DiffSummary = DiffSummary

Relationship = Relationship

Expand Down

0 comments on commit 1944d75

Please sign in to comment.