text: #!/usr/bin/env python3
  # @generated AUTOGENERATED file. Do not Change!
  
  from dataclasses import dataclass
  from datetime import datetime
  from gql.gql.datetime_utils import DATETIME_FIELD
  from gql.gql.graphql_client import GraphqlClient
  from gql.gql.client import OperationException
  from gql.gql.reporter import FailedOperationException
  from functools import partial
  from numbers import Number
  from typing import Any, Callable, List, Mapping, Optional
  from time import perf_counter
  from dataclasses_json import DataClassJsonMixin
  
  from ..fragment.user import UserFragment, QUERY as UserFragmentQuery
  
  QUERY: List[str] = UserFragmentQuery + ["""
  query UserQuery($authID: String!) {
    user(authID: $authID) {
      ...UserFragment
    }
  }
  
  """]
  
  @dataclass
  class UserQuery(DataClassJsonMixin):
      @dataclass
      class UserQueryData(DataClassJsonMixin):
          @dataclass
          class User(UserFragment):
              pass
  
          user: Optional[User]
  
      data: UserQueryData
  
      @classmethod
      # fmt: off
      def execute(cls, client: GraphqlClient, authID: str) -> Optional[UserQueryData.User]:
          # fmt: off
          variables = {"authID": authID}
          try:
              network_start = perf_counter()
              response_text = client.call(''.join(set(QUERY)), variables=variables)
              decode_start = perf_counter()
              res = cls.from_json(response_text).data
              decode_time = perf_counter() - decode_start
              network_time = decode_start - network_start
              client.reporter.log_successful_operation("UserQuery", variables, network_time, decode_time)
              return res.user
          except OperationException as e:
              raise FailedOperationException(
                  client.reporter,
                  e.err_msg,
                  e.err_id,
                  "UserQuery",
                  variables,
              )
  