Skip to content

Commit e3f14d7

Browse files
authored
Merge pull request #2 from loft-orbital/users/tcleonard/fix-ci
fix: coverall push in CI
2 parents 17bde14 + 649f1e6 commit e3f14d7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ jobs:
2727
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2828
run: |
2929
pip install coveralls
30-
coveralls
30+
coveralls --service=github

graphene_federation/entity.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ def resolve_entities(self, info, representations):
6464
}
6565
model_instance = model(**model_arguments)
6666

67-
resolver = getattr(model, "_%s__resolve_reference" % model.__name__, None) or \
68-
getattr(model, "_resolve_reference", None)
67+
resolver = getattr(
68+
model, "_%s__resolve_reference" % model.__name__, None
69+
) or getattr(model, "_resolve_reference", None)
6970
if resolver:
7071
model_instance = resolver(model_instance, info)
7172

0 commit comments

Comments
 (0)