-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed fragments on interfaces being omitted from generated client.
- Loading branch information
1 parent
45b4a20
commit 05353b7
Showing
15 changed files
with
693 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
tests/main/clients/interface_as_fragment/expected_client/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
from .async_base_client import AsyncBaseClient | ||
from .base_model import BaseModel, Upload | ||
from .client import Client | ||
from .exceptions import ( | ||
GraphQLClientError, | ||
GraphQLClientGraphQLError, | ||
GraphQLClientGraphQLMultiError, | ||
GraphQLClientHttpError, | ||
GraphQLClientInvalidResponseError, | ||
) | ||
from .fragments import Item, ItemError | ||
from .my_mutation import ( | ||
MyMutation, | ||
MyMutationChangeItem, | ||
MyMutationChangeItemContacts, | ||
MyMutationChangeItemErrorsItemServiceInternalError, | ||
) | ||
|
||
__all__ = [ | ||
"AsyncBaseClient", | ||
"BaseModel", | ||
"Client", | ||
"GraphQLClientError", | ||
"GraphQLClientGraphQLError", | ||
"GraphQLClientGraphQLMultiError", | ||
"GraphQLClientHttpError", | ||
"GraphQLClientInvalidResponseError", | ||
"Item", | ||
"ItemError", | ||
"MyMutation", | ||
"MyMutationChangeItem", | ||
"MyMutationChangeItemContacts", | ||
"MyMutationChangeItemErrorsItemServiceInternalError", | ||
"Upload", | ||
] |
Oops, something went wrong.