Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/zepben/eas/lib/generated_graphql_client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 2026 Zeppelin Bend Pty Ltd
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

from .async_base_client import AsyncBaseClient
from .base_model import BaseModel, Upload
from .client import Client
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 2026 Zeppelin Bend Pty Ltd
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

import asyncio
import enum
import json
Expand Down Expand Up @@ -197,4 +203,4 @@ async def _handle_ws_message(self, message: Data, websocket: ClientConnection, e
raise GraphQLClientGraphQLMultiError.from_errors_dicts(errors_dicts=payload, data=message_dict)
elif type_ == GraphQLTransportWSMessageType.CONNECTION_ACK:
return {'connection_ack': True}
return None
return None
8 changes: 7 additions & 1 deletion src/zepben/eas/lib/generated_graphql_client/base_model.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 2026 Zeppelin Bend Pty Ltd
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

from io import IOBase
from pydantic import BaseModel as PydanticBaseModel
from pydantic import ConfigDict
Expand All @@ -16,4 +22,4 @@ class Upload:
def __init__(self, filename: str, content: IOBase, content_type: str):
self.filename = filename
self.content = content
self.content_type = content_type
self.content_type = content_type
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 2026 Zeppelin Bend Pty Ltd
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

from typing import Any, Optional, Union
from graphql import ArgumentNode, FieldNode, InlineFragmentNode, NamedTypeNode, NameNode, SelectionSetNode, VariableNode

Expand Down Expand Up @@ -109,4 +115,4 @@ def all_fields(cls) -> 'Generator[GraphQLField | MethodType, None, None]':
if isinstance(v, GraphQLField):
yield v
elif inspect.ismethod(v):
yield v().fields(*v().all_fields())
yield v().fields(*v().all_fields())
6 changes: 6 additions & 0 deletions src/zepben/eas/lib/generated_graphql_client/client.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 2026 Zeppelin Bend Pty Ltd
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

from typing import Any

from graphql import (
Expand Down
6 changes: 6 additions & 0 deletions src/zepben/eas/lib/generated_graphql_client/custom_fields.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 2026 Zeppelin Bend Pty Ltd
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

from typing import Any, Optional, Union

from .base_operation import GraphQLField
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 2026 Zeppelin Bend Pty Ltd
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

from typing import Any, Optional

from .custom_fields import (
Expand Down
6 changes: 6 additions & 0 deletions src/zepben/eas/lib/generated_graphql_client/custom_queries.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 2026 Zeppelin Bend Pty Ltd
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

from typing import Any, Optional

from .custom_fields import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 2026 Zeppelin Bend Pty Ltd
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

from .base_operation import GraphQLField


Expand Down
6 changes: 6 additions & 0 deletions src/zepben/eas/lib/generated_graphql_client/enums.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 2026 Zeppelin Bend Pty Ltd
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

from enum import Enum


Expand Down
8 changes: 7 additions & 1 deletion src/zepben/eas/lib/generated_graphql_client/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 2026 Zeppelin Bend Pty Ltd
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

from typing import Any, Optional, Union
import httpx

Expand Down Expand Up @@ -56,4 +62,4 @@ def __init__(self, message: Union[str, bytes]) -> None:
self.message = message

def __str__(self) -> str:
return 'Invalid message format.'
return 'Invalid message format.'
6 changes: 6 additions & 0 deletions src/zepben/eas/lib/generated_graphql_client/input_types.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Copyright 2026 Zeppelin Bend Pty Ltd
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

from typing import Any, Optional

from pydantic import Field
Expand Down
Loading