graphql-http 2.3.1__tar.gz → 2.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- graphql_http-2.3.2/AGENTS.md +47 -0
- graphql_http-2.3.2/CLAUDE.md +47 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/PKG-INFO +1 -1
- graphql_http-2.3.2/VERSION +1 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/graphql_http/graphiql/index.html +1 -1
- {graphql_http-2.3.1 → graphql_http-2.3.2}/graphql_http.egg-info/PKG-INFO +1 -1
- {graphql_http-2.3.1 → graphql_http-2.3.2}/graphql_http.egg-info/SOURCES.txt +2 -0
- graphql_http-2.3.1/VERSION +0 -1
- {graphql_http-2.3.1 → graphql_http-2.3.2}/.coverage +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/.github/workflows/pages.yml +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/.github/workflows/python-package.yml +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/.gitignore +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/.gitmodules +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/LICENSE +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/README.md +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/docs/.gitmodules +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/docs/content/_index.md +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/docs/content/docs/_index.md +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/docs/content/docs/api-reference.md +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/docs/content/docs/authentication.md +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/docs/content/docs/configuration.md +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/docs/content/docs/examples.md +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/docs/content/docs/getting-started.md +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/docs/content/docs/testing.md +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/docs/hugo.toml +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/docs/index.md +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/example_advanced_server.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/examples/README.md +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/examples/__init__.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/examples/advanced_server.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/examples/auth_server.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/examples/basic_server.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/examples/graphql_api_server.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/graphql_http/__init__.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/graphql_http/error.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/graphql_http/helpers.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/graphql_http/introspection.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/graphql_http/server.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/graphql_http.egg-info/dependency_links.txt +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/graphql_http.egg-info/requires.txt +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/graphql_http.egg-info/top_level.txt +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/pyproject.toml +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/setup.cfg +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/test_server.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/tests/__init__.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/tests/app.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/tests/app_federation.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/tests/conftest.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/tests/test_auth.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/tests/test_cors.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/tests/test_examples.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/tests/test_federation.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/tests/test_graphql_api.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/tests/test_introspection.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/tests/test_linting.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/tests/test_server.py +0 -0
- {graphql_http-2.3.1 → graphql_http-2.3.2}/uv.lock +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# GraphQL-HTTP
|
|
2
|
+
|
|
3
|
+
> Compatibility note: `AGENTS.md` and `CLAUDE.md` are both supported in this repo.
|
|
4
|
+
> Keep these files identical. Any change in one must be mirrored in the other.
|
|
5
|
+
|
|
6
|
+
HTTP transport layer for serving GraphQL schemas over Starlette/ASGI. Published on [PyPI](https://pypi.org/project/graphql-http/).
|
|
7
|
+
|
|
8
|
+
## Project Structure
|
|
9
|
+
|
|
10
|
+
| Directory | Description |
|
|
11
|
+
|-----------|-------------|
|
|
12
|
+
| `graphql_http/` | Main package source |
|
|
13
|
+
| `tests/` | Test suite (11 files, pytest) |
|
|
14
|
+
| `docs/` | Documentation |
|
|
15
|
+
| `examples/` | Example server implementations |
|
|
16
|
+
|
|
17
|
+
## Development
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Install dependencies
|
|
21
|
+
uv sync
|
|
22
|
+
|
|
23
|
+
# Run tests
|
|
24
|
+
uv run pytest
|
|
25
|
+
|
|
26
|
+
# Run linter
|
|
27
|
+
uv run flake8 graphql_http tests
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Key Patterns
|
|
31
|
+
|
|
32
|
+
- Primary entry: `GraphQLHTTP.from_api(api)` — auto-wires schema + context from a `graphql-api` instance
|
|
33
|
+
- Serves GraphiQL IDE, supports GET (queries only) and POST (queries + mutations)
|
|
34
|
+
- Built-in JWT auth via JWKS (`auth_enabled`, `auth_jwks_uri`, `auth_issuer`, `auth_audience`); introspection bypasses auth by default
|
|
35
|
+
- Context injection: resolvers access HTTP request via `self.context.meta["http_request"]`
|
|
36
|
+
|
|
37
|
+
## Releasing
|
|
38
|
+
|
|
39
|
+
See the ecosystem-level `CLAUDE.md` in the parent workspace for the full release process. In short:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# Ensure CI is green on main, then:
|
|
43
|
+
git tag X.Y.Z
|
|
44
|
+
git push origin X.Y.Z
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
CI publishes to PyPI and creates a GitHub Release automatically.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# GraphQL-HTTP
|
|
2
|
+
|
|
3
|
+
> Compatibility note: `AGENTS.md` and `CLAUDE.md` are both supported in this repo.
|
|
4
|
+
> Keep these files identical. Any change in one must be mirrored in the other.
|
|
5
|
+
|
|
6
|
+
HTTP transport layer for serving GraphQL schemas over Starlette/ASGI. Published on [PyPI](https://pypi.org/project/graphql-http/).
|
|
7
|
+
|
|
8
|
+
## Project Structure
|
|
9
|
+
|
|
10
|
+
| Directory | Description |
|
|
11
|
+
|-----------|-------------|
|
|
12
|
+
| `graphql_http/` | Main package source |
|
|
13
|
+
| `tests/` | Test suite (11 files, pytest) |
|
|
14
|
+
| `docs/` | Documentation |
|
|
15
|
+
| `examples/` | Example server implementations |
|
|
16
|
+
|
|
17
|
+
## Development
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Install dependencies
|
|
21
|
+
uv sync
|
|
22
|
+
|
|
23
|
+
# Run tests
|
|
24
|
+
uv run pytest
|
|
25
|
+
|
|
26
|
+
# Run linter
|
|
27
|
+
uv run flake8 graphql_http tests
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Key Patterns
|
|
31
|
+
|
|
32
|
+
- Primary entry: `GraphQLHTTP.from_api(api)` — auto-wires schema + context from a `graphql-api` instance
|
|
33
|
+
- Serves GraphiQL IDE, supports GET (queries only) and POST (queries + mutations)
|
|
34
|
+
- Built-in JWT auth via JWKS (`auth_enabled`, `auth_jwks_uri`, `auth_issuer`, `auth_audience`); introspection bypasses auth by default
|
|
35
|
+
- Context injection: resolvers access HTTP request via `self.context.meta["http_request"]`
|
|
36
|
+
|
|
37
|
+
## Releasing
|
|
38
|
+
|
|
39
|
+
See the ecosystem-level `CLAUDE.md` in the parent workspace for the full release process. In short:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# Ensure CI is green on main, then:
|
|
43
|
+
git tag X.Y.Z
|
|
44
|
+
git push origin X.Y.Z
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
CI publishes to PyPI and creates a GitHub Release automatically.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.3.2
|
|
@@ -4692,7 +4692,7 @@ ${jsonInstruction}`;
|
|
|
4692
4692
|
const requestBody = {
|
|
4693
4693
|
systemInstruction: { parts: [{ text: systemPrompt }] },
|
|
4694
4694
|
contents: contents,
|
|
4695
|
-
generationConfig: {
|
|
4695
|
+
generationConfig: {}
|
|
4696
4696
|
};
|
|
4697
4697
|
|
|
4698
4698
|
if (toolsEnabled) {
|
graphql_http-2.3.1/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.3.1
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|