We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c02d9e commit 9739b82Copy full SHA for 9739b82
.github/workflows/tests.yaml
@@ -10,10 +10,7 @@ jobs:
10
- uses: actions/setup-python@v4
11
with:
12
python-version: "3.10"
13
- - name: pre-commit
14
- run: |
15
- python -m pip install pre-commit
16
- pre-commit run --show-diff-on-failure --all-files
+ - uses: pre-commit/action@v3.0.0
17
tests:
18
name: pytest
19
runs-on: ubuntu-latest
graphene_pydantic/converters.py
@@ -137,7 +137,7 @@ def convert_pydantic_field(
137
field_type = field_kwargs.pop("type", field_kwargs.pop("type_", None))
138
if field_type is None:
139
raise ValueError("No field type could be determined.")
140
-
+
141
resolver_function = getattr(parent_type,
142
"resolve_" + field.name,
143
None)
0 commit comments