GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing raw.githubusercontent.com — raw.githubusercontent.com

from typing import Any import httpx from gql.transport.httpx import HTTPXAsyncTransport, HTTPXTransport class GitlabTransport(HTTPXTransport): """A gql httpx transport that reuses an existing httpx.Client. By default, gql's transports do not have a keep-alive session and do not enable providing your own session that's kept open. This transport lets us provide and close our session on our own and provide additional auth. For details, see https://github.com/graphql-python/gql/issues/91. """ def __init__(self, *args: Any, client: httpx.Client, **kwargs: Any): super().__init__(*args, **kwargs) self.client = client def connect(self) -> None: pass def close(self) -> None: pass class GitlabAsyncTransport(HTTPXAsyncTransport): # pylint: disable=abstract-method """An async gql httpx transport that reuses an existing httpx.AsyncClient. By default, gql's transports do not have a keep-alive session and do not enable providing your own session that's kept open. This transport lets us provide and close our session on our own and provide additional auth. For details, see https://github.com/graphql-python/gql/issues/91. """ def __init__(self, *args: Any, client: httpx.AsyncClient, **kwargs: Any): super().__init__(*args, **kwargs) self.client = client async def connect(self) -> None: pass async def close(self) -> None: pass
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.